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 = nick-KGP-M-E-D16 uname -m = x86_64 uname -r = 3.16.0-45-generic uname -s = Linux uname -v = #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2983: checking whether to enable maintainer-specific portions of Makefiles configure:2992: result: no configure:3007: checking whether to enable debug build options configure:3026: result: no configure:3030: checking whether to enable compiler optimizer configure:3051: result: (assumed) yes configure:3063: checking whether to enable strict compiler warnings configure:3082: result: no configure:3086: checking whether to enable compiler warnings as errors configure:3105: result: no configure:3109: checking whether to enable curl debug memory tracking configure:3128: result: no configure:3142: checking whether to enable hiding of library internal symbols configure:3163: result: yes configure:3174: checking whether to enable c-ares for DNS lookups configure:3196: result: no configure:3218: checking for path separator configure:3220: result: : configure:3246: checking for sed configure:3265: found /bin/sed configure:3278: result: /bin/sed configure:3295: checking for grep configure:3314: found /bin/grep configure:3327: result: /bin/grep configure:3343: checking for egrep configure:3346: result: /bin/grep -E configure:3446: checking for ar configure:3465: found /usr/bin/ar configure:3477: result: /usr/bin/ar configure:3729: checking for a BSD-compatible install configure:3797: result: /usr/bin/install -c configure:3859: checking for gcc configure:3875: found /usr/bin/gcc configure:3886: result: gcc configure:4115: checking for C compiler version configure:4124: gcc --version >&5 gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 Copyright (C) 2013 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:4135: $? = 0 configure:4124: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) configure:4135: $? = 0 configure:4124: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4135: $? = 4 configure:4124: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4135: $? = 4 configure:4154: checking whether the C compiler works configure:4176: gcc conftest.c >&5 configure:4180: $? = 0 configure:4228: result: yes configure:4231: checking for C compiler default output file name configure:4233: result: a.out configure:4239: checking for suffix of executables configure:4246: gcc -o conftest conftest.c >&5 configure:4250: $? = 0 configure:4272: result: configure:4293: checking whether we are cross compiling configure:4301: gcc -o conftest conftest.c >&5 configure:4305: $? = 0 configure:4312: ./conftest configure:4316: $? = 0 configure:4331: result: no configure:4336: checking for suffix of object files configure:4357: gcc -c conftest.c >&5 configure:4361: $? = 0 configure:4382: result: o configure:4386: checking whether we are using the GNU C compiler configure:4404: gcc -c conftest.c >&5 configure:4404: $? = 0 configure:4413: result: yes configure:4422: checking whether gcc accepts -g configure:4441: gcc -c -g conftest.c >&5 configure:4441: $? = 0 configure:4480: result: yes configure:4497: checking for gcc option to accept ISO C89 configure:4559: gcc -c -g -O2 conftest.c >&5 configure:4559: $? = 0 configure:4572: result: none needed configure:4597: checking whether gcc understands -c and -o together configure:4618: gcc -c conftest.c -o conftest2.o configure:4621: $? = 0 configure:4618: gcc -c conftest.c -o conftest2.o configure:4621: $? = 0 configure:4633: result: yes configure:4656: checking how to run the C preprocessor configure:4687: gcc -E conftest.c configure:4687: $? = 0 configure:4701: gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4701: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4726: result: gcc -E configure:4746: gcc -E conftest.c configure:4746: $? = 0 configure:4760: gcc -E conftest.c conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #include configure:4801: checking whether build environment is sane configure:4856: result: yes configure:4997: checking for a thread-safe mkdir -p configure:5036: result: /bin/mkdir -p configure:5043: checking for gawk configure:5059: found /usr/bin/gawk configure:5070: result: gawk configure:5081: checking whether make sets $(MAKE) configure:5103: result: yes configure:5133: checking for style of include used by make configure:5161: result: GNU configure:5195: checking whether make supports nested variables configure:5212: result: yes configure:5301: checking dependency style of gcc configure:5412: result: gcc3 configure:5474: checking curl version configure:5476: result: 7.35.0 configure:5520: checking build system type configure:5534: result: x86_64-unknown-linux-gnu configure:5554: checking host system type configure:5567: result: x86_64-unknown-linux-gnu configure:5616: checking for sys/types.h configure:5616: gcc -c conftest.c >&5 configure:5616: $? = 0 configure:5616: result: yes configure:5616: checking for stdint.h configure:5616: gcc -c conftest.c >&5 configure:5616: $? = 0 configure:5616: result: yes configure:5616: checking for inttypes.h configure:5616: gcc -c conftest.c >&5 configure:5616: $? = 0 configure:5616: result: yes configure:5629: checking for grep that handles long lines and -e configure:5687: result: /bin/grep configure:5692: checking for egrep configure:5754: result: /bin/grep -E configure:5759: checking for ANSI C header files configure:5778: gcc -c conftest.c >&5 configure:5778: $? = 0 configure:5851: gcc -o conftest conftest.c >&5 configure:5851: $? = 0 configure:5851: ./conftest configure:5851: $? = 0 configure:5862: result: yes configure:5875: checking for sys/types.h configure:5875: result: yes configure:5875: checking for sys/stat.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5875: checking for stdlib.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5875: checking for string.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5875: checking for memory.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5875: checking for strings.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5875: checking for inttypes.h configure:5875: result: yes configure:5875: checking for stdint.h configure:5875: result: yes configure:5875: checking for unistd.h configure:5875: gcc -c conftest.c >&5 configure:5875: $? = 0 configure:5875: result: yes configure:5898: checking size of long configure:5903: gcc -o conftest conftest.c >&5 configure:5903: $? = 0 configure:5903: ./conftest configure:5903: $? = 0 configure:5917: result: 8 configure:5931: checking size of void* configure:5936: gcc -o conftest conftest.c >&5 configure:5936: $? = 0 configure:5936: ./conftest configure:5936: $? = 0 configure:5950: result: 8 configure:5992: checking for 64-bit curl_off_t data type configure:6042: gcc -c conftest.c >&5 configure:6042: $? = 0 configure:6104: result: long configure:6339: checking size of curl_off_t configure:6341: result: 8 configure:6344: checking formatting string directive for curl_off_t configure:6384: result: "ld" configure:6387: checking formatting string directive for unsigned curl_off_t configure:6389: result: "lu" configure:6393: checking constant suffix string for curl_off_t configure:6460: gcc -c conftest.c >&5 configure:6460: $? = 0 configure:6474: result: L configure:6476: checking constant suffix string for unsigned curl_off_t configure:6478: result: UL configure:6548: checking if OS is AIX (to define _ALL_SOURCE) configure:6568: result: no configure:6578: checking if _THREAD_SAFE is already defined configure:6599: 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:6599: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_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:6607: result: no configure:6615: checking if _THREAD_SAFE is actually needed configure:6634: result: no configure:6639: checking if _THREAD_SAFE is onwards defined configure:6656: result: no configure:6663: checking if _REENTRANT is already defined configure:6684: 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:6684: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_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:6692: result: no configure:6700: checking if _REENTRANT is actually needed configure:6731: gcc -c conftest.c >&5 configure:6731: $? = 0 configure:6762: gcc -c conftest.c >&5 configure:6762: $? = 0 configure:6833: gcc -o conftest conftest.c >&5 configure:6833: $? = 0 configure:6912: gcc -o conftest conftest.c >&5 configure:6912: $? = 0 configure:6991: gcc -o conftest conftest.c >&5 configure:6991: $? = 0 configure:7070: gcc -o conftest conftest.c >&5 configure:7070: $? = 0 configure:7149: gcc -o conftest conftest.c >&5 /tmp/ccpwFASb.o: In function `main': conftest.c:(.text+0xa): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:7149: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_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:7232: gcc -o conftest conftest.c >&5 configure:7232: $? = 0 configure:7311: gcc -o conftest conftest.c >&5 configure:7311: $? = 0 configure:7390: gcc -o conftest conftest.c >&5 configure:7390: $? = 0 configure:7469: gcc -o conftest conftest.c >&5 configure:7469: $? = 0 configure:7525: result: no configure:7530: checking if _REENTRANT is onwards defined configure:7547: result: no configure:7560: checking for special C compiler options needed for large files configure:7604: result: no configure:7610: checking for _FILE_OFFSET_BITS value needed for large files configure:7634: gcc -c conftest.c >&5 configure:7634: $? = 0 configure:7665: result: no configure:7795: checking how to print strings configure:7822: result: printf configure:7843: checking for a sed that does not truncate output configure:7907: result: /bin/sed configure:7925: checking for fgrep configure:7987: result: /bin/grep -F configure:8022: checking for ld used by gcc configure:8089: result: /usr/bin/ld configure:8096: checking if the linker (/usr/bin/ld) is GNU ld configure:8111: result: yes configure:8123: checking for BSD- or MS-compatible name lister (nm) configure:8172: result: /usr/bin/nm -B configure:8302: checking the name lister (/usr/bin/nm -B) interface configure:8309: gcc -c conftest.c >&5 configure:8312: /usr/bin/nm -B "conftest.o" configure:8315: output 0000000000000000 B some_variable configure:8322: result: BSD nm configure:8325: checking whether ln -s works configure:8329: result: yes configure:8337: checking the maximum length of command line arguments configure:8468: result: 1572864 configure:8485: checking whether the shell understands some XSI constructs configure:8495: result: yes configure:8499: checking whether the shell understands "+=" configure:8505: result: yes configure:8540: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:8580: result: func_convert_file_noop configure:8587: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:8607: result: func_convert_file_noop configure:8614: checking for /usr/bin/ld option to reload object files configure:8621: result: -r configure:8695: checking for objdump configure:8711: found /usr/bin/objdump configure:8722: result: objdump configure:8751: checking how to recognize dependent libraries configure:8949: result: pass_all configure:9034: checking for dlltool configure:9064: result: no configure:9091: checking how to associate runtime and link libraries configure:9118: result: printf %s\n configure:9242: checking for archiver @FILE support configure:9258: gcc -c conftest.c >&5 configure:9258: $? = 0 configure:9261: /usr/bin/ar cru libconftest.a @conftest.lst >&5 configure:9264: $? = 0 configure:9269: /usr/bin/ar cru libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:9272: $? = 1 configure:9284: result: @ configure:9342: checking for strip configure:9358: found /usr/bin/strip configure:9369: result: strip configure:9441: checking for ranlib configure:9457: found /usr/bin/ranlib configure:9468: result: ranlib configure:9570: checking command to parse /usr/bin/nm -B output from gcc object configure:9690: gcc -c conftest.c >&5 configure:9693: $? = 0 configure:9697: /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:9700: $? = 0 configure:9766: gcc -o conftest conftest.c conftstm.o >&5 configure:9769: $? = 0 configure:9807: result: ok configure:9844: checking for sysroot configure:9874: result: no configure:9951: gcc -c conftest.c >&5 configure:9954: $? = 0 configure:10142: checking for mt configure:10158: found /bin/mt configure:10169: result: mt configure:10192: checking if mt is a manifest tool configure:10198: mt '-?' configure:10206: result: no configure:10844: checking for dlfcn.h configure:10844: gcc -c conftest.c >&5 configure:10844: $? = 0 configure:10844: result: yes configure:11455: checking for objdir configure:11470: result: .libs configure:11741: checking if gcc supports -fno-rtti -fno-exceptions configure:11759: 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 [enabled by default] configure:11763: $? = 0 configure:11776: result: no configure:12103: checking for gcc option to produce PIC configure:12110: result: -fPIC -DPIC configure:12118: checking if gcc PIC flag -fPIC -DPIC works configure:12136: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 configure:12140: $? = 0 configure:12153: result: yes configure:12182: checking if gcc static flag -static works configure:12210: result: yes configure:12225: checking if gcc supports -c -o file.o configure:12246: gcc -c -o out/conftest2.o conftest.c >&5 configure:12250: $? = 0 configure:12272: result: yes configure:12280: checking if gcc supports -c -o file.o configure:12327: result: yes configure:12360: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:13515: result: yes configure:13552: checking whether -lc should be explicitly linked in configure:13560: gcc -c conftest.c >&5 configure:13563: $? = 0 configure:13578: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:13581: $? = 0 configure:13595: result: no configure:13755: checking dynamic linker characteristics configure:14254: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5 configure:14254: $? = 0 configure:14488: result: GNU/Linux ld.so configure:14595: checking how to hardcode library paths into programs configure:14620: result: immediate configure:15145: checking whether stripping libraries is possible configure:15150: result: yes configure:15185: checking if libtool supports shared libraries configure:15187: result: yes configure:15190: checking whether to build shared libraries configure:15211: result: yes configure:15214: checking whether to build static libraries configure:15218: result: yes configure:15289: checking whether to build shared libraries with -version-info configure:15300: result: yes configure:15307: checking whether to build shared libraries with -no-undefined configure:15320: result: no configure:15327: checking whether to build shared libraries with -mimpure-text configure:15337: result: no configure:15364: checking whether to build shared libraries with PIC configure:15366: result: yes configure:15368: checking whether to build static libraries with PIC configure:15370: result: yes configure:15377: checking whether to build shared libraries only configure:15385: result: no configure:15392: checking whether to build static libraries only configure:15400: result: no configure:15490: checking for inline configure:15506: gcc -c conftest.c >&5 configure:15506: $? = 0 configure:15514: result: inline configure:15549: checking if compiler is DEC/Compaq/HP C configure:15570: gcc -E conftest.c configure:15570: $? = 0 configure:15610: gcc -E conftest.c configure:15610: $? = 0 configure:15642: result: no configure:15647: checking if compiler is HP-UX C configure:15668: gcc -E conftest.c configure:15668: $? = 0 configure:15700: result: no configure:15705: checking if compiler is IBM C configure:15726: gcc -E conftest.c configure:15726: $? = 0 configure:15765: result: no configure:15770: checking if compiler is Intel C configure:15791: gcc -E conftest.c configure:15791: $? = 0 configure:15880: result: no configure:15885: checking if compiler is clang configure:15906: gcc -E conftest.c configure:15906: $? = 0 configure:15948: result: no configure:15953: checking if compiler is GNU C configure:15974: gcc -E conftest.c configure:15974: $? = 0 configure:15997: result: yes configure:16035: gcc -E conftest.c configure:16035: $? = 0 configure:16062: checking if compiler is LCC configure:16083: gcc -E conftest.c configure:16083: $? = 0 configure:16114: result: no configure:16119: checking if compiler is SGI MIPSpro C configure:16140: gcc -E conftest.c configure:16140: $? = 0 configure:16180: gcc -E conftest.c configure:16180: $? = 0 configure:16220: gcc -E conftest.c configure:16220: $? = 0 configure:16253: result: no configure:16258: checking if compiler is SGI MIPS C configure:16279: gcc -E conftest.c configure:16279: $? = 0 configure:16319: gcc -E conftest.c configure:16319: $? = 0 configure:16352: result: no configure:16357: checking if compiler is SunPro C configure:16378: gcc -E conftest.c configure:16378: $? = 0 configure:16410: result: no configure:16415: checking if compiler is Tiny C configure:16436: gcc -E conftest.c configure:16436: $? = 0 configure:16467: result: no configure:16472: checking if compiler is Watcom C configure:16493: gcc -E conftest.c configure:16493: $? = 0 configure:16573: result: no configure:16927: checking if compiler accepts debug disabling options configure:16959: gcc -c unknown conftest.c >&5 gcc: error: unknown: No such file or directory configure:16959: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 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) | { | | int i = 1; | return i; | | ; | return 0; | } | configure:17057: result: no configure:17059: WARNING: compiler options rejected: unknown configure:17084: checking if compiler optimizer assumed setting might be used configure:17122: result: yes configure:17168: checking if compiler accepts optimizer enabling options configure:17204: gcc -c -O2 conftest.c >&5 configure:17204: $? = 0 configure:17234: gcc -o conftest -O2 conftest.c >&5 configure:17234: $? = 0 configure:17276: gcc -o conftest -O2 conftest.c >&5 configure:17276: $? = 0 configure:17276: ./conftest configure:17276: $? = 0 configure:17295: result: yes configure:17297: compiler options added: -O2 configure:17550: checking if compiler accepts strict warning options configure:17574: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:17574: $? = 0 configure:17604: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:17604: $? = 0 configure:17646: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:17646: $? = 0 configure:17646: ./conftest configure:17646: $? = 0 configure:17665: result: yes configure:17667: compiler options added: -Wno-system-headers configure:17697: checking if compiler halts on compilation errors configure:17714: gcc -c -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:17714: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 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:17722: result: yes configure:17729: checking if compiler halts on negative sized arrays configure:17747: gcc -c -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:17747: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 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:17755: result: yes configure:17762: checking if compiler halts on function prototype mismatch configure:17791: gcc -c -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:0: /usr/include/stdlib.h:374: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:0: /usr/include/stdlib.h:374:12: note: previous declaration of 'rand' was here extern int rand (void) __THROW; ^ configure:17791: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 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:17799: result: yes configure:17806: checking if compiler supports hiding library internal symbols configure:17900: gcc -c -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5 configure:17900: $? = 0 configure:17923: result: yes configure:18036: checking for windows.h configure:18066: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:42:21: fatal error: windows.h: No such file or directory #include ^ compilation terminated. configure:18066: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 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:18078: result: no configure:18096: checking whether build target is a native Windows one configure:18138: result: no configure:18450: checking whether build target supports WIN32 file API configure:18531: result: no configure:18537: checking whether to support http configure:18563: result: yes configure:18568: checking whether to support ftp configure:18587: result: yes configure:18592: checking whether to support file configure:18611: result: yes configure:18616: checking whether to support ldap configure:18637: result: yes configure:18642: checking whether to support ldaps configure:18686: result: yes configure:18698: checking whether to support rtsp configure:18723: result: yes configure:18734: checking whether to support proxies configure:18753: result: yes configure:18759: checking whether to support dict configure:18778: result: yes configure:18783: checking whether to support telnet configure:18802: result: yes configure:18807: checking whether to support tftp configure:18826: result: yes configure:18832: checking whether to support pop3 configure:18851: result: yes configure:18858: checking whether to support imap configure:18877: result: yes configure:18884: checking whether to support smtp configure:18903: result: yes configure:18909: checking whether to support gopher configure:18928: result: yes configure:18936: checking whether to provide built-in manual configure:18951: result: yes configure:18958: checking whether to enable generation of C code configure:18976: result: yes configure:18983: checking whether to use libgcc configure:18998: result: no configure:19005: checking if X/Open network library is required configure:19025: gcc -c -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:19025: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_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:19032: result: no configure:19036: checking for gethostbyname configure:19036: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:19036: $? = 0 configure:19036: result: yes configure:19444: checking for strcasecmp configure:19444: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 conftest.c:48:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] char strcasecmp (); ^ configure:19444: $? = 0 configure:19444: result: yes configure:19552: checking for windows.h configure:19594: result: no configure:19612: checking for winsock.h configure:19655: result: no configure:19668: checking for winsock2.h configure:19711: result: no configure:19725: checking for connect in libraries configure:19752: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:19752: $? = 0 configure:19770: result: yes configure:19783: checking whether time.h and sys/time.h may both be included configure:19802: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:19802: $? = 0 configure:19809: result: yes configure:19821: checking for sys/types.h configure:19821: result: yes configure:19821: checking sys/time.h usability configure:19821: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:19821: $? = 0 configure:19821: result: yes configure:19821: checking sys/time.h presence configure:19821: gcc -E conftest.c configure:19821: $? = 0 configure:19821: result: yes configure:19821: checking for sys/time.h configure:19821: result: yes configure:19821: checking time.h usability configure:19821: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:19821: $? = 0 configure:19821: result: yes configure:19821: checking time.h presence configure:19821: gcc -E conftest.c configure:19821: $? = 0 configure:19821: result: yes configure:19821: checking for time.h configure:19821: result: yes configure:19831: checking for monotonic clock_gettime configure:19862: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:19862: $? = 0 configure:19864: result: yes configure:19881: checking for clock_gettime in libraries configure:19923: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:19923: $? = 0 configure:19944: result: no additional lib required configure:19962: checking if monotonic clock_gettime works configure:20005: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5 configure:20005: $? = 0 configure:20005: ./conftest configure:20005: $? = 0 configure:20007: result: yes configure:20065: checking for inflateEnd in -lz configure:20087: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5 configure:20087: $? = 0 configure:20096: result: yes configure:20113: checking zlib.h usability configure:20113: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:20113: $? = 0 configure:20113: result: yes configure:20113: checking zlib.h presence configure:20113: gcc -E conftest.c configure:20113: $? = 0 configure:20113: result: yes configure:20113: checking for zlib.h configure:20113: result: yes configure:20201: found both libz and libz.h header configure:20237: checking for lber.h configure:20275: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:20275: $? = 0 configure:20287: result: yes configure:20331: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:20331: $? = 0 configure:20354: checking for ldap.h configure:20394: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:20394: $? = 0 configure:20406: result: yes configure:20419: checking for ldapssl.h configure:20465: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:71:21: fatal error: ldapssl.h: No such file or directory #include ^ compilation terminated. configure:20465: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 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:20477: result: no configure:20490: checking for ldap_ssl.h configure:20532: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:68:22: fatal error: ldap_ssl.h: No such file or directory #include ^ compilation terminated. configure:20532: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 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:20544: result: no configure:20626: checking for LDAP libraries configure:20690: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccShwsqo.o: In function `main': conftest.c:(.text.startup+0x4): undefined reference to `ber_init' conftest.c:(.text.startup+0x16): undefined reference to `ldap_init' conftest.c:(.text.startup+0x1e): undefined reference to `ldap_unbind' conftest.c:(.text.startup+0x2b): undefined reference to `ber_free' collect2: error: ld returned 1 exit status configure:20690: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 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:20690: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5 /tmp/ccCu3mOz.o: In function `main': conftest.c:(.text.startup+0x4): undefined reference to `ber_init' conftest.c:(.text.startup+0x16): undefined reference to `ldap_init' conftest.c:(.text.startup+0x1e): undefined reference to `ldap_unbind' conftest.c:(.text.startup+0x2b): undefined reference to `ber_free' collect2: error: ld returned 1 exit status configure:20690: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 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:20690: gcc -o conftest -O2 -Wno-system-headers conftest.c -lldap -lz >&5 /usr/bin/ld: /tmp/ccKB35tG.o: undefined reference to symbol 'ber_init@@OPENLDAP_2.4_2' //usr/lib/x86_64-linux-gnu/liblber-2.4.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status configure:20690: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 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:20690: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 configure:20690: $? = 0 configure:20717: result: -llber -lldap configure:20812: checking for ldap_url_parse configure:20812: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 configure:20812: $? = 0 configure:20812: result: yes configure:20812: checking for ldap_init_fd configure:20812: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 configure:20812: $? = 0 configure:20812: result: yes configure:20844: checking whether to enable ipv6 configure:20881: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 configure:20881: $? = 0 configure:20881: ./conftest configure:20881: $? = 0 configure:20882: result: yes configure:20903: checking if struct sockaddr_in6 has sin6_scope_id member configure:20917: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:20917: $? = 0 configure:20922: result: yes configure:20934: checking if argv can be written to configure:20952: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5 configure:20952: $? = 0 configure:20952: ./conftest configure:20952: $? = 0 configure:20970: result: yes configure:20998: checking if SPNEGO support is requested configure:21021: result: no configure:21062: checking if GSSAPI support is requested configure:21191: result: no configure:21252: checking whether to enable Windows native SSL/TLS (Windows native builds only) configure:21274: result: no configure:21290: checking whether to enable iOS/Mac OS X native SSL/TLS configure:21306: result: no configure:21416: checking for pkg-config configure:21435: found /usr/bin/pkg-config configure:21447: result: /usr/bin/pkg-config configure:21471: checking for openssl options with pkg-config configure:21485: result: found configure:21513: pkg-config: SSL_LIBS: "-lssl -lcrypto " configure:21515: pkg-config: SSL_LDFLAGS: " " configure:21517: pkg-config: SSL_CPPFLAGS: " " configure:21560: checking for CRYPTO_lock in -lcrypto configure:21582: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21582: $? = 0 configure:21591: result: yes configure:21654: checking for SSL_connect in -lssl configure:21676: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21676: $? = 0 configure:21685: result: yes configure:21759: checking openssl/x509.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/x509.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/x509.h configure:21759: result: yes configure:21759: checking openssl/rsa.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/rsa.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/rsa.h configure:21759: result: yes configure:21759: checking openssl/crypto.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/crypto.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/crypto.h configure:21759: result: yes configure:21759: checking openssl/pem.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/pem.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/pem.h configure:21759: result: yes configure:21759: checking openssl/ssl.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/ssl.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/ssl.h configure:21759: result: yes configure:21759: checking openssl/err.h usability configure:21759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking openssl/err.h presence configure:21759: gcc -E conftest.c configure:21759: $? = 0 configure:21759: result: yes configure:21759: checking for openssl/err.h configure:21759: result: yes configure:21805: checking openssl/pkcs12.h usability configure:21805: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21805: $? = 0 configure:21805: result: yes configure:21805: checking openssl/pkcs12.h presence configure:21805: gcc -E conftest.c configure:21805: $? = 0 configure:21805: result: yes configure:21805: checking for openssl/pkcs12.h configure:21805: result: yes configure:21828: checking for ENGINE_init configure:21828: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21828: $? = 0 configure:21828: result: yes configure:21833: checking openssl/engine.h usability configure:21833: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:21833: $? = 0 configure:21833: result: yes configure:21833: checking openssl/engine.h presence configure:21833: gcc -E conftest.c configure:21833: $? = 0 configure:21833: result: yes configure:21833: checking for openssl/engine.h configure:21833: result: yes configure:21846: checking for ENGINE_load_builtin_engines configure:21846: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21846: $? = 0 configure:21846: result: yes configure:21869: checking for RAND_status configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21869: $? = 0 configure:21869: result: yes configure:21869: checking for RAND_screen configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccV4nwLN.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `RAND_screen' collect2: error: ld returned 1 exit status configure:21869: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | /* end confdefs.h. */ | | #define RAND_screen innocuous_RAND_screen | #ifdef __STDC__ | # include | #else | # include | #endif | #undef RAND_screen | #ifdef __cplusplus | extern "C" | #endif | char RAND_screen (); | #if defined __stub_RAND_screen || defined __stub___RAND_screen | choke me | #endif | | int main (void) | { | return RAND_screen (); | ; | return 0; | } configure:21869: result: no configure:21869: checking for RAND_egd configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21869: $? = 0 configure:21869: result: yes configure:21869: checking for ENGINE_cleanup configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21869: $? = 0 configure:21869: result: yes configure:21869: checking for CRYPTO_cleanup_all_ex_data configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21869: $? = 0 configure:21869: result: yes configure:21869: checking for SSL_get_shutdown configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:21869: $? = 0 configure:21869: result: yes configure:21869: checking for SSLv2_client_method configure:21869: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccriHh4p.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `SSLv2_client_method' collect2: error: ld returned 1 exit status configure:21869: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | /* end confdefs.h. */ | | #define SSLv2_client_method innocuous_SSLv2_client_method | #ifdef __STDC__ | # include | #else | # include | #endif | #undef SSLv2_client_method | #ifdef __cplusplus | extern "C" | #endif | char SSLv2_client_method (); | #if defined __stub_SSLv2_client_method || defined __stub___SSLv2_client_method | choke me | #endif | | int main (void) | { | return SSLv2_client_method (); | ; | return 0; | } configure:21869: result: no configure:21880: checking for yaSSL using OpenSSL compatibility mode configure:21902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:83:9: error: unknown type name 'Not' Not the yaSSL OpenSSL compatibility header. ^ conftest.c:83:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'yaSSL' Not the yaSSL OpenSSL compatibility header. ^ configure:21902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | /* end confdefs.h. */ | | | #include | | int main (void) | { | | #if defined(YASSL_VERSION) && defined(OPENSSL_VERSION_NUMBER) | int dummy = SSL_ERROR_NONE; | #else | Not the yaSSL OpenSSL compatibility header. | #endif | | ; | return 0; | } | configure:21915: result: no configure:21937: checking for OpenSSL headers version configure:21964: gcc -E conftest.c configure:21964: $? = 0 configure:22023: result: 1.0.1 - 0x1000106fL configure:22032: checking for OpenSSL library version configure:22100: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cciGDfqS.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `SSL_CTX_set_not_resumable_session_callback' collect2: error: ld returned 1 exit status configure:22100: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | /* end confdefs.h. */ | | | #define SSL_CTX_set_not_resumable_session_callback innocuous_SSL_CTX_set_not_resumable_session_callback | #ifdef __STDC__ | # include | #else | # include | #endif | #undef SSL_CTX_set_not_resumable_session_callback | #ifdef __cplusplus | extern "C" | #endif | char SSL_CTX_set_not_resumable_session_callback (); | #if defined __stub_SSL_CTX_set_not_resumable_session_callback || defined __stub___SSL_CTX_set_not_resumable_session_callback | choke me | #endif | | int main (void) | { | return SSL_CTX_set_not_resumable_session_callback (); | ; | return 0; | } | configure:22138: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:22138: $? = 0 configure:22485: result: 1.0.1 configure:22493: checking for OpenSSL headers and library versions matching configure:22503: result: yes configure:22539: checking for "/dev/urandom" configure:22553: result: yes configure:22578: checking for SRP_Calc_client_key in -lcrypto configure:22600: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:22600: $? = 0 configure:22609: result: yes configure:23820: checking default CA cert bundle/path configure:23908: result: /etc/ssl/certs/ca-certificates.crt configure:24465: checking for libssh2_channel_open_ex in -lssh2 configure:24487: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssh2 -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /usr/bin/ld: cannot find -lssh2 collect2: error: ld returned 1 exit status configure:24487: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.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:24496: result: no configure:24510: checking libssh2.h usability configure:24510: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:109:21: fatal error: libssh2.h: No such file or directory #include ^ compilation terminated. configure:24510: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.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:24510: result: no configure:24510: checking libssh2.h presence configure:24510: gcc -E conftest.c conftest.c:76:21: fatal error: libssh2.h: No such file or directory #include ^ compilation terminated. configure:24510: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | /* end confdefs.h. */ | #include configure:24510: result: no configure:24510: checking for libssh2.h configure:24510: result: no configure:24734: checking for RTMP_Init in -lrtmp configure:24756: gcc -o conftest -O2 -Wno-system-headers conftest.c -lrtmp -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:24756: $? = 0 configure:24765: result: yes configure:24771: checking librtmp/rtmp.h usability configure:24771: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:24771: $? = 0 configure:24771: result: yes configure:24771: checking librtmp/rtmp.h presence configure:24771: gcc -E conftest.c configure:24771: $? = 0 configure:24771: result: yes configure:24771: checking for librtmp/rtmp.h configure:24771: result: yes configure:24806: checking whether versioned symbols are wanted configure:24854: result: no configure:24873: checking whether to enable Windows native IDN (Windows native builds only) configure:24885: result: no configure:24983: checking whether to build with libidn configure:25001: result: (assumed) yes configure:25229: checking for pkg-config configure:25260: result: /usr/bin/pkg-config configure:25284: checking for libidn options with pkg-config configure:25298: result: found configure:25314: pkg-config: IDN_LIBS: "-lidn " configure:25316: pkg-config: IDN_LDFLAGS: " " configure:25318: pkg-config: IDN_CPPFLAGS: " " configure:25320: pkg-config: IDN_DIR: "" configure:25337: checking if idna_to_ascii_4i can be linked configure:25366: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:25366: $? = 0 configure:25368: result: yes configure:25435: checking for idn_free configure:25435: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:25435: $? = 0 configure:25435: result: yes configure:25435: checking for idna_strerror configure:25435: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:25435: $? = 0 configure:25435: result: yes configure:25435: checking for tld_strerror configure:25435: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:25435: $? = 0 configure:25435: result: yes configure:25447: checking idn-free.h usability configure:25447: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:25447: $? = 0 configure:25447: result: yes configure:25447: checking idn-free.h presence configure:25447: gcc -E conftest.c configure:25447: $? = 0 configure:25447: result: yes configure:25447: checking for idn-free.h configure:25447: result: yes configure:25447: checking tld.h usability configure:25447: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:25447: $? = 0 configure:25447: result: yes configure:25447: checking tld.h presence configure:25447: gcc -E conftest.c configure:25447: $? = 0 configure:25447: result: yes configure:25447: checking for tld.h configure:25447: result: yes configure:25487: checking whether to build with nghttp2 configure:25499: result: no configure:25759: checking for ANSI C header files configure:25862: result: yes configure:25872: checking for malloc.h configure:25897: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:25897: $? = 0 configure:25909: result: yes configure:25937: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:25937: $? = 0 configure:25960: checking for memory.h configure:25997: result: yes configure:26025: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26025: $? = 0 configure:26091: checking for sys/types.h configure:26091: result: yes configure:26091: checking for sys/time.h configure:26091: result: yes configure:26091: checking for sys/select.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/socket.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/ioctl.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/uio.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for assert.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for unistd.h configure:26091: result: yes configure:26091: checking for stdlib.h configure:26091: result: yes configure:26091: checking for limits.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for arpa/inet.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for net/if.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for netinet/in.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/un.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for netinet/tcp.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for netdb.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/sockio.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:24: fatal error: sys/sockio.h: No such file or directory #include ^ compilation terminated. configure:26091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:26091: result: no configure:26091: checking for sys/stat.h configure:26091: result: yes configure:26091: checking for sys/param.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for termios.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for termio.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sgtty.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for fcntl.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for alloca.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for time.h configure:26091: result: yes configure:26091: checking for io.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:133:16: fatal error: io.h: No such file or directory #include ^ compilation terminated. configure:26091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_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:26091: result: no configure:26091: checking for pwd.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for utime.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/utime.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:135:23: fatal error: sys/utime.h: No such file or directory #include ^ compilation terminated. configure:26091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define 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:26091: result: no configure:26091: checking for sys/poll.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for poll.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for socket.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:137:20: fatal error: socket.h: No such file or directory #include ^ compilation terminated. configure:26091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_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:26091: result: no configure:26091: checking for sys/resource.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for libgen.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for locale.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for errno.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for stdbool.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for arpa/tftp.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for sys/filio.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:143:23: fatal error: sys/filio.h: No such file or directory #include ^ compilation terminated. configure:26091: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_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:26091: result: no configure:26091: checking for sys/wait.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26091: checking for setjmp.h configure:26091: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26091: $? = 0 configure:26091: result: yes configure:26123: checking for an ANSI C-conforming const configure:26188: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26188: $? = 0 configure:26195: result: yes configure:26204: checking for compiler support of C99 variadic macro style configure:26234: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26234: $? = 0 configure:26246: result: yes configure:26257: checking for compiler support of old gcc variadic macro style configure:26287: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26287: $? = 0 configure:26299: result: yes configure:26311: checking for size_t configure:26311: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26311: $? = 0 configure:26311: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:160:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:26311: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 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:26311: result: yes configure:26322: checking whether time.h and sys/time.h may both be included configure:26348: result: yes configure:26360: checking for sys/types.h configure:26360: result: yes configure:26360: checking for sys/time.h configure:26360: result: yes configure:26360: checking for time.h configure:26360: result: yes configure:26360: checking for sys/socket.h configure:26360: result: yes configure:26370: checking for struct timeval configure:26423: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26423: $? = 0 configure:26435: result: yes configure:26451: checking run-time libs availability configure:26468: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26468: $? = 0 configure:26468: ./conftest configure:26468: $? = 0 configure:26469: result: fine configure:26489: checking size of size_t configure:26494: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26494: $? = 0 configure:26494: ./conftest configure:26494: $? = 0 configure:26508: result: 8 configure:26522: checking size of long configure:26541: result: 8 configure:26555: checking size of int configure:26560: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26560: $? = 0 configure:26560: ./conftest configure:26560: $? = 0 configure:26574: result: 4 configure:26588: checking size of short configure:26593: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26593: $? = 0 configure:26593: ./conftest configure:26593: $? = 0 configure:26607: result: 2 configure:26632: checking size of time_t configure:26637: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26637: $? = 0 configure:26637: ./conftest configure:26637: $? = 0 configure:26651: result: 8 configure:26665: checking size of off_t configure:26670: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:26670: $? = 0 configure:26670: ./conftest configure:26670: $? = 0 configure:26684: result: 8 configure:26706: checking for long long configure:26706: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26706: $? = 0 configure:26706: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:173:24: error: expected expression before ')' token if (sizeof ((long long))) ^ configure:26706: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:26706: result: yes configure:26717: checking if numberLL works configure:26734: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26734: $? = 0 configure:26736: result: yes configure:26753: checking for ssize_t configure:26753: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26753: $? = 0 configure:26753: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:175:22: error: expected expression before ')' token if (sizeof ((ssize_t))) ^ configure:26753: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:26753: result: yes configure:26764: checking for bool configure:26764: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:26764: $? = 0 configure:26764: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:151:19: error: expected expression before ')' token if (sizeof ((bool))) ^ configure:26764: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:26764: result: yes configure:26799: checking for windows.h configure:26841: result: no configure:26859: checking for winsock2.h configure:26902: result: no configure:26915: checking for ws2tcpip.h configure:26959: result: no configure:26985: checking for sys/types.h configure:26985: result: yes configure:26985: checking for sys/socket.h configure:26985: result: yes configure:27010: checking for curl_socklen_t data type configure:27038: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27038: $? = 0 configure:27075: result: socklen_t configure:27082: checking size of curl_socklen_t configure:27128: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:146:13: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^ configure:27128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27128: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:146:13: error: unknown type name 'socklen_t' typedef socklen_t curl_socklen_t; ^ configure:27128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27128: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27128: $? = 0 configure:27138: result: 4 configure:27200: checking for sys/types.h configure:27200: result: yes configure:27200: checking for poll.h configure:27200: result: yes configure:27200: checking for sys/poll.h configure:27200: result: yes configure:27236: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:170:7: error: unknown type name 'force' force compilation error ^ conftest.c:170:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:27236: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27260: checking for in_addr_t configure:27260: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27260: $? = 0 configure:27260: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:182:24: error: expected expression before ')' token if (sizeof ((in_addr_t))) ^ configure:27260: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27260: result: yes configure:27376: checking for struct sockaddr_storage configure:27376: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27376: $? = 0 configure:27376: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:178:38: error: expected expression before ')' token if (sizeof ((struct sockaddr_storage))) ^ 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: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27376: result: yes configure:27413: checking signal.h usability configure:27413: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27413: $? = 0 configure:27413: result: yes configure:27413: checking signal.h presence configure:27413: gcc -E conftest.c configure:27413: $? = 0 configure:27413: result: yes configure:27413: checking for signal.h configure:27413: result: yes configure:27423: checking for sig_atomic_t configure:27423: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27423: $? = 0 configure:27423: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:160:27: error: expected expression before ')' token if (sizeof ((sig_atomic_t))) ^ configure:27423: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27423: result: yes configure:27440: checking if sig_atomic_t is already defined as volatile configure:27460: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:27460: $? = 0 configure:27462: result: no configure:27485: checking return type of signal handlers configure:27502: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:158:1: error: void value not ignored as it ought to be return *(signal (0, 0)) (0) == 1; ^ configure:27502: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:27509: result: void configure:27522: checking for sys/select.h configure:27522: result: yes configure:27522: checking for sys/socket.h configure:27522: result: yes configure:27533: checking for select configure:27585: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:27585: $? = 0 configure:27587: result: yes configure:27602: checking types of args and return type for select configure:27681: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27681: $? = 0 configure:27694: result: int,fd_set *,struct timeval *,int configure:27779: checking for sys/types.h configure:27779: result: yes configure:27779: checking for sys/socket.h configure:27779: result: yes configure:27790: checking for recv configure:27828: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:27828: $? = 0 configure:27830: result: yes configure:27845: checking types of args and return type for recv configure:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, size_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, size_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, socklen_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, void *, unsigned int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, size_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, socklen_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, char *, unsigned int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, size_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, socklen_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(ssize_t, void *, unsigned int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, size_t, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, int, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'char' recv(SOCKET, char *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, size_t, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, int, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:36: error: expected ')' before 'void' recv(SOCKET, void *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:195:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, size_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, size_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, socklen_t, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:190:23: error: conflicting types for 'recv' recv(int, char *, unsigned int, unsigned int); ^ In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:280:0, from conftest.c:185: /usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' was here recv (int __fd, void *__buf, size_t __n, int __flags) ^ configure:27902: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:27902: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:27902: $? = 0 configure:27916: result: int,void *,size_t,int,ssize_t configure:27967: checking for sys/types.h configure:27967: result: yes configure:27967: checking for sys/socket.h configure:27967: result: yes configure:27978: checking for send configure:28016: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:28016: $? = 0 configure:28018: result: yes configure:28033: checking types of args and return type for send configure:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const void *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, void *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(ssize_t, const void *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, size_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'char' send(SOCKET, char *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, size_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'void' send(SOCKET, void *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, size_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const char *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, size_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, size_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, socklen_t, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:36: error: expected ')' before 'const' send(SOCKET, const void *, unsigned int, unsigned int); ^ conftest.c: In function 'main': conftest.c:203:23: error: unknown type name 'SOCKET' SOCKET s=0; ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, void *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, size_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, size_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, socklen_t, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, socklen_t, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, unsigned int, int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:198:23: error: conflicting types for 'send' send(int, const char *, unsigned int, unsigned int); ^ In file included from conftest.c:193:0: /usr/include/x86_64-linux-gnu/sys/socket.h:149:16: note: previous declaration of 'send' was here extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags); ^ configure:28089: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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 | 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:28089: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:28089: $? = 0 configure:28103: result: int,const void *,size_t,int,ssize_t configure:28191: checking for sys/types.h configure:28191: result: yes configure:28191: checking for sys/socket.h configure:28191: result: yes configure:28201: checking for MSG_NOSIGNAL configure:28243: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:28243: $? = 0 configure:28255: result: yes configure:28281: checking for sys/types.h configure:28281: result: yes configure:28281: checking for unistd.h configure:28281: result: yes configure:28300: checking if alarm can be linked configure:28329: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:28329: $? = 0 configure:28331: result: yes configure:28346: checking if alarm is prototyped configure:28357: result: yes configure:28373: checking if alarm is compilable configure:28392: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:28392: $? = 0 configure:28394: result: yes configure:28409: checking if alarm usage allowed configure:28412: result: yes configure:28422: checking if alarm might be used configure:28428: result: yes configure:28458: checking for sys/types.h configure:28458: result: yes configure:28458: checking for string.h configure:28458: result: yes configure:28458: checking for strings.h configure:28458: result: yes configure:28483: checking for sys/types.h configure:28483: result: yes configure:28483: checking for libgen.h configure:28483: result: yes configure:28502: checking if basename can be linked configure:28531: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:28531: $? = 0 configure:28533: result: yes configure:28548: checking if basename is prototyped configure:28561: result: yes configure:28577: checking if basename is compilable configure:28598: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:28598: $? = 0 configure:28600: result: yes configure:28615: checking if basename usage allowed configure:28618: result: yes configure:28628: checking if basename might be used configure:28634: result: yes configure:28661: checking for sys/types.h configure:28661: result: yes configure:28661: checking for socket.h configure:28661: result: no configure:28680: checking if closesocket can be linked configure:28700: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cc1FDZnl.o: In function `main': conftest.c:(.text.startup+0x9): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:28700: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:28708: result: no configure:28795: checking if closesocket might be used configure:28810: result: no configure:28822: checking if CloseSocket can be linked configure:28841: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccGdOdrw.o: In function `main': conftest.c:(.text.startup+0x9): undefined reference to `CloseSocket' collect2: error: ld returned 1 exit status configure:28841: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:28849: result: no configure:28934: checking if CloseSocket might be used configure:28949: result: no configure:28961: checking if connect can be linked configure:28982: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:28982: $? = 0 configure:28984: result: yes configure:28999: checking if connect is prototyped configure:29012: result: yes configure:29028: checking if connect is compilable configure:29049: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29049: $? = 0 configure:29051: result: yes configure:29066: checking if connect usage allowed configure:29069: result: yes configure:29079: checking if connect might be used configure:29085: result: yes configure:29115: checking for sys/types.h configure:29115: result: yes configure:29115: checking for unistd.h configure:29115: result: yes configure:29115: checking for fcntl.h configure:29115: result: yes configure:29134: checking if fcntl can be linked configure:29163: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:29163: $? = 0 configure:29165: result: yes configure:29180: checking if fcntl is prototyped configure:29191: result: yes configure:29207: checking if fcntl is compilable configure:29226: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29226: $? = 0 configure:29228: result: yes configure:29243: checking if fcntl usage allowed configure:29246: result: yes configure:29256: checking if fcntl might be used configure:29262: result: yes configure:29282: checking if fcntl O_NONBLOCK is compilable configure:29302: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29302: $? = 0 configure:29304: result: yes configure:29319: checking if fcntl O_NONBLOCK usage allowed configure:29322: result: yes configure:29332: checking if fcntl O_NONBLOCK might be used configure:29336: result: yes configure:29369: checking for sys/types.h configure:29369: result: yes configure:29369: checking for stdio.h configure:29369: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29369: $? = 0 configure:29369: result: yes configure:29388: checking if fdopen can be linked configure:29417: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:29417: $? = 0 configure:29419: result: yes configure:29434: checking if fdopen is prototyped configure:29445: result: yes configure:29461: checking if fdopen is compilable configure:29480: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29480: $? = 0 configure:29482: result: yes configure:29497: checking if fdopen usage allowed configure:29500: result: yes configure:29510: checking if fdopen might be used configure:29516: result: yes configure:29543: checking for sys/types.h configure:29543: result: yes configure:29543: checking for netdb.h configure:29543: result: yes configure:29562: checking if freeaddrinfo can be linked configure:29582: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:29582: $? = 0 configure:29584: result: yes configure:29599: checking if freeaddrinfo is prototyped configure:29612: result: yes configure:29628: checking if freeaddrinfo is compilable configure:29648: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29648: $? = 0 configure:29650: result: yes configure:29665: checking if freeaddrinfo usage allowed configure:29668: result: yes configure:29678: checking if freeaddrinfo might be used configure:29684: result: yes configure:29717: checking for sys/types.h configure:29717: result: yes configure:29717: checking for sys/socket.h configure:29717: result: yes configure:29717: checking for netinet/in.h configure:29717: result: yes configure:29717: checking for ifaddrs.h configure:29717: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29717: $? = 0 configure:29717: result: yes configure:29736: checking if freeifaddrs can be linked configure:29765: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:29765: $? = 0 configure:29767: result: yes configure:29782: checking if freeifaddrs is prototyped configure:29793: result: yes configure:29809: checking if freeifaddrs is compilable configure:29827: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29827: $? = 0 configure:29829: result: yes configure:29844: checking if freeifaddrs usage allowed configure:29847: result: yes configure:29857: checking if freeifaddrs might be used configure:29863: result: yes configure:29890: checking for sys/types.h configure:29890: result: yes configure:29890: checking for sys/xattr.h configure:29890: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:29890: $? = 0 configure:29890: result: yes configure:29910: checking if fsetxattr can be linked configure:29939: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:29939: $? = 0 configure:29941: result: yes configure:29956: checking if fsetxattr is prototyped configure:29967: result: yes configure:29984: checking if fsetxattr takes 5 args. configure:30003: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30003: $? = 0 configure:30005: result: yes configure:30055: checking if fsetxattr is compilable configure:30058: result: yes configure:30067: checking if fsetxattr usage allowed configure:30070: result: yes configure:30080: checking if fsetxattr might be used configure:30086: result: yes configure:30118: checking if ftruncate can be linked configure:30147: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30147: $? = 0 configure:30149: result: yes configure:30164: checking if ftruncate is prototyped configure:30175: result: yes configure:30191: checking if ftruncate is compilable configure:30210: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30210: $? = 0 configure:30212: result: yes configure:30227: checking if ftruncate usage allowed configure:30230: result: yes configure:30240: checking if ftruncate might be used configure:30246: result: yes configure:30273: checking for sys/types.h configure:30273: result: yes configure:30273: checking for stdlib.h configure:30273: result: yes configure:30294: checking if getaddrinfo can be linked configure:30315: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30315: $? = 0 configure:30317: result: yes configure:30332: checking if getaddrinfo is prototyped configure:30345: result: yes configure:30361: checking if getaddrinfo is compilable configure:30382: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30382: $? = 0 configure:30384: result: yes configure:30400: checking if getaddrinfo seems to work configure:30440: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30440: $? = 0 configure:30440: ./conftest configure:30440: $? = 0 configure:30442: result: yes configure:30461: checking if getaddrinfo usage allowed configure:30464: result: yes configure:30474: checking if getaddrinfo might be used configure:30481: result: yes configure:30497: checking if getaddrinfo is threadsafe configure:30562: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30562: $? = 0 configure:30604: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30604: $? = 0 configure:30635: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:228:11: error: unknown type name 'force' force compilation error ^ conftest.c:228:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' force compilation error ^ configure:30635: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:30653: result: yes configure:30674: checking if gai_strerror can be linked configure:30694: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30694: $? = 0 configure:30696: result: yes configure:30711: checking if gai_strerror is prototyped configure:30723: result: yes configure:30739: checking if gai_strerror is compilable configure:30759: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30759: $? = 0 configure:30761: result: yes configure:30776: checking if gai_strerror usage allowed configure:30779: result: yes configure:30789: checking if gai_strerror might be used configure:30795: result: yes configure:30816: checking if gethostbyaddr can be linked configure:30836: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30836: $? = 0 configure:30838: result: yes configure:30853: checking if gethostbyaddr is prototyped configure:30865: result: yes configure:30881: checking if gethostbyaddr is compilable configure:30901: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:30901: $? = 0 configure:30903: result: yes configure:30918: checking if gethostbyaddr usage allowed configure:30921: result: yes configure:30931: checking if gethostbyaddr might be used configure:30937: result: yes configure:30959: checking if gethostbyaddr_r can be linked configure:30988: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:30988: $? = 0 configure:30990: result: yes configure:31005: checking if gethostbyaddr_r is prototyped configure:31016: result: yes configure:31033: checking if gethostbyaddr_r takes 5 args. configure:31052: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:234:11: error: too few arguments to function 'gethostbyaddr_r' if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:227:0: /usr/include/netdb.h:172:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^ configure:31052: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31061: result: no configure:31069: checking if gethostbyaddr_r takes 7 args. configure:31088: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:234:11: 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:227:0: /usr/include/netdb.h:172:12: note: declared here extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len, ^ configure:31088: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31097: result: no configure:31105: checking if gethostbyaddr_r takes 8 args. configure:31124: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:31124: $? = 0 configure:31126: result: yes configure:31140: checking if gethostbyaddr_r is compilable configure:31143: result: yes configure:31152: checking if gethostbyaddr_r usage allowed configure:31155: result: yes configure:31165: checking if gethostbyaddr_r might be used configure:31171: result: yes configure:31207: checking if gethostbyname can be linked configure:31227: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:31227: $? = 0 configure:31229: result: yes configure:31244: checking if gethostbyname is prototyped configure:31256: result: yes configure:31272: checking if gethostbyname is compilable configure:31292: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:31292: $? = 0 configure:31294: result: yes configure:31309: checking if gethostbyname usage allowed configure:31312: result: yes configure:31322: checking if gethostbyname might be used configure:31328: result: yes configure:31350: checking if gethostbyname_r can be linked configure:31379: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:31379: $? = 0 configure:31381: result: yes configure:31396: checking if gethostbyname_r is prototyped configure:31407: result: yes configure:31424: checking if gethostbyname_r takes 3 args. configure:31443: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:237:11: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0)) ^ In file included from conftest.c:230:0: /usr/include/netdb.h:179:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^ configure:31443: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31452: result: no configure:31460: checking if gethostbyname_r takes 5 args. configure:31479: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:237:11: error: too few arguments to function 'gethostbyname_r' if(0 != gethostbyname_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:230:0: /usr/include/netdb.h:179:12: note: declared here extern int gethostbyname_r (const char *__restrict __name, ^ configure:31479: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31488: result: no configure:31496: checking if gethostbyname_r takes 6 args. configure:31515: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:31515: $? = 0 configure:31517: result: yes configure:31531: checking if gethostbyname_r is compilable configure:31534: result: yes configure:31543: checking if gethostbyname_r usage allowed configure:31546: result: yes configure:31556: checking if gethostbyname_r might be used configure:31562: result: yes configure:31598: checking if gethostname can be linked configure:31618: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c: In function 'main': conftest.c:254:7: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != gethostname(0, 0)) ^ configure:31618: $? = 0 configure:31620: result: yes configure:31635: checking if gethostname is prototyped configure:31647: result: yes configure:31663: checking if gethostname is compilable configure:31683: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:254:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != gethostname(0, 0)) ^ configure:31683: $? = 0 configure:31685: result: yes configure:31700: checking for gethostname arg 2 data type configure:31726: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:257:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, int); ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from conftest.c:244: /usr/include/x86_64-linux-gnu/bits/unistd.h:344:1: note: previous definition of 'gethostname' was here __NTH (gethostname (char *__buf, size_t __buflen)) ^ configure:31726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31726: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:257:38: error: conflicting types for 'gethostname' extern int FUNCALLCONV gethostname(char *, unsigned int); ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from conftest.c:244: /usr/include/x86_64-linux-gnu/bits/unistd.h:344:1: note: previous definition of 'gethostname' was here __NTH (gethostname (char *__buf, size_t __buflen)) ^ configure:31726: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:31726: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:262:15: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != gethostname(0, 0)) ^ configure:31726: $? = 0 configure:31735: result: size_t configure:31747: checking if gethostname usage allowed configure:31750: result: yes configure:31760: checking if gethostname might be used configure:31766: result: yes configure:31788: checking if getifaddrs can be linked configure:31817: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:31817: $? = 0 configure:31819: result: yes configure:31834: checking if getifaddrs is prototyped configure:31845: result: yes configure:31861: checking if getifaddrs is compilable configure:31880: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:31880: $? = 0 configure:31882: result: yes configure:31898: checking if getifaddrs seems to work configure:31930: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:31930: $? = 0 configure:31930: ./conftest configure:31930: $? = 0 configure:31932: result: yes configure:31951: checking if getifaddrs usage allowed configure:31954: result: yes configure:31964: checking if getifaddrs might be used configure:31971: result: yes configure:31993: checking if getservbyport_r can be linked configure:32022: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:32022: $? = 0 configure:32024: result: yes configure:32039: checking if getservbyport_r is prototyped configure:32050: result: yes configure:32067: checking if getservbyport_r takes 4 args. configure:32086: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:242:11: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0)) ^ In file included from conftest.c:235:0: /usr/include/netdb.h:318:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^ configure:32086: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:32095: result: no configure:32103: checking if getservbyport_r takes 5 args. configure:32122: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:242:11: error: too few arguments to function 'getservbyport_r' if(0 != getservbyport_r(0, 0, 0, 0, 0)) ^ In file included from conftest.c:235:0: /usr/include/netdb.h:318:12: note: declared here extern int getservbyport_r (int __port, const char *__restrict __proto, ^ configure:32122: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:32131: result: no configure:32139: checking if getservbyport_r takes 6 args. configure:32158: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:32158: $? = 0 configure:32160: result: yes configure:32174: checking if getservbyport_r is compilable configure:32177: result: yes configure:32186: checking if getservbyport_r usage allowed configure:32189: result: yes configure:32199: checking if getservbyport_r might be used configure:32205: result: yes configure:32253: checking for sys/types.h configure:32253: result: yes configure:32253: checking for sys/time.h configure:32253: result: yes configure:32253: checking for time.h configure:32253: result: yes configure:32273: checking if gmtime_r can be linked configure:32302: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:32302: $? = 0 configure:32304: result: yes configure:32319: checking if gmtime_r is prototyped configure:32330: result: yes configure:32346: checking if gmtime_r is compilable configure:32365: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:32365: $? = 0 configure:32367: result: yes configure:32383: checking if gmtime_r seems to work configure:32415: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:32415: $? = 0 configure:32415: ./conftest configure:32415: $? = 0 configure:32417: result: yes configure:32436: checking if gmtime_r usage allowed configure:32439: result: yes configure:32449: checking if gmtime_r might be used configure:32456: result: yes configure:32489: checking for sys/types.h configure:32489: result: yes configure:32489: checking for sys/socket.h configure:32489: result: yes configure:32489: checking for netinet/in.h configure:32489: result: yes configure:32489: checking for arpa/inet.h configure:32489: result: yes configure:32509: checking if inet_ntoa_r can be linked configure:32538: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccX5opAl.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:32538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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:32546: result: no configure:32681: checking if inet_ntoa_r might be used configure:32707: result: no configure:32720: checking if inet_ntop can be linked configure:32749: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:32749: $? = 0 configure:32751: result: yes configure:32766: checking if inet_ntop is prototyped configure:32777: result: yes configure:32793: checking if inet_ntop is compilable configure:32812: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:32812: $? = 0 configure:32814: result: yes configure:32830: checking if inet_ntop seems to work configure:32904: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c: In function 'main': conftest.c:292:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res)); ^ conftest.c:316:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res)); ^ configure:32904: $? = 0 configure:32904: ./conftest configure:32904: $? = 0 configure:32906: result: yes configure:32925: checking if inet_ntop usage allowed configure:32928: result: yes configure:32938: checking if inet_ntop might be used configure:32945: result: yes configure:32967: checking if inet_pton can be linked configure:32996: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:32996: $? = 0 configure:32998: result: yes configure:33013: checking if inet_pton is prototyped configure:33024: result: yes configure:33040: checking if inet_pton is compilable configure:33059: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:33059: $? = 0 configure:33061: result: yes configure:33077: checking if inet_pton seems to work configure:33144: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:33144: $? = 0 configure:33144: ./conftest configure:33144: $? = 0 configure:33146: result: yes configure:33165: checking if inet_pton usage allowed configure:33168: result: yes configure:33178: checking if inet_pton might be used configure:33185: result: yes configure:33221: checking for sys/types.h configure:33221: result: yes configure:33221: checking for unistd.h configure:33221: result: yes configure:33221: checking for sys/socket.h configure:33221: result: yes configure:33221: checking for sys/ioctl.h configure:33221: result: yes configure:33221: checking for stropts.h configure:33221: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:33221: $? = 0 configure:33221: result: yes configure:33240: checking if ioctl can be linked configure:33269: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:33269: $? = 0 configure:33271: result: yes configure:33286: checking if ioctl is prototyped configure:33297: result: yes configure:33313: checking if ioctl is compilable configure:33332: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:33332: $? = 0 configure:33334: result: yes configure:33349: checking if ioctl usage allowed configure:33352: result: yes configure:33362: checking if ioctl might be used configure:33368: result: yes configure:33382: checking if ioctl FIONBIO is compilable configure:33402: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:33402: $? = 0 configure:33404: result: yes configure:33419: checking if ioctl FIONBIO usage allowed configure:33422: result: yes configure:33432: checking if ioctl FIONBIO might be used configure:33436: result: yes configure:33456: checking if ioctl SIOCGIFADDR is compilable configure:33477: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:33477: $? = 0 configure:33479: result: yes configure:33494: checking if ioctl SIOCGIFADDR usage allowed configure:33497: result: yes configure:33507: checking if ioctl SIOCGIFADDR might be used configure:33511: result: yes configure:33538: checking if ioctlsocket can be linked configure:33557: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccS9FUGM.o: In function `main': conftest.c:(.text.startup+0xd): undefined reference to `ioctlsocket' collect2: error: ld returned 1 exit status configure:33557: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:33565: result: no configure:33650: checking if ioctlsocket might be used configure:33739: result: no configure:33751: checking if IoctlSocket can be linked configure:33780: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cco2TP8V.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:33780: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | #define IoctlSocket innocuous_IoctlSocket | #ifdef __STDC__ | # include | #else | # include | #endif | #undef IoctlSocket | #ifdef __cplusplus | extern "C" | #endif | char IoctlSocket (); | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket | choke me | #endif | | int main (void) | { | return IoctlSocket (); | ; | return 0; | } | configure:33788: result: no configure:33873: checking if IoctlSocket might be used configure:33962: result: no configure:33975: checking if localtime_r can be linked configure:34004: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34004: $? = 0 configure:34006: result: yes configure:34021: checking if localtime_r is prototyped configure:34032: result: yes configure:34048: checking if localtime_r is compilable configure:34067: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:34067: $? = 0 configure:34069: result: yes configure:34085: checking if localtime_r seems to work configure:34117: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34117: $? = 0 configure:34117: ./conftest configure:34117: $? = 0 configure:34119: result: yes configure:34138: checking if localtime_r usage allowed configure:34141: result: yes configure:34151: checking if localtime_r might be used configure:34158: result: yes configure:34180: checking if memrchr can be linked configure:34209: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34209: $? = 0 configure:34211: result: yes configure:34263: checking if memrchr is prototyped configure:34280: result: no configure:34340: checking if memrchr might be used configure:34355: result: no configure:34374: checking if poll can be linked configure:34393: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34393: $? = 0 configure:34395: result: yes configure:34410: checking if poll is prototyped configure:34421: result: yes configure:34437: checking if poll is compilable configure:34456: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:34456: $? = 0 configure:34458: result: yes configure:34474: checking if poll seems to work configure:34502: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34502: $? = 0 configure:34502: ./conftest configure:34502: $? = 0 configure:34504: result: yes configure:34523: checking if poll usage allowed configure:34526: result: yes configure:34536: checking if poll might be used configure:34543: result: yes configure:34569: checking if setsockopt can be linked configure:34589: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34589: $? = 0 configure:34591: result: yes configure:34606: checking if setsockopt is prototyped configure:34618: result: yes configure:34634: checking if setsockopt is compilable configure:34654: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:34654: $? = 0 configure:34656: result: yes configure:34671: checking if setsockopt usage allowed configure:34674: result: yes configure:34684: checking if setsockopt might be used configure:34690: result: yes configure:34704: checking if setsockopt SO_NONBLOCK is compilable configure:34724: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:282:43: error: 'SO_NONBLOCK' undeclared (first use in this function) if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) ^ conftest.c:282:43: note: each undeclared identifier is reported only once for each function it appears in configure:34724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | return 1; | | ; | return 0; | } | configure:34732: result: no configure:34754: checking if setsockopt SO_NONBLOCK might be used configure:34767: result: no configure:34791: checking for sys/types.h configure:34791: result: yes configure:34791: checking for signal.h configure:34791: result: yes configure:34810: checking if sigaction can be linked configure:34839: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34839: $? = 0 configure:34841: result: yes configure:34856: checking if sigaction is prototyped configure:34867: result: yes configure:34883: checking if sigaction is compilable configure:34902: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:34902: $? = 0 configure:34904: result: yes configure:34919: checking if sigaction usage allowed configure:34922: result: yes configure:34932: checking if sigaction might be used configure:34938: result: yes configure:34959: checking if siginterrupt can be linked configure:34988: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:34988: $? = 0 configure:34990: result: yes configure:35005: checking if siginterrupt is prototyped configure:35016: result: yes configure:35032: checking if siginterrupt is compilable configure:35051: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:35051: $? = 0 configure:35053: result: yes configure:35068: checking if siginterrupt usage allowed configure:35071: result: yes configure:35081: checking if siginterrupt might be used configure:35087: result: yes configure:35108: checking if signal can be linked configure:35137: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:35137: $? = 0 configure:35139: result: yes configure:35154: checking if signal is prototyped configure:35165: result: yes configure:35181: checking if signal is compilable configure:35200: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:35200: $? = 0 configure:35202: result: yes configure:35217: checking if signal usage allowed configure:35220: result: yes configure:35230: checking if signal might be used configure:35236: result: yes configure:35263: checking for sys/types.h configure:35263: result: yes configure:35263: checking for setjmp.h configure:35263: result: yes configure:35283: checking if sigsetjmp can be linked configure:35312: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccA3bZwR.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `sigsetjmp' collect2: error: ld returned 1 exit status configure:35312: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | /* 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:35320: result: no configure:35329: checking if sigsetjmp seems a macro configure:35349: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:35349: $? = 0 configure:35351: result: yes configure:35395: checking if sigsetjmp is compilable configure:35415: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:35415: $? = 0 configure:35417: result: yes configure:35432: checking if sigsetjmp usage allowed configure:35435: result: yes configure:35445: checking if sigsetjmp might be used configure:35451: result: yes configure:35472: checking if socket can be linked configure:35493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:35493: $? = 0 configure:35495: result: yes configure:35510: checking if socket is prototyped configure:35523: result: yes configure:35539: checking if socket is compilable configure:35560: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:35560: $? = 0 configure:35562: result: yes configure:35577: checking if socket usage allowed configure:35580: result: yes configure:35590: checking if socket might be used configure:35596: result: yes configure:35617: checking if socketpair can be linked configure:35646: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:35646: $? = 0 configure:35648: result: yes configure:35663: checking if socketpair is prototyped configure:35675: result: yes configure:35691: checking if socketpair is compilable configure:35712: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:35712: $? = 0 configure:35714: result: yes configure:35729: checking if socketpair usage allowed configure:35732: result: yes configure:35742: checking if socketpair might be used configure:35748: result: yes configure:35769: checking if strcasecmp can be linked configure:35798: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:275:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] char strcasecmp (); ^ configure:35798: $? = 0 configure:35800: result: yes configure:35815: checking if strcasecmp is prototyped configure:35826: result: yes configure:35842: checking if strcasecmp is compilable configure:35861: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:280:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strcasecmp(0, 0)) ^ conftest.c:280:9: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:35861: $? = 0 configure:35863: result: yes configure:35878: checking if strcasecmp usage allowed configure:35881: result: yes configure:35891: checking if strcasecmp might be used configure:35897: result: yes configure:35918: checking if strcmpi can be linked configure:35947: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccJSxxTQ.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:35947: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | /* end confdefs.h. */ | | | #define strcmpi innocuous_strcmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strcmpi | #ifdef __cplusplus | extern "C" | #endif | char strcmpi (); | #if defined __stub_strcmpi || defined __stub___strcmpi | choke me | #endif | | int main (void) | { | return strcmpi (); | ; | return 0; | } | configure:35955: result: no configure:36040: checking if strcmpi might be used configure:36055: result: no configure:36067: checking if strdup can be linked configure:36096: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:276:6: warning: conflicting types for built-in function 'strdup' [enabled by default] char strdup (); ^ configure:36096: $? = 0 configure:36098: result: yes configure:36113: checking if strdup is prototyped configure:36124: result: yes configure:36140: checking if strdup is compilable configure:36159: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:281:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strdup(0)) ^ conftest.c:281:9: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:36159: $? = 0 configure:36161: result: yes configure:36176: checking if strdup usage allowed configure:36179: result: yes configure:36189: checking if strdup might be used configure:36195: result: yes configure:36222: checking if strerror_r can be linked configure:36251: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:36251: $? = 0 configure:36253: result: yes configure:36268: checking if strerror_r is prototyped configure:36279: result: yes configure:36295: checking if strerror_r is compilable configure:36314: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:282:9: warning: null argument where non-null required (argument 2) [-Wnonnull] if(0 != strerror_r(0, 0, 0)) ^ configure:36314: $? = 0 configure:36316: result: yes configure:36331: checking if strerror_r is glibc like configure:36354: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:278: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:374:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from conftest.c:269: /usr/include/string.h:427:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^ configure:36354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, size_t bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36354: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:278:19: error: conflicting types for 'strerror_r' char *strerror_r(int errnum, char *workbuf, int bufsize); ^ In file included from /usr/include/features.h:374:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from conftest.c:269: /usr/include/string.h:427:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^ configure:36354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, int bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36354: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:278: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:374:0, from /usr/include/x86_64-linux-gnu/sys/types.h:25, from conftest.c:269: /usr/include/string.h:427:12: note: previous declaration of 'strerror_r' was here extern int __REDIRECT_NTH (strerror_r, ^ configure:36354: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); | | int main (void) | { | | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:36364: result: no configure:36434: checking if strerror_r is POSIX like configure:36457: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:283:13: warning: null argument where non-null required (argument 2) [-Wnonnull] if(0 != strerror_r(0, 0, 0)) ^ configure:36457: $? = 0 configure:36472: result: yes configure:36481: checking if strerror_r seems to work configure:36516: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:36516: $? = 0 configure:36516: ./conftest configure:36516: $? = 0 configure:36518: result: yes configure:36552: checking if strerror_r usage allowed configure:36555: result: yes configure:36565: checking if strerror_r might be used configure:36571: result: yes configure:36628: checking if stricmp can be linked configure:36657: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccgqT5sO.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:36657: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | /* end confdefs.h. */ | | | #define stricmp innocuous_stricmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef stricmp | #ifdef __cplusplus | extern "C" | #endif | char stricmp (); | #if defined __stub_stricmp || defined __stub___stricmp | choke me | #endif | | int main (void) | { | return stricmp (); | ; | return 0; | } | configure:36665: result: no configure:36750: checking if stricmp might be used configure:36765: result: no configure:36777: checking if strncasecmp can be linked configure:36806: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:280:6: warning: conflicting types for built-in function 'strncasecmp' [enabled by default] char strncasecmp (); ^ configure:36806: $? = 0 configure:36808: result: yes configure:36823: checking if strncasecmp is prototyped configure:36834: result: yes configure:36850: checking if strncasecmp is compilable configure:36869: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:285:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strncasecmp(0, 0, 0)) ^ conftest.c:285:9: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:36869: $? = 0 configure:36871: result: yes configure:36886: checking if strncasecmp usage allowed configure:36889: result: yes configure:36899: checking if strncasecmp might be used configure:36905: result: yes configure:36926: checking if strncmpi can be linked configure:36955: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cceJenHb.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:36955: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strncmpi innocuous_strncmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strncmpi | #ifdef __cplusplus | extern "C" | #endif | char strncmpi (); | #if defined __stub_strncmpi || defined __stub___strncmpi | choke me | #endif | | int main (void) | { | return strncmpi (); | ; | return 0; | } | configure:36963: result: no configure:37048: checking if strncmpi might be used configure:37063: result: no configure:37075: checking if strnicmp can be linked configure:37104: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccEPF35j.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:37104: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strnicmp innocuous_strnicmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strnicmp | #ifdef __cplusplus | extern "C" | #endif | char strnicmp (); | #if defined __stub_strnicmp || defined __stub___strnicmp | choke me | #endif | | int main (void) | { | return strnicmp (); | ; | return 0; | } | configure:37112: result: no configure:37197: checking if strnicmp might be used configure:37212: result: no configure:37224: checking if strstr can be linked configure:37253: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:281:6: warning: conflicting types for built-in function 'strstr' [enabled by default] char strstr (); ^ configure:37253: $? = 0 configure:37255: result: yes configure:37270: checking if strstr is prototyped configure:37281: result: yes configure:37297: checking if strstr is compilable configure:37316: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:286:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strstr(0, 0)) ^ conftest.c:286:9: warning: null argument where non-null required (argument 2) [-Wnonnull] configure:37316: $? = 0 configure:37318: result: yes configure:37333: checking if strstr usage allowed configure:37336: result: yes configure:37346: checking if strstr might be used configure:37352: result: yes configure:37373: checking if strtok_r can be linked configure:37402: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37402: $? = 0 configure:37404: result: yes configure:37419: checking if strtok_r is prototyped configure:37430: result: yes configure:37446: checking if strtok_r is compilable configure:37465: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:287:9: warning: null argument where non-null required (argument 2) [-Wnonnull] if(0 != strtok_r(0, 0, 0)) ^ conftest.c:287:9: warning: null argument where non-null required (argument 3) [-Wnonnull] configure:37465: $? = 0 configure:37467: result: yes configure:37482: checking if strtok_r usage allowed configure:37485: result: yes configure:37495: checking if strtok_r might be used configure:37501: result: yes configure:37522: checking if strtoll can be linked configure:37551: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37551: $? = 0 configure:37553: result: yes configure:37568: checking if strtoll is prototyped configure:37579: result: yes configure:37595: checking if strtoll is compilable configure:37614: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:285:9: warning: null argument where non-null required (argument 1) [-Wnonnull] if(0 != strtoll(0, 0, 0)) ^ configure:37614: $? = 0 configure:37616: result: yes configure:37631: checking if strtoll usage allowed configure:37634: result: yes configure:37644: checking if strtoll might be used configure:37650: result: yes configure:37677: checking for sys/types.h configure:37677: result: yes configure:37677: checking for sys/uio.h configure:37677: result: yes configure:37696: checking if writev can be linked configure:37725: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37725: $? = 0 configure:37727: result: yes configure:37742: checking if writev is prototyped configure:37753: result: yes configure:37769: checking if writev is compilable configure:37788: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:37788: $? = 0 configure:37790: result: yes configure:37805: checking if writev usage allowed configure:37808: result: yes configure:37818: checking if writev might be used configure:37824: result: yes configure:37867: checking for fork configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:286:6: warning: conflicting types for built-in function 'fork' [enabled by default] char fork (); ^ configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for geteuid configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for getpass_r configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cc6l3jxJ.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:37867: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | #define getpass_r innocuous_getpass_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getpass_r | #ifdef __cplusplus | extern "C" | #endif | char getpass_r (); | #if defined __stub_getpass_r || defined __stub___getpass_r | choke me | #endif | | int main (void) | { | return getpass_r (); | ; | return 0; | } configure:37867: result: no configure:37879: checking deeper for getpass_r configure:37896: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccwGgaKT.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `getpass_r' collect2: error: ld returned 1 exit status configure:37896: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | | | int main (void) | { | | getpass_r (); | | ; | return 0; | } | configure:37909: result: but still no configure:37867: checking for getppid configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for getprotobyname configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for getpwuid configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for getrlimit configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for gettimeofday configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for inet_addr configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for perror configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for pipe configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for setlocale configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for setmode configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/ccDJlV48.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:37867: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | #define setmode innocuous_setmode | #ifdef __STDC__ | # include | #else | # include | #endif | #undef setmode | #ifdef __cplusplus | extern "C" | #endif | char setmode (); | #if defined __stub_setmode || defined __stub___setmode | choke me | #endif | | int main (void) | { | return setmode (); | ; | return 0; | } configure:37867: result: no configure:37879: checking deeper for setmode configure:37896: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 /tmp/cczsqvTi.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:37896: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | | | int main (void) | { | | setmode (); | | ; | return 0; | } | configure:37909: result: but still no configure:37867: checking for setrlimit configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for uname configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37867: checking for utime configure:37867: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37867: $? = 0 configure:37867: result: yes configure:37925: checking for sys/types.h configure:37925: result: yes configure:37925: checking for sys/socket.h configure:37925: result: yes configure:37925: checking for netdb.h configure:37925: result: yes configure:37936: checking for getnameinfo configure:37965: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 configure:37965: $? = 0 configure:37967: result: yes configure:38075: checking types of arguments for getnameinfo configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(struct sockaddr *, int, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:324:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c:325:52: error: unknown type name 'DWORD' char *, DWORD, ^ conftest.c: In function 'main': conftest.c:332:21: error: unknown type name 'DWORD' DWORD hostlen=0; ^ conftest.c:333:21: error: unknown type name 'DWORD' DWORD servlen=0; ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(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:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(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:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(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:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 conftest.c:323:44: error: conflicting types for 'getnameinfo' extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t, ^ In file included from conftest.c:319:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here extern int getnameinfo (const struct sockaddr *__restrict __sa, ^ configure:38139: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(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:38139: gcc -c -O2 -Wno-system-headers conftest.c >&5 configure:38139: $? = 0 configure:38152: result: const struct sockaddr *,socklen_t,socklen_t,int configure:38246: checking for stdio.h configure:38246: result: yes configure:38246: checking for sys/types.h configure:38246: result: yes configure:38246: checking for sys/socket.h configure:38246: result: yes configure:38246: checking for netdb.h configure:38246: result: yes configure:38246: checking for netinet/in.h configure:38246: result: yes configure:38246: checking for arpa/inet.h configure:38246: result: yes configure:38257: checking for working NI_WITHSCOPEID configure:38362: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz >&5 conftest.c:365:3: error: stray '#' in program } # AC-LANG-PROGRAM ^ conftest.c:365:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token } # AC-LANG-PROGRAM ^ configure:38362: $? = 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: http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "-" | #define OS "x86_64-unknown-linux-gnu" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 8 | #define SIZEOF_VOIDP 8 | #define CURL_TYPEOF_CURL_OFF_T long | #define CURL_FORMAT_CURL_OFF_T "ld" | #define CURL_FORMAT_CURL_OFF_TU "lu" | #define CURL_FORMAT_OFF_T "%ld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T L | #define CURL_SUFFIX_CURL_OFF_TU UL | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_LDAP_SSL 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LBER_H 1 | #define HAVE_LDAP_H 1 | #define HAVE_LDAP_URL_PARSE 1 | #define HAVE_LDAP_INIT_FD 1 | #define USE_OPENLDAP 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_LIBSSL 1 | #define HAVE_OPENSSL_X509_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_RSA_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_CRYPTO_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_PEM_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_SSL_H 1 | #define USE_OPENSSL 1 | #define HAVE_OPENSSL_ERR_H 1 | #define USE_OPENSSL 1 | #define USE_SSLEAY 1 | #define HAVE_OPENSSL_PKCS12_H 1 | #define HAVE_OPENSSL_ENGINE_H 1 | #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 | #define HAVE_RAND_STATUS 1 | #define HAVE_RAND_EGD 1 | #define HAVE_ENGINE_CLEANUP 1 | #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 | #define HAVE_SSL_GET_SHUTDOWN 1 | #define RANDOM_FILE "/dev/urandom" | #define HAVE_SSLEAY_SRP 1 | #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" | #define HAVE_LIBRTMP_RTMP_H 1 | #define USE_LIBRTMP 1 | #define HAVE_LIBIDN 1 | #define HAVE_IDN_FREE 1 | #define HAVE_IDNA_STRERROR 1 | #define HAVE_TLD_STRERROR 1 | #define HAVE_IDN_FREE_H 1 | #define HAVE_TLD_H 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_WAIT_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGINTERRUPT 1 | #define HAVE_SIGNAL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_SOCKET 1 | #define HAVE_SOCKETPAIR 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 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:38379: result: no configure:38395: checking how to set a socket into non-blocking mode configure:38408: result: fcntl O_NONBLOCK configure:38419: checking for perl configure:38438: found /usr/bin/perl configure:38450: result: /usr/bin/perl configure:38464: checking for gnroff configure:38498: result: no configure:38464: checking for nroff configure:38483: found /usr/bin/nroff configure:38495: result: /usr/bin/nroff configure:38510: checking how to use *nroff to get plain text from man pages configure:38528: result: -man configure:38675: checking whether to enable the threaded resolver configure:38691: result: no configure:38772: checking whether to enable verbose strings configure:38790: result: yes configure:38796: checking whether to enable SSPI support (Windows native builds only) configure:38835: result: no configure:38842: checking whether to enable cryptographic authentication methods configure:38859: result: yes configure:38890: checking whether to enable NTLM delegation to winbind's helper configure:38897: result: yes configure:38912: checking whether to enable TLS-SRP authentication configure:38931: result: yes configure:38946: checking whether to enable support for cookies configure:38963: result: yes configure:38970: checking whether hiding of library internal symbols will actually happen configure:38984: result: yes configure:39002: checking whether to enforce SONAME bump configure:39017: result: no configure:39468: checking that generated files are newer than configure configure:39474: result: done configure:39561: 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 nick-KGP-M-E-D16 config.status:1495: creating Makefile config.status:1495: creating docs/Makefile config.status:1495: creating docs/examples/Makefile config.status:1495: creating docs/libcurl/Makefile config.status:1495: creating include/Makefile config.status:1495: creating include/curl/Makefile config.status:1495: creating src/Makefile config.status:1495: creating lib/Makefile config.status:1495: creating lib/libcurl.vers config.status:1495: creating tests/Makefile config.status:1495: creating tests/certs/Makefile config.status:1495: creating tests/certs/scripts/Makefile config.status:1495: creating tests/data/Makefile config.status:1495: creating tests/server/Makefile config.status:1495: creating tests/libtest/Makefile config.status:1495: creating tests/unit/Makefile config.status:1495: creating packages/Makefile config.status:1495: creating packages/Win32/Makefile config.status:1495: creating packages/Win32/cygwin/Makefile config.status:1495: creating packages/Linux/Makefile config.status:1495: creating packages/Linux/RPM/Makefile config.status:1495: creating packages/Linux/RPM/curl.spec config.status:1495: creating packages/Linux/RPM/curl-ssl.spec config.status:1495: creating packages/Solaris/Makefile config.status:1495: creating packages/EPM/curl.list config.status:1495: creating packages/EPM/Makefile config.status:1495: creating packages/vms/Makefile config.status:1495: creating packages/AIX/Makefile config.status:1495: creating packages/AIX/RPM/Makefile config.status:1495: creating packages/AIX/RPM/curl.spec config.status:1495: creating curl-config config.status:1495: creating libcurl.pc config.status:1495: creating lib/curl_config.h config.status:1495: creating include/curl/curlbuild.h config.status:1724: executing depfiles commands config.status:1724: executing libtool commands configure:42015: amending lib/Makefile configure:42015: amending src/Makefile configure:42015: amending tests/unit/Makefile configure:42015: amending tests/server/Makefile configure:42015: amending tests/libtest/Makefile configure:42015: amending docs/examples/Makefile configure:42126: Configured to build curl/libcurl: curl version: 7.35.0 Host setup: x86_64-unknown-linux-gnu Install prefix: /usr/local Compiler: gcc SSL support: enabled (OpenSSL) SSH support: no (--with-libssh2) zlib support: enabled GSSAPI support: no (--with-gssapi) SPNEGO support: no (--with-spnego) TLS-SRP support: enabled resolver: default (--enable-ares / --enable-threaded-resolver) ipv6 support: enabled IDN support: enabled 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/ssl/certs/ca-certificates.crt ca cert path: no LDAP support: enabled (OpenLDAP) LDAPS support: enabled RTSP support: enabled RTMP support: enabled (librtmp) metalink support: no (--with-libmetalink) HTTP2 support: disabled (--with-nghttp2) Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMTP SMTPS TELNET TFTP ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-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_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_file__dev_urandom=yes ac_cv_func_CRYPTO_cleanup_all_ex_data=yes ac_cv_func_ENGINE_cleanup=yes ac_cv_func_ENGINE_init=yes ac_cv_func_ENGINE_load_builtin_engines=yes ac_cv_func_RAND_egd=yes ac_cv_func_RAND_screen=no ac_cv_func_RAND_status=yes ac_cv_func_SSL_get_shutdown=yes ac_cv_func_SSLv2_client_method=no ac_cv_func_alarm=yes ac_cv_func_basename=yes ac_cv_func_clock_gettime=yes ac_cv_func_closesocket=no ac_cv_func_closesocket_camel=no ac_cv_func_connect=yes ac_cv_func_fcntl=yes ac_cv_func_fcntl_o_nonblock=yes ac_cv_func_fdopen=yes ac_cv_func_fork=yes ac_cv_func_freeaddrinfo=yes ac_cv_func_freeifaddrs=yes ac_cv_func_fsetxattr=yes ac_cv_func_ftruncate=yes ac_cv_func_gai_strerror=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getaddrinfo_threadsafe=yes ac_cv_func_geteuid=yes ac_cv_func_gethostbyaddr=yes ac_cv_func_gethostbyaddr_r=yes ac_cv_func_gethostbyname=yes ac_cv_func_gethostbyname_r=yes ac_cv_func_gethostname=yes ac_cv_func_getifaddrs=yes ac_cv_func_getnameinfo=yes ac_cv_func_getpass_r=no ac_cv_func_getppid=yes ac_cv_func_getprotobyname=yes ac_cv_func_getpwuid=yes ac_cv_func_getrlimit=yes ac_cv_func_getservbyport_r=yes ac_cv_func_gettimeofday=yes ac_cv_func_gmtime_r=yes ac_cv_func_idn_free=yes ac_cv_func_idna_strerror=yes ac_cv_func_inet_addr=yes ac_cv_func_inet_ntoa_r=no ac_cv_func_inet_ntop=yes ac_cv_func_inet_pton=yes ac_cv_func_ioctl=yes ac_cv_func_ioctl_fionbio=yes ac_cv_func_ioctl_siocgifaddr=yes ac_cv_func_ioctlsocket=no ac_cv_func_ioctlsocket_camel=no ac_cv_func_ldap_init_fd=yes ac_cv_func_ldap_url_parse=yes ac_cv_func_localtime_r=yes ac_cv_func_memrchr=no ac_cv_func_perror=yes ac_cv_func_pipe=yes ac_cv_func_poll=yes ac_cv_func_recv=yes ac_cv_func_select=yes ac_cv_func_send=yes ac_cv_func_setlocale=yes ac_cv_func_setmode=no ac_cv_func_setrlimit=yes ac_cv_func_setsockopt=yes ac_cv_func_setsockopt_so_nonblock=no ac_cv_func_sigaction=yes ac_cv_func_siginterrupt=yes ac_cv_func_signal=yes ac_cv_func_sigsetjmp=yes ac_cv_func_socket=yes ac_cv_func_socketpair=yes ac_cv_func_strcasecmp=yes ac_cv_func_strcmpi=no ac_cv_func_strdup=yes ac_cv_func_strerror_r=yes ac_cv_func_stricmp=no ac_cv_func_strncasecmp=yes ac_cv_func_strncmpi=no ac_cv_func_strnicmp=no ac_cv_func_strstr=yes ac_cv_func_strtok_r=yes ac_cv_func_strtoll=yes ac_cv_func_tld_strerror=yes ac_cv_func_uname=yes ac_cv_func_utime=yes ac_cv_func_writev=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_idn_free_h=yes ac_cv_header_ifaddrs_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_io_h=no ac_cv_header_lber_h=yes ac_cv_header_ldap_h=yes ac_cv_header_ldap_ssl_h=no ac_cv_header_ldapssl_h=no ac_cv_header_libgen_h=yes ac_cv_header_librtmp_rtmp_h=yes ac_cv_header_libssh2_h=no ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_malloc_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_openssl_crypto_h=yes ac_cv_header_openssl_engine_h=yes ac_cv_header_openssl_err_h=yes ac_cv_header_openssl_pem_h=yes ac_cv_header_openssl_pkcs12_h=yes ac_cv_header_openssl_rsa_h=yes ac_cv_header_openssl_ssl_h=yes ac_cv_header_openssl_x509_h=yes ac_cv_header_poll_h=yes ac_cv_header_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=yes ac_cv_header_sys_filio_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_poll_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_sockio_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_uio_h=yes ac_cv_header_sys_un_h=yes ac_cv_header_sys_utime_h=no ac_cv_header_sys_wait_h=yes ac_cv_header_sys_xattr_h=yes ac_cv_header_termio_h=yes ac_cv_header_termios_h=yes ac_cv_header_time=yes ac_cv_header_time_h=yes ac_cv_header_tld_h=yes ac_cv_header_unistd_h=yes ac_cv_header_utime_h=yes ac_cv_header_winber_h=no ac_cv_header_windows_h=no ac_cv_header_winldap_h=no ac_cv_header_winsock2_h=no ac_cv_header_winsock_h=no ac_cv_header_ws2tcpip_h=no ac_cv_header_zlib_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_lib_crypto_CRYPTO_lock=yes ac_cv_lib_crypto_SRP_Calc_client_key=yes ac_cv_lib_rtmp_RTMP_Init=yes ac_cv_lib_ssh2_libssh2_channel_open_ex=no ac_cv_lib_ssl_SSL_connect=yes ac_cv_lib_z_inflateEnd=yes ac_cv_msg_nosignal=yes ac_cv_native_windows=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_NROFF=/usr/bin/nroff ac_cv_path_PERL=/usr/bin/perl ac_cv_path_SED=/bin/sed ac_cv_path_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_mkdir=/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_MANIFEST_TOOL=mt 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_sig_atomic_t_volatile=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_struct_timeval=yes 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 ac_cv_working_ni_withscopeid=no am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes curl_cv_def_OPENSSL_VERSION_NUMBER=0x1000106fL curl_cv_def___GNUC__=4 curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int' curl_cv_func_recv_args='int,void *,size_t,int,ssize_t' curl_cv_func_select_args='int,fd_set *,struct timeval *,int' curl_cv_func_send_args='int,const void *,size_t,int,ssize_t' curl_cv_gclk_LIBS= curl_cv_getnameinfo=yes curl_cv_have_def_OPENSSL_VERSION_NUMBER=yes curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=no curl_cv_have_def__WIN32=no curl_cv_have_def___DECC=no curl_cv_have_def___DECC_VER=no curl_cv_have_def___GNUC__=yes curl_cv_have_def___HP_cc=no curl_cv_have_def___IBMC__=no curl_cv_have_def___INTEL_COMPILER=no curl_cv_have_def___LCC__=no curl_cv_have_def___SUNPRO_C=no curl_cv_have_def___TINYC__=no curl_cv_have_def___WATCOMC__=no curl_cv_have_def___clang__=no curl_cv_have_def___sgi=no curl_cv_have_def_h_errno=yes curl_cv_ldap_LIBS='-llber -lldap' curl_cv_need_header_lber_h=no curl_cv_need_header_malloc_h=no curl_cv_need_header_memory_h=no curl_cv_recv=yes curl_cv_save_LIBS='-lz ' curl_cv_select=yes curl_cv_send=yes curl_cv_variadic_macros_c99=yes curl_cv_variadic_macros_gcc=yes 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=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} "/home/nick/Downloads/curl-7.35.0/missing" --run aclocal-1.14' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/usr/bin/ar' AS='as' AUTOCONF='${SHELL} "/home/nick/Downloads/curl-7.35.0/missing" --run autoconf' AUTOHEADER='${SHELL} "/home/nick/Downloads/curl-7.35.0/missing" --run autoheader' AUTOMAKE='${SHELL} "/home/nick/Downloads/curl-7.35.0/missing" --run automake-1.14' AWK='gawk' BLANK_AT_MAKETIME='' BUILD_LIBHOSTNAME_FALSE='#' BUILD_LIBHOSTNAME_TRUE='' BUILD_UNITTESTS_FALSE='' BUILD_UNITTESTS_TRUE='#' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -Wno-system-headers' CFLAG_CURL_SYMBOL_HIDING='-fvisibility=hidden' CONFIGURE_OPTIONS='""' CPP='gcc -E' CPPFLAGS='' CPPFLAG_CURL_STATICLIB='' CROSSCOMPILING_FALSE='' CROSSCOMPILING_TRUE='#' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CURLVERSION='7.35.0' CURL_CA_BUNDLE='"/etc/ssl/certs/ca-certificates.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='' CURL_DISABLE_LDAPS='' CURL_DISABLE_POP3='' CURL_DISABLE_PROXY='' CURL_DISABLE_RTSP='' 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='/bin/grep -E' ENABLE_SHARED='yes' ENABLE_STATIC='yes' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' HAVE_GNUTLS_SRP='' HAVE_LDAP_SSL='1' HAVE_LIBZ='1' HAVE_LIBZ_FALSE='#' HAVE_LIBZ_TRUE='' HAVE_SSLEAY_SRP='1' IDN_ENABLED='1' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' IPV6_ENABLED='1' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBCURL_LIBS='-lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz' LIBMETALINK_CPPFLAGS='' LIBMETALINK_LDFLAGS='' LIBMETALINK_LIBS='' LIBOBJS='' LIBS='-lidn -lrtmp -lssl -lcrypto -lssl -lcrypto -llber -lldap -lz' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} "/home/nick/Downloads/curl-7.35.0/missing" --run makeinfo' MANIFEST_TOOL=':' MANOPT='-man' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' NROFF='/usr/bin/nroff' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='curl' PACKAGE_BUGREPORT='a suitable curl mailing list: http://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='/usr/bin/pkg-config' RANDOM_FILE='/dev/urandom' RANLIB='ranlib' REQUIRE_LIB_DEPS='no' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SONAME_BUMP_FALSE='' SONAME_BUMP_TRUE='#' SSL_ENABLED='1' STRIP='strip' SUPPORT_FEATURES='SSL IPv6 libz IDN NTLM NTLM_WB TLS-SRP' SUPPORT_PROTOCOLS='DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS POP3 POP3S RTMP RTSP SMTP SMTPS 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_LIBRTMP='1' USE_LIBSSH2='' USE_MANUAL_FALSE='#' USE_MANUAL_TRUE='' USE_NGHTTP2='' USE_NSS='' USE_OPENLDAP='1' USE_POLARSSL='' USE_SCHANNEL='' USE_SSLEAY='1' USE_WINDOWS_SSPI='' VERSION='-' VERSIONNUM='072300' ZLIB_LIBS='-lz' 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-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/nick/Downloads/curl-7.35.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}' 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: http://curl.haxx.se/mail/" #define PACKAGE_URL "" #define PACKAGE "curl" #define VERSION "-" #define OS "x86_64-unknown-linux-gnu" #define HAVE_SYS_TYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_LONG 8 #define SIZEOF_VOIDP 8 #define CURL_TYPEOF_CURL_OFF_T long #define CURL_FORMAT_CURL_OFF_T "ld" #define CURL_FORMAT_CURL_OFF_TU "lu" #define CURL_FORMAT_OFF_T "%ld" #define CURL_SIZEOF_CURL_OFF_T 8 #define CURL_SUFFIX_CURL_OFF_T L #define CURL_SUFFIX_CURL_OFF_TU UL #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_LDAP_SSL 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define HAVE_ZLIB_H 1 #define HAVE_LIBZ 1 #define HAVE_LBER_H 1 #define HAVE_LDAP_H 1 #define HAVE_LDAP_URL_PARSE 1 #define HAVE_LDAP_INIT_FD 1 #define USE_OPENLDAP 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_WRITABLE_ARGV 1 #define HAVE_LIBSSL 1 #define HAVE_OPENSSL_X509_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_RSA_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_CRYPTO_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_PEM_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_SSL_H 1 #define USE_OPENSSL 1 #define HAVE_OPENSSL_ERR_H 1 #define USE_OPENSSL 1 #define USE_SSLEAY 1 #define HAVE_OPENSSL_PKCS12_H 1 #define HAVE_OPENSSL_ENGINE_H 1 #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1 #define HAVE_RAND_STATUS 1 #define HAVE_RAND_EGD 1 #define HAVE_ENGINE_CLEANUP 1 #define HAVE_CRYPTO_CLEANUP_ALL_EX_DATA 1 #define HAVE_SSL_GET_SHUTDOWN 1 #define RANDOM_FILE "/dev/urandom" #define HAVE_SSLEAY_SRP 1 #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt" #define HAVE_LIBRTMP_RTMP_H 1 #define USE_LIBRTMP 1 #define HAVE_LIBIDN 1 #define HAVE_IDN_FREE 1 #define HAVE_IDNA_STRERROR 1 #define HAVE_TLD_STRERROR 1 #define HAVE_IDN_FREE_H 1 #define HAVE_TLD_H 1 #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_TERMIO_H 1 #define HAVE_SGTTY_H 1 #define HAVE_FCNTL_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_TIME_H 1 #define HAVE_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_ARPA_TFTP_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_VARIADIC_MACROS_C99 1 #define HAVE_VARIADIC_MACROS_GCC 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_SYS_SOCKET_H 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_STROPTS_H 1 #define HAVE_IOCTL 1 #define HAVE_IOCTL_FIONBIO 1 #define HAVE_IOCTL_SIOCGIFADDR 1 #define HAVE_LOCALTIME_R 1 #define HAVE_POLL 1 #define HAVE_POLL_FINE 1 #define HAVE_SETSOCKOPT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIGACTION 1 #define HAVE_SIGINTERRUPT 1 #define HAVE_SIGNAL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGSETJMP 1 #define HAVE_SOCKET 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR_R 1 #define HAVE_POSIX_STRERROR_R 1 #define STRERROR_R_TYPE_ARG3 size_t #define HAVE_STRNCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOLL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_FORK 1 #define HAVE_GETEUID 1 #define HAVE_GETPPID 1 #define HAVE_GETPROTOBYNAME 1 #define HAVE_GETPWUID 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_INET_ADDR 1 #define HAVE_PERROR 1 #define HAVE_PIPE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_UNAME 1 #define HAVE_UTIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define GETNAMEINFO_TYPE_ARG2 socklen_t #define GETNAMEINFO_TYPE_ARG46 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 NTLM_WB_ENABLED 1 #define NTLM_WB_FILE "/usr/bin/ntlm_auth" #define USE_TLS_SRP 1 #define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default"))) configure: exit 0