Files
selfcare/proxy_c/third-lib/libcurl/config.log
2025-03-06 20:02:40 +08:00

63820 lines
1.8 MiB

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 = simonzhangsz
uname -m = x86_64
uname -r = 5.15.167.4-microsoft-standard-WSL2
uname -s = Linux
uname -v = #1 SMP Tue Nov 5 00:21:55 UTC 2024
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/simon/bin
PATH: /home/simon/.local/share/pnpm
PATH: /home/simon/.nvm/versions/node/v23.4.0/bin
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
PATH: /snap/bin
PATH: /usr/local/go/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:3090: checking whether to enable maintainer-specific portions of Makefiles
configure:3099: result: no
configure:3123: checking whether make supports nested variables
configure:3140: result: yes
configure:3153: checking whether to enable debug build options
configure:3172: result: no
configure:3176: checking whether to enable compiler optimizer
configure:3197: result: (assumed) yes
configure:3209: checking whether to enable strict compiler warnings
configure:3228: result: no
configure:3232: checking whether to enable compiler warnings as errors
configure:3251: result: no
configure:3255: checking whether to enable curl debug memory tracking
configure:3274: result: no
configure:3288: checking whether to enable hiding of library internal symbols
configure:3309: result: yes
configure:3320: checking whether to enable c-ares for DNS lookups
configure:3342: result: no
configure:3346: checking whether to disable dependency on -lrt
configure:3362: result: (assumed no)
configure:3394: checking for path separator
configure:3396: result: :
configure:3422: checking for sed
configure:3441: found /usr/bin/sed
configure:3454: result: /usr/bin/sed
configure:3471: checking for grep
configure:3490: found /usr/bin/grep
configure:3503: result: /usr/bin/grep
configure:3519: checking for egrep
configure:3522: result: /usr/bin/grep -E
configure:3622: checking for ar
configure:3641: found /usr/bin/ar
configure:3653: result: /usr/bin/ar
configure:3905: checking for a BSD-compatible install
configure:3973: result: /usr/bin/install -c
configure:4035: checking for gcc
configure:4051: found /usr/bin/gcc
configure:4062: result: gcc
configure:4291: checking for C compiler version
configure:4300: gcc --version >&5
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4311: $? = 0
configure:4300: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/11/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 11.4.0-1ubuntu1~22.04' --with-bugurl=file:///usr/share/doc/gcc-11/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-11 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --enable-cet --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-nvptx/usr,amdgcn-amdhsa=/build/gcc-11-XeT9lY/gcc-11-11.4.0/debian/tmp-gcn/usr --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-serialization=2
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
... rest of stderr output deleted ...
configure:4311: $? = 0
configure:4300: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4311: $? = 1
configure:4300: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4311: $? = 1
configure:4330: checking whether the C compiler works
configure:4352: gcc conftest.c >&5
configure:4356: $? = 0
configure:4404: result: yes
configure:4407: checking for C compiler default output file name
configure:4409: result: a.out
configure:4415: checking for suffix of executables
configure:4422: gcc -o conftest conftest.c >&5
configure:4426: $? = 0
configure:4448: result:
configure:4469: checking whether we are cross compiling
configure:4477: gcc -o conftest conftest.c >&5
configure:4481: $? = 0
configure:4488: ./conftest
configure:4492: $? = 0
configure:4507: result: no
configure:4512: checking for suffix of object files
configure:4533: gcc -c conftest.c >&5
configure:4537: $? = 0
configure:4558: result: o
configure:4562: checking whether we are using the GNU C compiler
configure:4580: gcc -c conftest.c >&5
configure:4580: $? = 0
configure:4589: result: yes
configure:4598: checking whether gcc accepts -g
configure:4617: gcc -c -g conftest.c >&5
configure:4617: $? = 0
configure:4656: result: yes
configure:4673: checking for gcc option to accept ISO C89
configure:4735: gcc -c -g -O2 conftest.c >&5
configure:4735: $? = 0
configure:4748: result: none needed
configure:4773: checking whether gcc understands -c and -o together
configure:4794: gcc -c conftest.c -o conftest2.o
configure:4797: $? = 0
configure:4794: gcc -c conftest.c -o conftest2.o
configure:4797: $? = 0
configure:4809: result: yes
configure:4832: checking how to run the C preprocessor
configure:4863: gcc -E conftest.c
configure:4863: $? = 0
configure:4877: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4877: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4902: result: gcc -E
configure:4922: gcc -E conftest.c
configure:4922: $? = 0
configure:4936: gcc -E conftest.c
conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory
9 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4936: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4977: checking whether build environment is sane
configure:5032: result: yes
configure:5180: checking for a thread-safe mkdir -p
configure:5219: result: /usr/bin/mkdir -p
configure:5226: checking for gawk
configure:5242: found /usr/bin/gawk
configure:5253: result: gawk
configure:5264: checking whether make sets $(MAKE)
configure:5286: result: yes
configure:5316: checking for style of include used by make
configure:5344: result: GNU
configure:5445: checking dependency style of gcc
configure:5556: result: gcc3
configure:5619: checking curl version
configure:5621: result: 7.52.1
configure:5666: checking build system type
configure:5680: result: x86_64-pc-linux-gnu
configure:5700: checking host system type
configure:5713: result: x86_64-pc-linux-gnu
configure:5762: checking for sys/types.h
configure:5762: gcc -c conftest.c >&5
configure:5762: $? = 0
configure:5762: result: yes
configure:5762: checking for stdint.h
configure:5762: gcc -c conftest.c >&5
configure:5762: $? = 0
configure:5762: result: yes
configure:5762: checking for inttypes.h
configure:5762: gcc -c conftest.c >&5
configure:5762: $? = 0
configure:5762: result: yes
configure:5775: checking for grep that handles long lines and -e
configure:5833: result: /usr/bin/grep
configure:5838: checking for egrep
configure:5900: result: /usr/bin/grep -E
configure:5905: checking for ANSI C header files
configure:5924: gcc -c conftest.c >&5
configure:5924: $? = 0
configure:5997: gcc -o conftest conftest.c >&5
configure:5997: $? = 0
configure:5997: ./conftest
configure:5997: $? = 0
configure:6008: result: yes
configure:6021: checking for sys/types.h
configure:6021: result: yes
configure:6021: checking for sys/stat.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6021: checking for stdlib.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6021: checking for string.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6021: checking for memory.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6021: checking for strings.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6021: checking for inttypes.h
configure:6021: result: yes
configure:6021: checking for stdint.h
configure:6021: result: yes
configure:6021: checking for unistd.h
configure:6021: gcc -c conftest.c >&5
configure:6021: $? = 0
configure:6021: result: yes
configure:6034: checking if cpp -P is needed
configure:6051: result: yes
configure:6055: checking if cpp -P works
configure:6074: result: yes
configure:6103: checking size of long
configure:6108: gcc -o conftest conftest.c >&5
configure:6108: $? = 0
configure:6108: ./conftest
configure:6108: $? = 0
configure:6122: result: 8
configure:6136: checking size of void*
configure:6141: gcc -o conftest conftest.c >&5
configure:6141: $? = 0
configure:6141: ./conftest
configure:6141: $? = 0
configure:6155: result: 8
configure:6193: checking for 64-bit curl_off_t data type
configure:6243: gcc -c conftest.c >&5
configure:6243: $? = 0
configure:6309: result: long
configure:6434: checking size of curl_off_t
configure:6436: result: 8
configure:6439: checking formatting string directive for curl_off_t
configure:6479: result: "ld"
configure:6482: checking formatting string directive for unsigned curl_off_t
configure:6484: result: "lu"
configure:6488: checking constant suffix string for curl_off_t
configure:6555: gcc -c conftest.c >&5
configure:6555: $? = 0
configure:6569: result: L
configure:6571: checking constant suffix string for unsigned curl_off_t
configure:6573: result: UL
configure:6643: checking if OS is AIX (to define _ALL_SOURCE)
configure:6663: result: no
configure:6673: checking if _THREAD_SAFE is already defined
configure:6694: gcc -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:43:7: error: unknown type name 'force'
43 | force compilation error
| ^~~~~
conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
43 | force compilation error
| ^~~~~
configure:6694: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_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:6702: result: no
configure:6710: checking if _THREAD_SAFE is actually needed
configure:6729: result: no
configure:6734: checking if _THREAD_SAFE is onwards defined
configure:6751: result: no
configure:6758: checking if _REENTRANT is already defined
configure:6779: gcc -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:43:7: error: unknown type name 'force'
43 | force compilation error
| ^~~~~
conftest.c:43:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
43 | force compilation error
| ^~~~~
configure:6779: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_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:6787: result: no
configure:6795: checking if _REENTRANT is actually needed
configure:6826: gcc -c conftest.c >&5
configure:6826: $? = 0
configure:6857: gcc -c conftest.c >&5
configure:6857: $? = 0
configure:6928: gcc -o conftest conftest.c >&5
configure:6928: $? = 0
configure:7007: gcc -o conftest conftest.c >&5
configure:7007: $? = 0
configure:7086: gcc -o conftest conftest.c >&5
configure:7086: $? = 0
configure:7165: gcc -o conftest conftest.c >&5
configure:7165: $? = 0
configure:7244: gcc -o conftest conftest.c >&5
/usr/bin/ld: /tmp/ccQYDyyr.o: in function `main':
conftest.c:(.text+0xe): undefined reference to `inet_ntoa_r'
collect2: error: ld returned 1 exit status
configure:7244: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_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 <limits.h>
| #else
| # include <assert.h>
| #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:7327: gcc -o conftest conftest.c >&5
configure:7327: $? = 0
configure:7406: gcc -o conftest conftest.c >&5
configure:7406: $? = 0
configure:7485: gcc -o conftest conftest.c >&5
configure:7485: $? = 0
configure:7564: gcc -o conftest conftest.c >&5
configure:7564: $? = 0
configure:7620: result: no
configure:7625: checking if _REENTRANT is onwards defined
configure:7642: result: no
configure:7655: checking for special C compiler options needed for large files
configure:7699: result: no
configure:7705: checking for _FILE_OFFSET_BITS value needed for large files
configure:7729: gcc -c conftest.c >&5
configure:7729: $? = 0
configure:7760: result: no
configure:7890: checking how to print strings
configure:7917: result: printf
configure:7938: checking for a sed that does not truncate output
configure:8002: result: /usr/bin/sed
configure:8020: checking for fgrep
configure:8082: result: /usr/bin/grep -F
configure:8117: checking for ld used by gcc
configure:8184: result: /usr/bin/ld
configure:8191: checking if the linker (/usr/bin/ld) is GNU ld
configure:8206: result: yes
configure:8218: checking for BSD- or MS-compatible name lister (nm)
configure:8272: result: /usr/bin/nm -B
configure:8402: checking the name lister (/usr/bin/nm -B) interface
configure:8409: gcc -c conftest.c >&5
configure:8412: /usr/bin/nm -B "conftest.o"
configure:8415: output
0000000000000000 B some_variable
configure:8422: result: BSD nm
configure:8425: checking whether ln -s works
configure:8429: result: yes
configure:8437: checking the maximum length of command line arguments
configure:8568: result: 1572864
configure:8616: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:8656: result: func_convert_file_noop
configure:8663: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:8683: result: func_convert_file_noop
configure:8690: checking for /usr/bin/ld option to reload object files
configure:8697: result: -r
configure:8771: checking for objdump
configure:8787: found /usr/bin/objdump
configure:8798: result: objdump
configure:8827: checking how to recognize dependent libraries
configure:9027: result: pass_all
configure:9112: checking for dlltool
configure:9142: result: no
configure:9169: checking how to associate runtime and link libraries
configure:9196: result: printf %s\n
configure:9320: checking for archiver @FILE support
configure:9336: gcc -c conftest.c >&5
configure:9336: $? = 0
configure:9339: /usr/bin/ar cru libconftest.a @conftest.lst >&5
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
configure:9342: $? = 0
configure:9347: /usr/bin/ar cru libconftest.a @conftest.lst >&5
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
/usr/bin/ar: conftest.o: No such file or directory
configure:9350: $? = 1
configure:9362: result: @
configure:9420: checking for strip
configure:9436: found /usr/bin/strip
configure:9447: result: strip
configure:9519: checking for ranlib
configure:9535: found /usr/bin/ranlib
configure:9546: result: ranlib
configure:9648: checking command to parse /usr/bin/nm -B output from gcc object
configure:9801: gcc -c conftest.c >&5
configure:9804: $? = 0
configure:9808: /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:9811: $? = 0
configure:9877: gcc -o conftest conftest.c conftstm.o >&5
configure:9880: $? = 0
configure:9918: result: ok
configure:9965: checking for sysroot
configure:9995: result: no
configure:10002: checking for a working dd
configure:10040: result: /usr/bin/dd
configure:10044: checking how to truncate binary pipes
configure:10059: result: /usr/bin/dd bs=4096 count=1
configure:10195: gcc -c conftest.c >&5
configure:10198: $? = 0
configure:10387: checking for mt
configure:10403: found /usr/bin/mt
configure:10414: result: mt
configure:10437: checking if mt is a manifest tool
configure:10443: mt '-?'
configure:10451: result: no
configure:11124: checking for dlfcn.h
configure:11124: gcc -c conftest.c >&5
configure:11124: $? = 0
configure:11124: result: yes
configure:11785: checking for objdir
configure:11800: result: .libs
configure:12064: checking if gcc supports -fno-rtti -fno-exceptions
configure:12082: gcc -c -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:12086: $? = 0
configure:12099: result: no
configure:12457: checking for gcc option to produce PIC
configure:12464: result: -fPIC -DPIC
configure:12472: checking if gcc PIC flag -fPIC -DPIC works
configure:12490: gcc -c -fPIC -DPIC -DPIC conftest.c >&5
configure:12494: $? = 0
configure:12507: result: yes
configure:12536: checking if gcc static flag -static works
configure:12564: result: yes
configure:12579: checking if gcc supports -c -o file.o
configure:12600: gcc -c -o out/conftest2.o conftest.c >&5
configure:12604: $? = 0
configure:12626: result: yes
configure:12634: checking if gcc supports -c -o file.o
configure:12681: result: yes
configure:12714: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13975: result: yes
configure:14012: checking whether -lc should be explicitly linked in
configure:14020: gcc -c conftest.c >&5
configure:14023: $? = 0
configure:14038: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:14041: $? = 0
configure:14055: result: no
configure:14215: checking dynamic linker characteristics
configure:14795: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5
configure:14795: $? = 0
configure:15044: result: GNU/Linux ld.so
configure:15166: checking how to hardcode library paths into programs
configure:15191: result: immediate
configure:15724: checking whether stripping libraries is possible
configure:15729: result: yes
configure:15764: checking if libtool supports shared libraries
configure:15766: result: yes
configure:15769: checking whether to build shared libraries
configure:15794: result: yes
configure:15797: checking whether to build static libraries
configure:15801: result: yes
configure:15872: checking whether to build shared libraries with -version-info
configure:15883: result: yes
configure:15890: checking whether to build shared libraries with -no-undefined
configure:15903: result: no
configure:15910: checking whether to build shared libraries with -mimpure-text
configure:15920: result: no
configure:15947: checking whether to build shared libraries with PIC
configure:15949: result: yes
configure:15951: checking whether to build static libraries with PIC
configure:15953: result: yes
configure:15960: checking whether to build shared libraries only
configure:15968: result: no
configure:15975: checking whether to build static libraries only
configure:15983: result: no
configure:16073: checking for inline
configure:16089: gcc -c conftest.c >&5
configure:16089: $? = 0
configure:16097: result: inline
configure:16132: checking if compiler is DEC/Compaq/HP C
configure:16156: gcc -E -P conftest.c
configure:16156: $? = 0
configure:16200: gcc -E -P conftest.c
configure:16200: $? = 0
configure:16234: result: no
configure:16239: checking if compiler is HP-UX C
configure:16263: gcc -E -P conftest.c
configure:16263: $? = 0
configure:16296: result: no
configure:16301: checking if compiler is IBM C
configure:16325: gcc -E -P conftest.c
configure:16325: $? = 0
configure:16366: result: no
configure:16371: checking if compiler is Intel C
configure:16395: gcc -E -P conftest.c
configure:16395: $? = 0
configure:16490: result: no
configure:16495: checking if compiler is clang
configure:16519: gcc -E -P conftest.c
configure:16519: $? = 0
configure:16563: result: no
configure:16568: checking if compiler is GNU C
configure:16592: gcc -E -P conftest.c
configure:16592: $? = 0
configure:16616: result: yes
configure:16658: gcc -E -P conftest.c
configure:16658: $? = 0
configure:16686: checking if compiler is LCC
configure:16710: gcc -E -P conftest.c
configure:16710: $? = 0
configure:16743: result: no
configure:16748: checking if compiler is SGI MIPSpro C
configure:16772: gcc -E -P conftest.c
configure:16772: $? = 0
configure:16816: gcc -E -P conftest.c
configure:16816: $? = 0
configure:16860: gcc -E -P conftest.c
configure:16860: $? = 0
configure:16895: result: no
configure:16900: checking if compiler is SGI MIPS C
configure:16924: gcc -E -P conftest.c
configure:16924: $? = 0
configure:16968: gcc -E -P conftest.c
configure:16968: $? = 0
configure:17003: result: no
configure:17008: checking if compiler is SunPro C
configure:17032: gcc -E -P conftest.c
configure:17032: $? = 0
configure:17065: result: no
configure:17070: checking if compiler is Tiny C
configure:17094: gcc -E -P conftest.c
configure:17094: $? = 0
configure:17127: result: no
configure:17132: checking if compiler is Watcom C
configure:17156: gcc -E -P conftest.c
configure:17156: $? = 0
configure:17243: result: no
configure:17597: checking if compiler accepts debug disabling options
configure:17629: gcc -c conftest.c >&5
configure:17629: $? = 0
configure:17659: gcc -o conftest conftest.c >&5
configure:17659: $? = 0
configure:17701: gcc -o conftest conftest.c >&5
configure:17701: $? = 0
configure:17701: ./conftest
configure:17701: $? = 0
configure:17720: result: yes
configure:17722: compiler options added:
configure:17754: checking if compiler optimizer assumed setting might be used
configure:17792: result: yes
configure:17838: checking if compiler accepts optimizer enabling options
configure:17874: gcc -c -O2 conftest.c >&5
configure:17874: $? = 0
configure:17904: gcc -o conftest -O2 conftest.c >&5
configure:17904: $? = 0
configure:17946: gcc -o conftest -O2 conftest.c >&5
configure:17946: $? = 0
configure:17946: ./conftest
configure:17946: $? = 0
configure:17965: result: yes
configure:17967: compiler options added: -O2
configure:18220: checking if compiler accepts strict warning options
configure:18244: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:18244: $? = 0
configure:18274: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:18274: $? = 0
configure:18316: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:18316: $? = 0
configure:18316: ./conftest
configure:18316: $? = 0
configure:18335: result: yes
configure:18337: compiler options added: -Wno-system-headers
configure:18367: checking if compiler halts on compilation errors
configure:18384: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:42:7: error: unknown type name 'force'
42 | force compilation error
| ^~~~~
conftest.c:42:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
42 | force compilation error
| ^~~~~
configure:18384: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 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:18392: result: yes
configure:18399: checking if compiler halts on negative sized arrays
configure:18417: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:38:20: error: size of array 'bad_t' is negative
38 | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
| ^~~~~
configure:18417: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 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:18425: result: yes
configure:18432: checking if compiler halts on function prototype mismatch
configure:18461: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:39:11: error: conflicting types for 'rand'; have 'int(int)'
39 | int rand(int n);
| ^~~~
In file included from conftest.c:38:
/usr/include/stdlib.h:454:12: note: previous declaration of 'rand' with type 'int(void)'
454 | extern int rand (void) __THROW;
| ^~~~
conftest.c:40:11: error: conflicting types for 'rand'; have 'int(int)'
40 | int rand(int n)
| ^~~~
In file included from conftest.c:38:
/usr/include/stdlib.h:454:12: note: previous declaration of 'rand' with type 'int(void)'
454 | extern int rand (void) __THROW;
| ^~~~
configure:18461: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 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 <stdlib.h>
| 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:18469: result: yes
configure:18476: checking if compiler supports hiding library internal symbols
configure:18570: gcc -c -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5
configure:18570: $? = 0
configure:18593: result: yes
configure:18706: checking for windows.h
configure:18736: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:42:10: fatal error: windows.h: No such file or directory
42 | #include <windows.h>
| ^~~~~~~~~~~
compilation terminated.
configure:18736: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 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 <windows.h>
|
| int main (void)
| {
|
| #if defined(__CYGWIN__) || defined(__CEGCC__)
| HAVE_WINDOWS_H shall not be defined.
| #else
| int dummy=2*WINVER;
| #endif
|
| ;
| return 0;
| }
|
configure:18748: result: no
configure:18766: checking whether build target is a native Windows one
configure:18808: result: no
configure:19120: checking whether build target supports WIN32 file API
configure:19201: result: no
configure:19216: checking for good-to-use Mac CFLAGS
configure:19218: result: no
configure:19264: checking whether to support http
configure:19290: result: yes
configure:19295: checking whether to support ftp
configure:19314: result: yes
configure:19319: checking whether to support file
configure:19338: result: yes
configure:19343: checking whether to support ldap
configure:19364: result: yes
configure:19369: checking whether to support ldaps
configure:19413: result: yes
configure:19425: checking whether to support rtsp
configure:19450: result: yes
configure:19461: checking whether to support proxies
configure:19480: result: yes
configure:19486: checking whether to support dict
configure:19505: result: yes
configure:19510: checking whether to support telnet
configure:19529: result: yes
configure:19534: checking whether to support tftp
configure:19553: result: yes
configure:19559: checking whether to support pop3
configure:19578: result: yes
configure:19585: checking whether to support imap
configure:19604: result: yes
configure:19611: checking whether to support smb
configure:19630: result: yes
configure:19636: checking whether to support smtp
configure:19655: result: yes
configure:19661: checking whether to support gopher
configure:19680: result: yes
configure:19688: checking whether to provide built-in manual
configure:19703: result: yes
configure:19710: checking whether to enable generation of C code
configure:19728: result: yes
configure:19735: checking whether to use libgcc
configure:19750: result: no
configure:19757: checking if X/Open network library is required
configure:19777: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:46:3: error: unknown type name 'force'
46 | force compilation error
| ^~~~~
conftest.c:46:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
46 | force compilation error
| ^~~~~
conftest.c:48:1: error: expected declaration or statement at end of input
48 | }
| ^
configure:19777: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_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:19784: result: no
configure:19788: checking for gethostbyname
configure:19788: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:19788: $? = 0
configure:19788: result: yes
configure:20214: checking for windows.h
configure:20256: result: no
configure:20274: checking for winsock.h
configure:20317: result: no
configure:20330: checking for winsock2.h
configure:20373: result: no
configure:20387: checking for connect in libraries
configure:20414: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:20414: $? = 0
configure:20432: result: yes
configure:20445: checking whether time.h and sys/time.h may both be included
configure:20464: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:20464: $? = 0
configure:20471: result: yes
configure:20483: checking for sys/types.h
configure:20483: result: yes
configure:20483: checking sys/time.h usability
configure:20483: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:20483: $? = 0
configure:20483: result: yes
configure:20483: checking sys/time.h presence
configure:20483: gcc -E conftest.c
configure:20483: $? = 0
configure:20483: result: yes
configure:20483: checking for sys/time.h
configure:20483: result: yes
configure:20483: checking time.h usability
configure:20483: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:20483: $? = 0
configure:20483: result: yes
configure:20483: checking time.h presence
configure:20483: gcc -E conftest.c
configure:20483: $? = 0
configure:20483: result: yes
configure:20483: checking for time.h
configure:20483: result: yes
configure:20493: checking for monotonic clock_gettime
configure:20526: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:20526: $? = 0
configure:20528: result: yes
configure:20546: checking for clock_gettime in libraries
configure:20588: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:20588: $? = 0
configure:20609: result: no additional lib required
configure:20627: checking if monotonic clock_gettime works
configure:20670: gcc -o conftest -O2 -Wno-system-headers conftest.c >&5
configure:20670: $? = 0
configure:20670: ./conftest
configure:20670: $? = 0
configure:20672: result: yes
configure:20779: checking for pkg-config
configure:20798: found /usr/bin/pkg-config
configure:20810: result: /usr/bin/pkg-config
configure:20835: checking for zlib options with pkg-config
configure:20849: result: found
configure:20916: checking zlib.h usability
configure:20916: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:20916: $? = 0
configure:20916: result: yes
configure:20916: checking zlib.h presence
configure:20916: gcc -E conftest.c
configure:20916: $? = 0
configure:20916: result: yes
configure:20916: checking for zlib.h
configure:20916: result: yes
configure:21004: found both libz and libz.h header
configure:21040: checking for lber.h
configure:21078: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:60:10: fatal error: lber.h: No such file or directory
60 | #include <lber.h>
| ^~~~~~~~
compilation terminated.
configure:21078: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #include <lber.h>
|
| int main (void)
| {
|
| BerValue *bvp = NULL;
| BerElement *bep = ber_init(bvp);
| ber_free(bep, 1);
|
| ;
| return 0;
| }
|
configure:21090: result: no
configure:21157: checking for ldap.h
configure:21197: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:63:10: fatal error: ldap.h: No such file or directory
63 | #include <ldap.h>
| ^~~~~~~~
compilation terminated.
configure:21197: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #include <ldap.h>
|
| int main (void)
| {
|
| LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| int res = ldap_unbind(ldp);
|
| ;
| return 0;
| }
|
configure:21209: result: no
configure:21222: checking for ldapssl.h
configure:21268: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:69:10: fatal error: ldapssl.h: No such file or directory
69 | #include <ldapssl.h>
| ^~~~~~~~~~~
compilation terminated.
configure:21268: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #endif
| #include <ldapssl.h>
|
| int main (void)
| {
|
| char *cert_label = NULL;
| LDAP *ldp = ldap_ssl_init("dummy", LDAPS_PORT, cert_label);
|
| ;
| return 0;
| }
|
configure:21280: result: no
configure:21293: checking for ldap_ssl.h
configure:21335: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:66:10: fatal error: ldap_ssl.h: No such file or directory
66 | #include <ldap_ssl.h>
| ^~~~~~~~~~~~
compilation terminated.
configure:21335: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #endif
| #include <ldap_ssl.h>
|
| int main (void)
| {
|
| LDAP *ldp = ldapssl_init("dummy", LDAPS_PORT, 1);
|
| ;
| return 0;
| }
|
configure:21347: result: no
configure:21429: checking for LDAP libraries
configure:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lldap -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -llber -lldap -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lldap -llber -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lldapssl -lldapx -lldapsdk -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21493: gcc -o conftest -O2 -Wno-system-headers conftest.c -lldapsdk -lldapx -lldapssl -lz >&5
conftest.c: In function 'main':
conftest.c:73:11: error: unknown type name 'BerValue'
73 | BerValue *bvp = NULL;
| ^~~~~~~~
conftest.c:74:11: error: unknown type name 'BerElement'
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~~~
conftest.c:74:29: warning: implicit declaration of function 'ber_init' [-Wimplicit-function-declaration]
74 | BerElement *bep = ber_init(bvp);
| ^~~~~~~~
conftest.c:74:29: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
conftest.c:75:11: error: unknown type name 'LDAP'
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~
conftest.c:75:23: warning: implicit declaration of function 'ldap_init' [-Wimplicit-function-declaration]
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: error: 'LDAP_PORT' undeclared (first use in this function)
75 | LDAP *ldp = ldap_init("dummy", LDAP_PORT);
| ^~~~~~~~~
conftest.c:75:42: note: each undeclared identifier is reported only once for each function it appears in
conftest.c:76:21: warning: implicit declaration of function 'ldap_unbind' [-Wimplicit-function-declaration]
76 | int res = ldap_unbind(ldp);
| ^~~~~~~~~~~
conftest.c:77:11: warning: implicit declaration of function 'ber_free' [-Wimplicit-function-declaration]
77 | ber_free(bep, 1);
| ^~~~~~~~
configure:21493: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include <windows.h>
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #endif
| #ifndef NULL
| #define NULL (void *)0
| #endif
| #ifndef LDAP_DEPRECATED
| #define LDAP_DEPRECATED 1
| #endif
| #ifdef NEED_LBER_H
| #include <lber.h>
| #endif
| #ifdef HAVE_LDAP_H
| #include <ldap.h>
| #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:21507: result: cannot find LDAP libraries
configure:21528: WARNING: Cannot find libraries for LDAP support: LDAP disabled
configure:21647: checking whether to enable IPv6
configure:21688: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
conftest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int]
54 | main()
| ^~~~
configure:21688: $? = 0
configure:21688: ./conftest
configure:21688: $? = 0
configure:21689: result: yes
configure:21710: checking if struct sockaddr_in6 has sin6_scope_id member
configure:21729: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:21729: $? = 0
configure:21734: result: yes
configure:21746: checking if argv can be written to
configure:21764: gcc -o conftest -O2 -Wno-system-headers conftest.c -lz >&5
configure:21764: $? = 0
configure:21764: ./conftest
configure:21764: $? = 0
configure:21782: result: yes
configure:21836: checking if GSS-API support is requested
configure:21967: result: no
configure:22036: checking whether to enable Windows native SSL/TLS (Windows native builds only)
configure:22059: result: no
configure:22075: checking whether to enable Apple OS native SSL/TLS
configure:22091: result: no
configure:22232: checking for pkg-config
configure:22263: result: /usr/bin/pkg-config
configure:22288: checking for openssl options with pkg-config
configure:22302: result: found
configure:22331: pkg-config: SSL_LIBS: "-lssl -lcrypto"
configure:22333: pkg-config: SSL_LDFLAGS: ""
configure:22335: pkg-config: SSL_CPPFLAGS: ""
configure:22347: checking for HMAC_Update in -lcrypto
configure:22369: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lz >&5
configure:22369: $? = 0
configure:22378: result: yes
configure:22440: checking OpenSSL linking without -ldl
configure:22457: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:54:11: warning: implicit declaration of function 'SSLeay_add_all_algorithms'; did you mean 'OpenSSL_add_all_algorithms'? [-Wimplicit-function-declaration]
54 | SSLeay_add_all_algorithms();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| OpenSSL_add_all_algorithms
/usr/bin/ld: /tmp/cc06ouTq.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `SSLeay_add_all_algorithms'
collect2: error: ld returned 1 exit status
configure:22457: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| /* end confdefs.h. */
|
| #include <openssl/evp.h>
|
| int main (void)
| {
|
| SSLeay_add_all_algorithms();
|
| ;
| return 0;
| }
configure:22465: result: no
configure:22467: checking OpenSSL linking with -ldl
configure:22484: gcc -o conftest -O2 -Wno-system-headers conftest.c -ldl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:54:13: warning: implicit declaration of function 'SSLeay_add_all_algorithms'; did you mean 'OpenSSL_add_all_algorithms'? [-Wimplicit-function-declaration]
54 | SSLeay_add_all_algorithms();
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| OpenSSL_add_all_algorithms
/usr/bin/ld: /tmp/ccbwcens.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `SSLeay_add_all_algorithms'
collect2: error: ld returned 1 exit status
configure:22484: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| /* end confdefs.h. */
|
| #include <openssl/evp.h>
|
| int main (void)
| {
|
| SSLeay_add_all_algorithms();
|
| ;
| return 0;
| }
configure:22492: result: no
configure:22511: checking for SSL_connect in -lssl
configure:22533: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:22533: $? = 0
configure:22542: result: yes
configure:22616: checking openssl/x509.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/x509.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/x509.h
configure:22616: result: yes
configure:22616: checking openssl/rsa.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/rsa.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/rsa.h
configure:22616: result: yes
configure:22616: checking openssl/crypto.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/crypto.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/crypto.h
configure:22616: result: yes
configure:22616: checking openssl/pem.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/pem.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/pem.h
configure:22616: result: yes
configure:22616: checking openssl/ssl.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/ssl.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/ssl.h
configure:22616: result: yes
configure:22616: checking openssl/err.h usability
configure:22616: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking openssl/err.h presence
configure:22616: gcc -E conftest.c
configure:22616: $? = 0
configure:22616: result: yes
configure:22616: checking for openssl/err.h
configure:22616: result: yes
configure:22658: checking openssl/pkcs12.h usability
configure:22658: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22658: $? = 0
configure:22658: result: yes
configure:22658: checking openssl/pkcs12.h presence
configure:22658: gcc -E conftest.c
configure:22658: $? = 0
configure:22658: result: yes
configure:22658: checking for openssl/pkcs12.h
configure:22658: result: yes
configure:22679: checking for ENGINE_init
configure:22679: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:22679: $? = 0
configure:22679: result: yes
configure:22684: checking openssl/engine.h usability
configure:22684: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:22684: $? = 0
configure:22684: result: yes
configure:22684: checking openssl/engine.h presence
configure:22684: gcc -E conftest.c
configure:22684: $? = 0
configure:22684: result: yes
configure:22684: checking for openssl/engine.h
configure:22684: result: yes
configure:22697: checking for ENGINE_load_builtin_engines
configure:22697: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:22697: $? = 0
configure:22697: result: yes
configure:22717: checking for RAND_egd
configure:22717: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccXlufld.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `RAND_egd'
collect2: error: ld returned 1 exit status
configure:22717: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| /* end confdefs.h. */
|
| #define RAND_egd innocuous_RAND_egd
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| #undef RAND_egd
| #ifdef __cplusplus
| extern "C"
| #endif
| char RAND_egd ();
| #if defined __stub_RAND_egd || defined __stub___RAND_egd
| choke me
| #endif
|
| int main (void)
| {
| return RAND_egd ();
| ;
| return 0;
| }
configure:22717: result: no
configure:22717: checking for ENGINE_cleanup
configure:22717: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/cc834zBA.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `ENGINE_cleanup'
collect2: error: ld returned 1 exit status
configure:22717: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| /* end confdefs.h. */
|
| #define ENGINE_cleanup innocuous_ENGINE_cleanup
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| #undef ENGINE_cleanup
| #ifdef __cplusplus
| extern "C"
| #endif
| char ENGINE_cleanup ();
| #if defined __stub_ENGINE_cleanup || defined __stub___ENGINE_cleanup
| choke me
| #endif
|
| int main (void)
| {
| return ENGINE_cleanup ();
| ;
| return 0;
| }
configure:22717: result: no
configure:22717: checking for SSL_get_shutdown
configure:22717: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:22717: $? = 0
configure:22717: result: yes
configure:22717: checking for SSLv2_client_method
configure:22717: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/cczQIJvw.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `SSLv2_client_method'
collect2: error: ld returned 1 exit status
configure:22717: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| /* end confdefs.h. */
|
| #define SSLv2_client_method innocuous_SSLv2_client_method
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:22717: result: no
configure:22727: checking for BoringSSL
configure:22747: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:67:26: fatal error: openssl/base.h: No such file or directory
67 | #include <openssl/base.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
configure:22747: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| /* end confdefs.h. */
|
|
| #include <openssl/base.h>
|
| int main (void)
| {
|
| #ifndef OPENSSL_IS_BORINGSSL
| #error not boringssl
| #endif
|
| ;
| return 0;
| }
|
configure:22760: result: no
configure:22766: checking for libressl
configure:22784: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:72:21: error: 'LIBRESSL_VERSION_NUMBER' undeclared (first use in this function); did you mean 'OPENSSL_VERSION_NUMBER'?
72 | int dummy = LIBRESSL_VERSION_NUMBER;
| ^~~~~~~~~~~~~~~~~~~~~~~
| OPENSSL_VERSION_NUMBER
conftest.c:72:21: note: each undeclared identifier is reported only once for each function it appears in
configure:22784: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| /* end confdefs.h. */
|
|
| #include <openssl/opensslv.h>
|
| int main (void)
| {
|
| int dummy = LIBRESSL_VERSION_NUMBER;
|
| ;
| return 0;
| }
|
configure:22797: result: no
configure:22819: checking for OpenSSL headers version
configure:22849: gcc -E -P conftest.c
configure:22849: $? = 0
configure:22910: result: unknown - ( (3<<28) |(0<<20) |(2<<4) |0x0L )
configure:22919: checking for OpenSSL library version
configure:22987: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:22987: $? = 0
configure:23409: result: 1.1.0
configure:23417: checking for OpenSSL headers and library versions matching
configure:23427: result: fail
configure:23430: WARNING: Can not compare OpenSSL headers and library versions.
configure:23463: checking for "/dev/urandom"
configure:23477: result: yes
configure:23502: checking for SRP_Calc_client_key in -lcrypto
configure:23524: gcc -o conftest -O2 -Wno-system-headers conftest.c -lcrypto -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:23524: $? = 0
configure:23533: result: yes
configure:25213: checking default CA cert bundle/path
configure:25325: result: /etc/ssl/certs/ca-certificates.crt
configure:25343: checking whether to use builtin CA store of SSL library
configure:25357: result: no
configure:25381: checking for library containing psl_builtin
configure:25409: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccad4MIU.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `psl_builtin'
collect2: error: ld returned 1 exit status
configure:25409: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| /* end confdefs.h. */
|
|
| #ifdef __cplusplus
| extern "C"
| #endif
| char psl_builtin ();
| int main (void)
| {
| return psl_builtin ();
| ;
| return 0;
| }
configure:25409: gcc -o conftest -O2 -Wno-system-headers conftest.c -lpsl -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: cannot find -lpsl: No such file or directory
collect2: error: ld returned 1 exit status
configure:25409: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| /* end confdefs.h. */
|
|
| #ifdef __cplusplus
| extern "C"
| #endif
| char psl_builtin ();
| int main (void)
| {
| return psl_builtin ();
| ;
| return 0;
| }
configure:25426: result: no
configure:25438: WARNING: libpsl was not found
configure:25997: checking for libssh2_channel_open_ex in -lssh2
configure:26019: gcc -o conftest -O2 -Wno-system-headers conftest.c -lssh2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: cannot find -lssh2: No such file or directory
collect2: error: ld returned 1 exit status
configure:26019: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_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:26028: result: no
configure:26042: checking libssh2.h usability
configure:26042: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:101:10: fatal error: libssh2.h: No such file or directory
101 | #include <libssh2.h>
| ^~~~~~~~~~~
compilation terminated.
configure:26042: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <libssh2.h>
configure:26042: result: no
configure:26042: checking libssh2.h presence
configure:26042: gcc -E conftest.c
conftest.c:68:10: fatal error: libssh2.h: No such file or directory
68 | #include <libssh2.h>
| ^~~~~~~~~~~
compilation terminated.
configure:26042: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| /* end confdefs.h. */
| #include <libssh2.h>
configure:26042: result: no
configure:26042: checking for libssh2.h
configure:26042: result: no
configure:26254: checking for RTMP_Init in -lrtmp
configure:26276: gcc -o conftest -O2 -Wno-system-headers conftest.c -lrtmp -lrtmp -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: cannot find -lrtmp: No such file or directory
/usr/bin/ld: cannot find -lrtmp: No such file or directory
collect2: error: ld returned 1 exit status
configure:26276: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| /* end confdefs.h. */
|
|
| #ifdef __cplusplus
| extern "C"
| #endif
| char RTMP_Init ();
| int main (void)
| {
| return RTMP_Init ();
| ;
| return 0;
| }
configure:26285: result: no
configure:26326: checking whether versioned symbols are wanted
configure:26374: result: no
configure:26393: checking whether to enable Windows native IDN (Windows native builds only)
configure:26405: result: no
configure:26503: checking whether to build with libidn2
configure:26521: result: (assumed) yes
configure:26750: checking for pkg-config
configure:26781: result: /usr/bin/pkg-config
configure:26806: checking for libidn2 options with pkg-config
configure:26820: result: found
configure:26836: pkg-config: IDN_LIBS: "-lidn2"
configure:26838: pkg-config: IDN_LDFLAGS: ""
configure:26840: pkg-config: IDN_CPPFLAGS: ""
configure:26842: pkg-config: IDN_DIR: ""
configure:26859: checking if idn2_lookup_ul can be linked
configure:26888: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:26888: $? = 0
configure:26890: result: yes
configure:26907: checking idn2.h usability
configure:26907: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:26907: $? = 0
configure:26907: result: yes
configure:26907: checking idn2.h presence
configure:26907: gcc -E conftest.c
configure:26907: $? = 0
configure:26907: result: yes
configure:26907: checking for idn2.h
configure:26907: result: yes
configure:27023: checking for pkg-config
configure:27054: result: /usr/bin/pkg-config
configure:27079: checking for libnghttp2 options with pkg-config
configure:27090: result: no
configure:27228: checking for ANSI C header files
configure:27331: result: yes
configure:27341: checking for malloc.h
configure:27366: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27366: $? = 0
configure:27378: result: yes
configure:27406: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27406: $? = 0
configure:27429: checking for memory.h
configure:27454: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:79:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
79 | void *p = malloc(10);
| ^~~~~~
conftest.c:75:1: note: include '<stdlib.h>' or provide a declaration of 'malloc'
74 | #include <memory.h>
75 |
conftest.c:79:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch]
79 | void *p = malloc(10);
| ^~~~~~
conftest.c:79:19: note: include '<stdlib.h>' or provide a declaration of 'malloc'
conftest.c:80:19: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
80 | void *q = calloc(10,10);
| ^~~~~~
conftest.c:80:19: note: include '<stdlib.h>' or provide a declaration of 'calloc'
conftest.c:80:19: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch]
conftest.c:80:19: note: include '<stdlib.h>' or provide a declaration of 'calloc'
conftest.c:81:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
81 | free(p);
| ^~~~
conftest.c:81:9: note: include '<stdlib.h>' or provide a declaration of 'free'
conftest.c:81:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch]
conftest.c:81:9: note: include '<stdlib.h>' or provide a declaration of 'free'
configure:27454: $? = 0
configure:27466: result: yes
configure:27494: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27494: $? = 0
configure:27560: checking for sys/types.h
configure:27560: result: yes
configure:27560: checking for sys/time.h
configure:27560: result: yes
configure:27560: checking for sys/select.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/socket.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/ioctl.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/uio.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for assert.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for unistd.h
configure:27560: result: yes
configure:27560: checking for stdlib.h
configure:27560: result: yes
configure:27560: checking for limits.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for arpa/inet.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for net/if.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for netinet/in.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/un.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for netinet/tcp.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for netdb.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/sockio.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:111:10: fatal error: sys/sockio.h: No such file or directory
111 | #include <sys/sockio.h>
| ^~~~~~~~~~~~~~
compilation terminated.
configure:27560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_TIME_H
| #include <sys/time.h>
| #endif
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <sys/sockio.h>
configure:27560: result: no
configure:27560: checking for sys/stat.h
configure:27560: result: yes
configure:27560: checking for sys/param.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for termios.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for termio.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sgtty.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for fcntl.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for alloca.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for time.h
configure:27560: result: yes
configure:27560: checking for io.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:119:10: fatal error: io.h: No such file or directory
119 | #include <io.h>
| ^~~~~~
compilation terminated.
configure:27560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_TIME_H
| #include <sys/time.h>
| #endif
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <io.h>
configure:27560: result: no
configure:27560: checking for pwd.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for utime.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/utime.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:121:10: fatal error: sys/utime.h: No such file or directory
121 | #include <sys/utime.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:27560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_TIME_H
| #include <sys/time.h>
| #endif
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <sys/utime.h>
configure:27560: result: no
configure:27560: checking for sys/poll.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for poll.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for socket.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:123:10: fatal error: socket.h: No such file or directory
123 | #include <socket.h>
| ^~~~~~~~~~
compilation terminated.
configure:27560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_TIME_H
| #include <sys/time.h>
| #endif
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <socket.h>
configure:27560: result: no
configure:27560: checking for sys/resource.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for libgen.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for locale.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for errno.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for stdbool.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for arpa/tftp.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for sys/filio.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:129:10: fatal error: sys/filio.h: No such file or directory
129 | #include <sys/filio.h>
| ^~~~~~~~~~~~~
compilation terminated.
configure:27560: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_TIME_H
| #include <sys/time.h>
| #endif
| #ifdef HAVE_SYS_SELECT_H
| #include <sys/select.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <sys/filio.h>
configure:27560: result: no
configure:27560: checking for sys/wait.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27560: checking for setjmp.h
configure:27560: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27560: $? = 0
configure:27560: result: yes
configure:27592: checking for an ANSI C-conforming const
configure:27657: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27657: $? = 0
configure:27664: result: yes
configure:27673: checking for compiler support of C99 variadic macro style
configure:27703: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27703: $? = 0
configure:27715: result: yes
configure:27726: checking for compiler support of old gcc variadic macro style
configure:27756: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27756: $? = 0
configure:27768: result: yes
configure:27780: checking for size_t
configure:27780: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27780: $? = 0
configure:27780: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:146:21: error: expected expression before ')' token
146 | if (sizeof ((size_t)))
| ^
configure:27780: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int main (void)
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:27780: result: yes
configure:27791: checking whether time.h and sys/time.h may both be included
configure:27817: result: yes
configure:27829: checking for sys/types.h
configure:27829: result: yes
configure:27829: checking for sys/time.h
configure:27829: result: yes
configure:27829: checking for time.h
configure:27829: result: yes
configure:27829: checking for sys/socket.h
configure:27829: result: yes
configure:27839: checking for struct timeval
configure:27892: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:27892: $? = 0
configure:27904: result: yes
configure:27920: checking run-time libs availability
configure:27937: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int]
118 | main()
| ^~~~
configure:27937: $? = 0
configure:27937: ./conftest
configure:27937: $? = 0
configure:27938: result: fine
configure:27958: checking size of size_t
configure:27963: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:27963: $? = 0
configure:27963: ./conftest
configure:27963: $? = 0
configure:27977: result: 8
configure:27991: checking size of long
configure:28010: result: 8
configure:28024: checking size of int
configure:28029: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:28029: $? = 0
configure:28029: ./conftest
configure:28029: $? = 0
configure:28043: result: 4
configure:28057: checking size of short
configure:28062: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:28062: $? = 0
configure:28062: ./conftest
configure:28062: $? = 0
configure:28076: result: 2
configure:28101: checking size of time_t
configure:28106: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:28106: $? = 0
configure:28106: ./conftest
configure:28106: $? = 0
configure:28120: result: 8
configure:28134: checking size of off_t
configure:28139: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:28139: $? = 0
configure:28139: ./conftest
configure:28139: $? = 0
configure:28153: result: 8
configure:28175: checking for long long
configure:28175: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28175: $? = 0
configure:28175: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:159:24: error: expected expression before ')' token
159 | if (sizeof ((long long)))
| ^
configure:28175: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int main (void)
| {
| if (sizeof ((long long)))
| return 0;
| ;
| return 0;
| }
configure:28175: result: yes
configure:28186: checking if numberLL works
configure:28203: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28203: $? = 0
configure:28205: result: yes
configure:28222: checking for ssize_t
configure:28222: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28222: $? = 0
configure:28222: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:161:22: error: expected expression before ')' token
161 | if (sizeof ((ssize_t)))
| ^
configure:28222: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int main (void)
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:28222: result: yes
configure:28233: checking for bool
configure:28233: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28233: $? = 0
configure:28233: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:137:19: error: expected expression before ')' token
137 | if (sizeof ((bool)))
| ^
configure:28233: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_STDBOOL_H
| #include <stdbool.h>
| #endif
|
|
| int main (void)
| {
| if (sizeof ((bool)))
| return 0;
| ;
| return 0;
| }
configure:28233: result: yes
configure:28268: checking for windows.h
configure:28310: result: no
configure:28328: checking for winsock2.h
configure:28371: result: no
configure:28384: checking for ws2tcpip.h
configure:28428: result: no
configure:28454: checking for sys/types.h
configure:28454: result: yes
configure:28454: checking for sys/socket.h
configure:28454: result: yes
configure:28479: checking for curl_socklen_t data type
configure:28507: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28507: $? = 0
configure:28544: result: socklen_t
configure:28551: checking size of curl_socklen_t
configure:28597: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:132:21: error: unknown type name 'socklen_t'
132 | typedef socklen_t curl_socklen_t;
| ^~~~~~~~~
configure:28597: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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:28597: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:132:21: error: unknown type name 'socklen_t'
132 | typedef socklen_t curl_socklen_t;
| ^~~~~~~~~
configure:28597: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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:28597: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28597: $? = 0
configure:28607: result: 4
configure:28669: checking for sys/types.h
configure:28669: result: yes
configure:28669: checking for poll.h
configure:28669: result: yes
configure:28669: checking for sys/poll.h
configure:28669: result: yes
configure:28705: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:156:7: error: unknown type name 'force'
156 | force compilation error
| ^~~~~
conftest.c:156:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
156 | force compilation error
| ^~~~~
configure:28705: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_POLL_H
| # include <poll.h>
| #endif
| #ifdef HAVE_SYS_POLL_H
| # include <sys/poll.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| #if defined(events) || defined(revents)
| return 0;
| #else
| force compilation error
| #endif
|
| ;
| return 0;
| }
|
configure:28729: checking for in_addr_t
configure:28729: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28729: $? = 0
configure:28729: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:168:24: error: expected expression before ')' token
168 | if (sizeof ((in_addr_t)))
| ^
configure:28729: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_ARPA_INET_H
| #include <arpa/inet.h>
| #endif
| #endif
|
|
| int main (void)
| {
| if (sizeof ((in_addr_t)))
| return 0;
| ;
| return 0;
| }
configure:28729: result: yes
configure:28845: checking for struct sockaddr_storage
configure:28845: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28845: $? = 0
configure:28845: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:164:38: error: expected expression before ')' token
164 | if (sizeof ((struct sockaddr_storage)))
| ^
configure:28845: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_ARPA_INET_H
| #include <arpa/inet.h>
| #endif
| #endif
|
|
| int main (void)
| {
| if (sizeof ((struct sockaddr_storage)))
| return 0;
| ;
| return 0;
| }
configure:28845: result: yes
configure:28882: checking signal.h usability
configure:28882: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28882: $? = 0
configure:28882: result: yes
configure:28882: checking signal.h presence
configure:28882: gcc -E conftest.c
configure:28882: $? = 0
configure:28882: result: yes
configure:28882: checking for signal.h
configure:28882: result: yes
configure:28892: checking for sig_atomic_t
configure:28892: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:28892: $? = 0
configure:28892: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:146:27: error: expected expression before ')' token
146 | if (sizeof ((sig_atomic_t)))
| ^
configure:28892: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <signal.h>
| #endif
|
|
| int main (void)
| {
| if (sizeof ((sig_atomic_t)))
| return 0;
| ;
| return 0;
| }
configure:28892: result: yes
configure:28909: checking if sig_atomic_t is already defined as volatile
configure:28929: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:28929: $? = 0
configure:28931: result: no
configure:28954: checking return type of signal handlers
configure:28971: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:144:10: error: void value not ignored as it ought to be
144 | return *(signal (0, 0)) (0) == 1;
| ~^~~~~~~~~~~~~~~~~~
configure:28971: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #include <signal.h>
|
| int main (void)
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:28978: result: void
configure:28991: checking for sys/select.h
configure:28991: result: yes
configure:28991: checking for sys/socket.h
configure:28991: result: yes
configure:29002: checking for select
configure:29054: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:29054: $? = 0
configure:29056: result: yes
configure:29071: checking types of args and return type for select
configure:29150: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:29150: $? = 0
configure:29163: result: int,fd_set *,struct timeval *,int
configure:29248: checking for sys/types.h
configure:29248: result: yes
configure:29248: checking for sys/socket.h
configure:29248: result: yes
configure:29259: checking for recv
configure:29297: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:29297: $? = 0
configure:29299: result: yes
configure:29314: checking types of args and return type for recv
configure:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, size_t, int)' {aka 'int(int, char *, long unsigned int, int)'}
176 | recv(int, char *, size_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, size_t, unsigned int)' {aka 'int(int, char *, long unsigned int, unsigned int)'}
176 | recv(int, char *, size_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, int, int)'
176 | recv(int, char *, int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, int, unsigned int)'
176 | recv(int, char *, int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, socklen_t, int)' {aka 'int(int, char *, unsigned int, int)'}
176 | recv(int, char *, socklen_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, socklen_t, unsigned int)' {aka 'int(int, char *, unsigned int, unsigned int)'}
176 | recv(int, char *, socklen_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, unsigned int, int)'
176 | recv(int, char *, unsigned int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, char *, unsigned int, unsigned int)'
176 | recv(int, char *, unsigned int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, size_t, int)' {aka 'int(int, void *, long unsigned int, int)'}
176 | recv(int, void *, size_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, size_t, unsigned int)' {aka 'int(int, void *, long unsigned int, unsigned int)'}
176 | recv(int, void *, size_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, int, int)'
176 | recv(int, void *, int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, int, unsigned int)'
176 | recv(int, void *, int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, socklen_t, int)' {aka 'int(int, void *, unsigned int, int)'}
176 | recv(int, void *, socklen_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, socklen_t, unsigned int)' {aka 'int(int, void *, unsigned int, unsigned int)'}
176 | recv(int, void *, socklen_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, unsigned int, int)'
176 | recv(int, void *, unsigned int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(int, void *, unsigned int, unsigned int)'
176 | recv(int, void *, unsigned int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, size_t, int)' {aka 'int(long int, char *, long unsigned int, int)'}
176 | recv(ssize_t, char *, size_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, size_t, unsigned int)' {aka 'int(long int, char *, long unsigned int, unsigned int)'}
176 | recv(ssize_t, char *, size_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, int, int)' {aka 'int(long int, char *, int, int)'}
176 | recv(ssize_t, char *, int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, int, unsigned int)' {aka 'int(long int, char *, int, unsigned int)'}
176 | recv(ssize_t, char *, int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, socklen_t, int)' {aka 'int(long int, char *, unsigned int, int)'}
176 | recv(ssize_t, char *, socklen_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, socklen_t, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'}
176 | recv(ssize_t, char *, socklen_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, unsigned int, int)' {aka 'int(long int, char *, unsigned int, int)'}
176 | recv(ssize_t, char *, unsigned int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, char *, unsigned int, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'}
176 | recv(ssize_t, char *, unsigned int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, size_t, int)' {aka 'int(long int, void *, long unsigned int, int)'}
176 | recv(ssize_t, void *, size_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, size_t, unsigned int)' {aka 'int(long int, void *, long unsigned int, unsigned int)'}
176 | recv(ssize_t, void *, size_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, int, int)' {aka 'int(long int, void *, int, int)'}
176 | recv(ssize_t, void *, int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, int, unsigned int)' {aka 'int(long int, void *, int, unsigned int)'}
176 | recv(ssize_t, void *, int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, socklen_t, int)' {aka 'int(long int, void *, unsigned int, int)'}
176 | recv(ssize_t, void *, socklen_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, socklen_t, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'}
176 | recv(ssize_t, void *, socklen_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, unsigned int, int)' {aka 'int(long int, void *, unsigned int, int)'}
176 | recv(ssize_t, void *, unsigned int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'int(ssize_t, void *, unsigned int, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'}
176 | recv(ssize_t, void *, unsigned int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, size_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, size_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, socklen_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, socklen_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, unsigned int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'char'
176 | recv(SOCKET, char *, unsigned int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, size_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, size_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, socklen_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, socklen_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, unsigned int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:35: error: expected ')' before 'void'
176 | recv(SOCKET, void *, unsigned int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:181:23: error: unknown type name 'SOCKET'
181 | SOCKET s=0;
| ^~~~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, size_t, int)' {aka 'long int(int, char *, long unsigned int, int)'}
176 | recv(int, char *, size_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, size_t, unsigned int)' {aka 'long int(int, char *, long unsigned int, unsigned int)'}
176 | recv(int, char *, size_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, int, int)' {aka 'long int(int, char *, int, int)'}
176 | recv(int, char *, int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, int, unsigned int)' {aka 'long int(int, char *, int, unsigned int)'}
176 | recv(int, char *, int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, socklen_t, int)' {aka 'long int(int, char *, unsigned int, int)'}
176 | recv(int, char *, socklen_t, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, socklen_t, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'}
176 | recv(int, char *, socklen_t, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, unsigned int, int)' {aka 'long int(int, char *, unsigned int, int)'}
176 | recv(int, char *, unsigned int, int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:176:23: error: conflicting types for 'recv'; have 'ssize_t(int, char *, unsigned int, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'}
176 | recv(int, char *, unsigned int, unsigned int);
| ^~~~
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:343,
from conftest.c:171:
/usr/include/x86_64-linux-gnu/bits/socket2.h:34:1: note: previous definition of 'recv' with type 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
34 | recv (int __fd, void *__buf, size_t __n, int __flags)
| ^~~~
configure:29371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define RECVCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29371: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:29371: $? = 0
configure:29385: result: int,void *,size_t,int,ssize_t
configure:29436: checking for sys/types.h
configure:29436: result: yes
configure:29436: checking for sys/socket.h
configure:29436: result: yes
configure:29447: checking for send
configure:29485: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:29485: $? = 0
configure:29487: result: yes
configure:29502: checking types of args and return type for send
configure:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, size_t, int)' {aka 'int(int, char *, long unsigned int, int)'}
184 | send(int, char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, size_t, unsigned int)' {aka 'int(int, char *, long unsigned int, unsigned int)'}
184 | send(int, char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, int, int)'
184 | send(int, char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, int, unsigned int)'
184 | send(int, char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, socklen_t, int)' {aka 'int(int, char *, unsigned int, int)'}
184 | send(int, char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, socklen_t, unsigned int)' {aka 'int(int, char *, unsigned int, unsigned int)'}
184 | send(int, char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, unsigned int, int)'
184 | send(int, char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, char *, unsigned int, unsigned int)'
184 | send(int, char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, size_t, int)' {aka 'int(int, void *, long unsigned int, int)'}
184 | send(int, void *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, size_t, unsigned int)' {aka 'int(int, void *, long unsigned int, unsigned int)'}
184 | send(int, void *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, int, int)'
184 | send(int, void *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, int, unsigned int)'
184 | send(int, void *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, socklen_t, int)' {aka 'int(int, void *, unsigned int, int)'}
184 | send(int, void *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, socklen_t, unsigned int)' {aka 'int(int, void *, unsigned int, unsigned int)'}
184 | send(int, void *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, unsigned int, int)'
184 | send(int, void *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, void *, unsigned int, unsigned int)'
184 | send(int, void *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, size_t, int)' {aka 'int(int, const char *, long unsigned int, int)'}
184 | send(int, const char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, size_t, unsigned int)' {aka 'int(int, const char *, long unsigned int, unsigned int)'}
184 | send(int, const char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, int, int)'
184 | send(int, const char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, int, unsigned int)'
184 | send(int, const char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, socklen_t, int)' {aka 'int(int, const char *, unsigned int, int)'}
184 | send(int, const char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, socklen_t, unsigned int)' {aka 'int(int, const char *, unsigned int, unsigned int)'}
184 | send(int, const char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, unsigned int, int)'
184 | send(int, const char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const char *, unsigned int, unsigned int)'
184 | send(int, const char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, size_t, int)' {aka 'int(int, const void *, long unsigned int, int)'}
184 | send(int, const void *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, size_t, unsigned int)' {aka 'int(int, const void *, long unsigned int, unsigned int)'}
184 | send(int, const void *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, int, int)'
184 | send(int, const void *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, int, unsigned int)'
184 | send(int, const void *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, socklen_t, int)' {aka 'int(int, const void *, unsigned int, int)'}
184 | send(int, const void *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, socklen_t, unsigned int)' {aka 'int(int, const void *, unsigned int, unsigned int)'}
184 | send(int, const void *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, unsigned int, int)'
184 | send(int, const void *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(int, const void *, unsigned int, unsigned int)'
184 | send(int, const void *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, size_t, int)' {aka 'int(long int, char *, long unsigned int, int)'}
184 | send(ssize_t, char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, size_t, unsigned int)' {aka 'int(long int, char *, long unsigned int, unsigned int)'}
184 | send(ssize_t, char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, int, int)' {aka 'int(long int, char *, int, int)'}
184 | send(ssize_t, char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, int, unsigned int)' {aka 'int(long int, char *, int, unsigned int)'}
184 | send(ssize_t, char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, socklen_t, int)' {aka 'int(long int, char *, unsigned int, int)'}
184 | send(ssize_t, char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, socklen_t, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'}
184 | send(ssize_t, char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, unsigned int, int)' {aka 'int(long int, char *, unsigned int, int)'}
184 | send(ssize_t, char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, char *, unsigned int, unsigned int)' {aka 'int(long int, char *, unsigned int, unsigned int)'}
184 | send(ssize_t, char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, size_t, int)' {aka 'int(long int, void *, long unsigned int, int)'}
184 | send(ssize_t, void *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, size_t, unsigned int)' {aka 'int(long int, void *, long unsigned int, unsigned int)'}
184 | send(ssize_t, void *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, int, int)' {aka 'int(long int, void *, int, int)'}
184 | send(ssize_t, void *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, int, unsigned int)' {aka 'int(long int, void *, int, unsigned int)'}
184 | send(ssize_t, void *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, socklen_t, int)' {aka 'int(long int, void *, unsigned int, int)'}
184 | send(ssize_t, void *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, socklen_t, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'}
184 | send(ssize_t, void *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, unsigned int, int)' {aka 'int(long int, void *, unsigned int, int)'}
184 | send(ssize_t, void *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, void *, unsigned int, unsigned int)' {aka 'int(long int, void *, unsigned int, unsigned int)'}
184 | send(ssize_t, void *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, size_t, int)' {aka 'int(long int, const char *, long unsigned int, int)'}
184 | send(ssize_t, const char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, size_t, unsigned int)' {aka 'int(long int, const char *, long unsigned int, unsigned int)'}
184 | send(ssize_t, const char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, int, int)' {aka 'int(long int, const char *, int, int)'}
184 | send(ssize_t, const char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, int, unsigned int)' {aka 'int(long int, const char *, int, unsigned int)'}
184 | send(ssize_t, const char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, socklen_t, int)' {aka 'int(long int, const char *, unsigned int, int)'}
184 | send(ssize_t, const char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, socklen_t, unsigned int)' {aka 'int(long int, const char *, unsigned int, unsigned int)'}
184 | send(ssize_t, const char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, unsigned int, int)' {aka 'int(long int, const char *, unsigned int, int)'}
184 | send(ssize_t, const char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const char *, unsigned int, unsigned int)' {aka 'int(long int, const char *, unsigned int, unsigned int)'}
184 | send(ssize_t, const char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, size_t, int)' {aka 'int(long int, const void *, long unsigned int, int)'}
184 | send(ssize_t, const void *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, size_t, unsigned int)' {aka 'int(long int, const void *, long unsigned int, unsigned int)'}
184 | send(ssize_t, const void *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, int, int)' {aka 'int(long int, const void *, int, int)'}
184 | send(ssize_t, const void *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, int, unsigned int)' {aka 'int(long int, const void *, int, unsigned int)'}
184 | send(ssize_t, const void *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, socklen_t, int)' {aka 'int(long int, const void *, unsigned int, int)'}
184 | send(ssize_t, const void *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, socklen_t, unsigned int)' {aka 'int(long int, const void *, unsigned int, unsigned int)'}
184 | send(ssize_t, const void *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, unsigned int, int)' {aka 'int(long int, const void *, unsigned int, int)'}
184 | send(ssize_t, const void *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'int(ssize_t, const void *, unsigned int, unsigned int)' {aka 'int(long int, const void *, unsigned int, unsigned int)'}
184 | send(ssize_t, const void *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, size_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, size_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, socklen_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, socklen_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, unsigned int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'char'
184 | send(SOCKET, char *, unsigned int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, size_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, size_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, socklen_t, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, socklen_t, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, unsigned int, int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'void'
184 | send(SOCKET, void *, unsigned int, unsigned int);
| ^~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, size_t, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, size_t, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, int, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, int, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, socklen_t, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, socklen_t, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, unsigned int, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const char *, unsigned int, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, size_t, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, size_t, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, int, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, int, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, socklen_t, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, socklen_t, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, unsigned int, int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:35: error: expected ')' before 'const'
184 | send(SOCKET, const void *, unsigned int, unsigned int);
| ^~~~~~
| )
conftest.c: In function 'main':
conftest.c:189:23: error: unknown type name 'SOCKET'
189 | SOCKET s=0;
| ^~~~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, size_t, int)' {aka 'long int(int, char *, long unsigned int, int)'}
184 | send(int, char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, size_t, unsigned int)' {aka 'long int(int, char *, long unsigned int, unsigned int)'}
184 | send(int, char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, int, int)' {aka 'long int(int, char *, int, int)'}
184 | send(int, char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, int, unsigned int)' {aka 'long int(int, char *, int, unsigned int)'}
184 | send(int, char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, socklen_t, int)' {aka 'long int(int, char *, unsigned int, int)'}
184 | send(int, char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, socklen_t, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'}
184 | send(int, char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, unsigned int, int)' {aka 'long int(int, char *, unsigned int, int)'}
184 | send(int, char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, char *, unsigned int, unsigned int)' {aka 'long int(int, char *, unsigned int, unsigned int)'}
184 | send(int, char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, size_t, int)' {aka 'long int(int, void *, long unsigned int, int)'}
184 | send(int, void *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, size_t, unsigned int)' {aka 'long int(int, void *, long unsigned int, unsigned int)'}
184 | send(int, void *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, int, int)' {aka 'long int(int, void *, int, int)'}
184 | send(int, void *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, int, unsigned int)' {aka 'long int(int, void *, int, unsigned int)'}
184 | send(int, void *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, socklen_t, int)' {aka 'long int(int, void *, unsigned int, int)'}
184 | send(int, void *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, socklen_t, unsigned int)' {aka 'long int(int, void *, unsigned int, unsigned int)'}
184 | send(int, void *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, unsigned int, int)' {aka 'long int(int, void *, unsigned int, int)'}
184 | send(int, void *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, void *, unsigned int, unsigned int)' {aka 'long int(int, void *, unsigned int, unsigned int)'}
184 | send(int, void *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, size_t, int)' {aka 'long int(int, const char *, long unsigned int, int)'}
184 | send(int, const char *, size_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, size_t, unsigned int)' {aka 'long int(int, const char *, long unsigned int, unsigned int)'}
184 | send(int, const char *, size_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, int, int)' {aka 'long int(int, const char *, int, int)'}
184 | send(int, const char *, int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, int, unsigned int)' {aka 'long int(int, const char *, int, unsigned int)'}
184 | send(int, const char *, int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, socklen_t, int)' {aka 'long int(int, const char *, unsigned int, int)'}
184 | send(int, const char *, socklen_t, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, socklen_t, unsigned int)' {aka 'long int(int, const char *, unsigned int, unsigned int)'}
184 | send(int, const char *, socklen_t, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, unsigned int, int)' {aka 'long int(int, const char *, unsigned int, int)'}
184 | send(int, const char *, unsigned int, int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:184:23: error: conflicting types for 'send'; have 'ssize_t(int, const char *, unsigned int, unsigned int)' {aka 'long int(int, const char *, unsigned int, unsigned int)'}
184 | send(int, const char *, unsigned int, unsigned int);
| ^~~~
In file included from conftest.c:179:
/usr/include/x86_64-linux-gnu/sys/socket.h:138:16: note: previous declaration of 'send' with type 'ssize_t(int, const void *, size_t, int)' {aka 'long int(int, const void *, long unsigned int, int)'}
138 | extern ssize_t send (int __fd, const void *__buf, size_t __n, int __flags);
| ^~~~
configure:29558: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #else
| #ifdef HAVE_WINSOCK_H
| #include <winsock.h>
| #endif
| #endif
| #define SENDCALLCONV PASCAL
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #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:29558: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:29558: $? = 0
configure:29572: result: int,const void *,size_t,int,ssize_t
configure:29660: checking for sys/types.h
configure:29660: result: yes
configure:29660: checking for sys/socket.h
configure:29660: result: yes
configure:29670: checking for MSG_NOSIGNAL
configure:29712: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:29712: $? = 0
configure:29724: result: yes
configure:29750: checking for sys/types.h
configure:29750: result: yes
configure:29750: checking for unistd.h
configure:29750: result: yes
configure:29769: checking if alarm can be linked
configure:29798: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:29798: $? = 0
configure:29800: result: yes
configure:29815: checking if alarm is prototyped
configure:29826: result: yes
configure:29842: checking if alarm is compilable
configure:29861: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:29861: $? = 0
configure:29863: result: yes
configure:29878: checking if alarm usage allowed
configure:29881: result: yes
configure:29891: checking if alarm might be used
configure:29897: result: yes
configure:29927: checking for sys/types.h
configure:29927: result: yes
configure:29927: checking for string.h
configure:29927: result: yes
configure:29927: checking for strings.h
configure:29927: result: yes
configure:29952: checking for sys/types.h
configure:29952: result: yes
configure:29952: checking for libgen.h
configure:29952: result: yes
configure:29971: checking if basename can be linked
configure:30000: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:30000: $? = 0
configure:30002: result: yes
configure:30017: checking if basename is prototyped
configure:30030: result: yes
configure:30046: checking if basename is compilable
configure:30067: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30067: $? = 0
configure:30069: result: yes
configure:30084: checking if basename usage allowed
configure:30087: result: yes
configure:30097: checking if basename might be used
configure:30103: result: yes
configure:30130: checking for sys/types.h
configure:30130: result: yes
configure:30130: checking for socket.h
configure:30130: result: no
configure:30149: checking if closesocket can be linked
configure:30169: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:207:15: warning: implicit declaration of function 'closesocket' [-Wimplicit-function-declaration]
207 | if(0 != closesocket(0))
| ^~~~~~~~~~~
/usr/bin/ld: /tmp/cc4Cut4q.o: in function `main':
conftest.c:(.text.startup+0xd): undefined reference to `closesocket'
collect2: error: ld returned 1 exit status
configure:30169: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| # ifdef HAVE_WINSOCK2_H
| # include <winsock2.h>
| # else
| # ifdef HAVE_WINSOCK_H
| # include <winsock.h>
| # endif
| # endif
| #endif
| /* includes end */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SOCKET_H
| # include <socket.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != closesocket(0))
| return 1;
|
| ;
| return 0;
| }
|
configure:30177: result: no
configure:30264: checking if closesocket might be used
configure:30279: result: no
configure:30291: checking if CloseSocket can be linked
configure:30310: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:192:15: warning: implicit declaration of function 'CloseSocket' [-Wimplicit-function-declaration]
192 | if(0 != CloseSocket(0))
| ^~~~~~~~~~~
/usr/bin/ld: /tmp/ccghjFRO.o: in function `main':
conftest.c:(.text.startup+0xd): undefined reference to `CloseSocket'
collect2: error: ld returned 1 exit status
configure:30310: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| # include <sys/socket.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != CloseSocket(0))
| return 1;
|
| ;
| return 0;
| }
|
configure:30318: result: no
configure:30403: checking if CloseSocket might be used
configure:30418: result: no
configure:30430: checking if connect can be linked
configure:30451: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:30451: $? = 0
configure:30453: result: yes
configure:30468: checking if connect is prototyped
configure:30481: result: yes
configure:30497: checking if connect is compilable
configure:30518: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30518: $? = 0
configure:30520: result: yes
configure:30535: checking if connect usage allowed
configure:30538: result: yes
configure:30548: checking if connect might be used
configure:30554: result: yes
configure:30584: checking for sys/types.h
configure:30584: result: yes
configure:30584: checking for unistd.h
configure:30584: result: yes
configure:30584: checking for fcntl.h
configure:30584: result: yes
configure:30603: checking if fcntl can be linked
configure:30632: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:30632: $? = 0
configure:30634: result: yes
configure:30649: checking if fcntl is prototyped
configure:30660: result: yes
configure:30676: checking if fcntl is compilable
configure:30695: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30695: $? = 0
configure:30697: result: yes
configure:30712: checking if fcntl usage allowed
configure:30715: result: yes
configure:30725: checking if fcntl might be used
configure:30731: result: yes
configure:30751: checking if fcntl O_NONBLOCK is compilable
configure:30771: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30771: $? = 0
configure:30773: result: yes
configure:30788: checking if fcntl O_NONBLOCK usage allowed
configure:30791: result: yes
configure:30801: checking if fcntl O_NONBLOCK might be used
configure:30805: result: yes
configure:30838: checking for sys/types.h
configure:30838: result: yes
configure:30838: checking for stdio.h
configure:30838: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30838: $? = 0
configure:30838: result: yes
configure:30857: checking if fdopen can be linked
configure:30886: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:30886: $? = 0
configure:30888: result: yes
configure:30903: checking if fdopen is prototyped
configure:30914: result: yes
configure:30930: checking if fdopen is compilable
configure:30949: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:30949: $? = 0
configure:30951: result: yes
configure:30966: checking if fdopen usage allowed
configure:30969: result: yes
configure:30979: checking if fdopen might be used
configure:30985: result: yes
configure:31012: checking for sys/types.h
configure:31012: result: yes
configure:31012: checking for netdb.h
configure:31012: result: yes
configure:31031: checking if freeaddrinfo can be linked
configure:31051: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31051: $? = 0
configure:31053: result: yes
configure:31068: checking if freeaddrinfo is prototyped
configure:31081: result: yes
configure:31097: checking if freeaddrinfo is compilable
configure:31117: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31117: $? = 0
configure:31119: result: yes
configure:31134: checking if freeaddrinfo usage allowed
configure:31137: result: yes
configure:31147: checking if freeaddrinfo might be used
configure:31153: result: yes
configure:31186: checking for sys/types.h
configure:31186: result: yes
configure:31186: checking for sys/socket.h
configure:31186: result: yes
configure:31186: checking for netinet/in.h
configure:31186: result: yes
configure:31186: checking for ifaddrs.h
configure:31186: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31186: $? = 0
configure:31186: result: yes
configure:31205: checking if freeifaddrs can be linked
configure:31234: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31234: $? = 0
configure:31236: result: yes
configure:31251: checking if freeifaddrs is prototyped
configure:31262: result: yes
configure:31278: checking if freeifaddrs is compilable
configure:31296: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31296: $? = 0
configure:31298: result: yes
configure:31313: checking if freeifaddrs usage allowed
configure:31316: result: yes
configure:31326: checking if freeifaddrs might be used
configure:31332: result: yes
configure:31359: checking for sys/types.h
configure:31359: result: yes
configure:31359: checking for sys/xattr.h
configure:31359: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31359: $? = 0
configure:31359: result: yes
configure:31379: checking if fsetxattr can be linked
configure:31408: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31408: $? = 0
configure:31410: result: yes
configure:31425: checking if fsetxattr is prototyped
configure:31436: result: yes
configure:31453: checking if fsetxattr takes 5 args.
configure:31472: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31472: $? = 0
configure:31474: result: yes
configure:31524: checking if fsetxattr is compilable
configure:31527: result: yes
configure:31536: checking if fsetxattr usage allowed
configure:31539: result: yes
configure:31549: checking if fsetxattr might be used
configure:31555: result: yes
configure:31587: checking if ftruncate can be linked
configure:31616: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31616: $? = 0
configure:31618: result: yes
configure:31633: checking if ftruncate is prototyped
configure:31644: result: yes
configure:31660: checking if ftruncate is compilable
configure:31679: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31679: $? = 0
configure:31681: result: yes
configure:31696: checking if ftruncate usage allowed
configure:31699: result: yes
configure:31709: checking if ftruncate might be used
configure:31715: result: yes
configure:31742: checking for sys/types.h
configure:31742: result: yes
configure:31742: checking for stdlib.h
configure:31742: result: yes
configure:31763: checking if getaddrinfo can be linked
configure:31784: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31784: $? = 0
configure:31786: result: yes
configure:31801: checking if getaddrinfo is prototyped
configure:31814: result: yes
configure:31830: checking if getaddrinfo is compilable
configure:31851: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:31851: $? = 0
configure:31853: result: yes
configure:31869: checking if getaddrinfo seems to work
configure:31915: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:31915: $? = 0
configure:31915: ./conftest
configure:31915: $? = 0
configure:31917: result: yes
configure:31936: checking if getaddrinfo usage allowed
configure:31939: result: yes
configure:31949: checking if getaddrinfo might be used
configure:31956: result: yes
configure:31972: checking if getaddrinfo is threadsafe
configure:32037: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32037: $? = 0
configure:32079: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32079: $? = 0
configure:32110: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:214:11: error: unknown type name 'force'
214 | force compilation error
| ^~~~~
conftest.c:214:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
214 | force compilation error
| ^~~~~
configure:32110: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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:32128: result: yes
configure:32149: checking if gai_strerror can be linked
configure:32169: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:32169: $? = 0
configure:32171: result: yes
configure:32186: checking if gai_strerror is prototyped
configure:32198: result: yes
configure:32214: checking if gai_strerror is compilable
configure:32234: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32234: $? = 0
configure:32236: result: yes
configure:32251: checking if gai_strerror usage allowed
configure:32254: result: yes
configure:32264: checking if gai_strerror might be used
configure:32270: result: yes
configure:32291: checking if gethostbyaddr can be linked
configure:32311: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:32311: $? = 0
configure:32313: result: yes
configure:32328: checking if gethostbyaddr is prototyped
configure:32340: result: yes
configure:32356: checking if gethostbyaddr is compilable
configure:32376: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32376: $? = 0
configure:32378: result: yes
configure:32393: checking if gethostbyaddr usage allowed
configure:32396: result: yes
configure:32406: checking if gethostbyaddr might be used
configure:32412: result: yes
configure:32434: checking if gethostbyaddr_r can be linked
configure:32463: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:32463: $? = 0
configure:32465: result: yes
configure:32480: checking if gethostbyaddr_r is prototyped
configure:32491: result: yes
configure:32508: checking if gethostbyaddr_r takes 5 args.
configure:32527: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:220:19: error: too few arguments to function 'gethostbyaddr_r'
220 | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:213:
/usr/include/netdb.h:170:12: note: declared here
170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
| ^~~~~~~~~~~~~~~
configure:32527: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != gethostbyaddr_r(0, 0, 0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:32536: result: no
configure:32544: checking if gethostbyaddr_r takes 7 args.
configure:32563: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:220:19: error: too few arguments to function 'gethostbyaddr_r'
220 | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:213:
/usr/include/netdb.h:170:12: note: declared here
170 | extern int gethostbyaddr_r (const void *__restrict __addr, __socklen_t __len,
| ^~~~~~~~~~~~~~~
configure:32563: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != gethostbyaddr_r(0, 0, 0, 0, 0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:32572: result: no
configure:32580: checking if gethostbyaddr_r takes 8 args.
configure:32599: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32599: $? = 0
configure:32601: result: yes
configure:32615: checking if gethostbyaddr_r is compilable
configure:32618: result: yes
configure:32627: checking if gethostbyaddr_r usage allowed
configure:32630: result: yes
configure:32640: checking if gethostbyaddr_r might be used
configure:32646: result: yes
configure:32682: checking if gethostbyname can be linked
configure:32702: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:32702: $? = 0
configure:32704: result: yes
configure:32719: checking if gethostbyname is prototyped
configure:32731: result: yes
configure:32747: checking if gethostbyname is compilable
configure:32767: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32767: $? = 0
configure:32769: result: yes
configure:32784: checking if gethostbyname usage allowed
configure:32787: result: yes
configure:32797: checking if gethostbyname might be used
configure:32803: result: yes
configure:32825: checking if gethostbyname_r can be linked
configure:32854: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:32854: $? = 0
configure:32856: result: yes
configure:32871: checking if gethostbyname_r is prototyped
configure:32882: result: yes
configure:32899: checking if gethostbyname_r takes 3 args.
configure:32918: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:223:19: error: too few arguments to function 'gethostbyname_r'
223 | if(0 != gethostbyname_r(0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:216:
/usr/include/netdb.h:177:12: note: declared here
177 | extern int gethostbyname_r (const char *__restrict __name,
| ^~~~~~~~~~~~~~~
configure:32918: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != gethostbyname_r(0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:32927: result: no
configure:32935: checking if gethostbyname_r takes 5 args.
configure:32954: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:223:19: error: too few arguments to function 'gethostbyname_r'
223 | if(0 != gethostbyname_r(0, 0, 0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:216:
/usr/include/netdb.h:177:12: note: declared here
177 | extern int gethostbyname_r (const char *__restrict __name,
| ^~~~~~~~~~~~~~~
configure:32954: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != gethostbyname_r(0, 0, 0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:32963: result: no
configure:32971: checking if gethostbyname_r takes 6 args.
configure:32990: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:32990: $? = 0
configure:32992: result: yes
configure:33006: checking if gethostbyname_r is compilable
configure:33009: result: yes
configure:33018: checking if gethostbyname_r usage allowed
configure:33021: result: yes
configure:33031: checking if gethostbyname_r might be used
configure:33037: result: yes
configure:33073: checking if gethostname can be linked
configure:33093: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:240:15: warning: argument 1 null where non-null expected [-Wnonnull]
240 | if(0 != gethostname(0, 0))
| ^~~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:230:
/usr/include/x86_64-linux-gnu/bits/unistd.h:282:1: note: in a call to function 'gethostname' declared 'nonnull'
282 | __NTH (gethostname (char *__buf, size_t __buflen))
| ^~~~~
configure:33093: $? = 0
configure:33095: result: yes
configure:33110: checking if gethostname is prototyped
configure:33122: result: yes
configure:33138: checking if gethostname is compilable
configure:33158: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:240:17: warning: argument 1 null where non-null expected [-Wnonnull]
240 | if(0 != gethostname(0, 0))
| ^~~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:230:
/usr/include/x86_64-linux-gnu/bits/unistd.h:282:1: note: in a call to function 'gethostname' declared 'nonnull'
282 | __NTH (gethostname (char *__buf, size_t __buflen))
| ^~~~~
configure:33158: $? = 0
configure:33160: result: yes
configure:33175: checking for gethostname arg 2 data type
configure:33201: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:243:38: error: conflicting types for 'gethostname'; have 'int(char *, int)'
243 | extern int FUNCALLCONV gethostname(char *, int);
| ^~~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:230:
/usr/include/x86_64-linux-gnu/bits/unistd.h:282:1: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'}
282 | __NTH (gethostname (char *__buf, size_t __buflen))
| ^~~~~
configure:33201: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| # ifdef HAVE_WINSOCK2_H
| # include <winsock2.h>
| # else
| # ifdef HAVE_WINSOCK_H
| # include <winsock.h>
| # endif
| # endif
| #endif
| /* includes end */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #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:33201: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:243:38: error: conflicting types for 'gethostname'; have 'int(char *, unsigned int)'
243 | extern int FUNCALLCONV gethostname(char *, unsigned int);
| ^~~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:230:
/usr/include/x86_64-linux-gnu/bits/unistd.h:282:1: note: previous definition of 'gethostname' with type 'int(char *, size_t)' {aka 'int(char *, long unsigned int)'}
282 | __NTH (gethostname (char *__buf, size_t __buflen))
| ^~~~~
configure:33201: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <windows.h>
| # ifdef HAVE_WINSOCK2_H
| # include <winsock2.h>
| # else
| # ifdef HAVE_WINSOCK_H
| # include <winsock.h>
| # endif
| # endif
| #endif
| /* includes end */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #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:33201: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:248:23: warning: argument 1 null where non-null expected [-Wnonnull]
248 | if(0 != gethostname(0, 0))
| ^~~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:230:
/usr/include/x86_64-linux-gnu/bits/unistd.h:282:1: note: in a call to function 'gethostname' declared 'nonnull'
282 | __NTH (gethostname (char *__buf, size_t __buflen))
| ^~~~~
configure:33201: $? = 0
configure:33210: result: size_t
configure:33222: checking if gethostname usage allowed
configure:33225: result: yes
configure:33235: checking if gethostname might be used
configure:33241: result: yes
configure:33263: checking if getifaddrs can be linked
configure:33292: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:33292: $? = 0
configure:33294: result: yes
configure:33309: checking if getifaddrs is prototyped
configure:33320: result: yes
configure:33336: checking if getifaddrs is compilable
configure:33355: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:33355: $? = 0
configure:33357: result: yes
configure:33373: checking if getifaddrs seems to work
configure:33405: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:33405: $? = 0
configure:33405: ./conftest
configure:33405: $? = 0
configure:33407: result: yes
configure:33426: checking if getifaddrs usage allowed
configure:33429: result: yes
configure:33439: checking if getifaddrs might be used
configure:33446: result: yes
configure:33468: checking if getservbyport_r can be linked
configure:33497: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:33497: $? = 0
configure:33499: result: yes
configure:33514: checking if getservbyport_r is prototyped
configure:33525: result: yes
configure:33542: checking if getservbyport_r takes 4 args.
configure:33561: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:228:19: error: too few arguments to function 'getservbyport_r'
228 | if(0 != getservbyport_r(0, 0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:221:
/usr/include/netdb.h:316:12: note: declared here
316 | extern int getservbyport_r (int __port, const char *__restrict __proto,
| ^~~~~~~~~~~~~~~
configure:33561: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != getservbyport_r(0, 0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:33570: result: no
configure:33578: checking if getservbyport_r takes 5 args.
configure:33597: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:228:19: error: too few arguments to function 'getservbyport_r'
228 | if(0 != getservbyport_r(0, 0, 0, 0, 0))
| ^~~~~~~~~~~~~~~
In file included from conftest.c:221:
/usr/include/netdb.h:316:12: note: declared here
316 | extern int getservbyport_r (int __port, const char *__restrict __proto,
| ^~~~~~~~~~~~~~~
configure:33597: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <sys/types.h>
| #endif
| #ifdef HAVE_NETDB_H
| # include <netdb.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != getservbyport_r(0, 0, 0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:33606: result: no
configure:33614: checking if getservbyport_r takes 6 args.
configure:33633: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:33633: $? = 0
configure:33635: result: yes
configure:33649: checking if getservbyport_r is compilable
configure:33652: result: yes
configure:33661: checking if getservbyport_r usage allowed
configure:33664: result: yes
configure:33674: checking if getservbyport_r might be used
configure:33680: result: yes
configure:33728: checking for sys/types.h
configure:33728: result: yes
configure:33728: checking for sys/time.h
configure:33728: result: yes
configure:33728: checking for time.h
configure:33728: result: yes
configure:33748: checking if gmtime_r can be linked
configure:33777: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:33777: $? = 0
configure:33779: result: yes
configure:33794: checking if gmtime_r is prototyped
configure:33805: result: yes
configure:33821: checking if gmtime_r is compilable
configure:33840: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:33840: $? = 0
configure:33842: result: yes
configure:33858: checking if gmtime_r seems to work
configure:33890: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:33890: $? = 0
configure:33890: ./conftest
configure:33890: $? = 0
configure:33892: result: yes
configure:33911: checking if gmtime_r usage allowed
configure:33914: result: yes
configure:33924: checking if gmtime_r might be used
configure:33931: result: yes
configure:33968: checking for sys/types.h
configure:33968: result: yes
configure:33968: checking for sys/socket.h
configure:33968: result: yes
configure:33968: checking for netinet/in.h
configure:33968: result: yes
configure:33968: checking for arpa/inet.h
configure:33968: result: yes
configure:33988: checking if inet_ntoa_r can be linked
configure:34017: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccPWh6ps.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `inet_ntoa_r'
collect2: error: ld returned 1 exit status
configure:34017: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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 <limits.h>
| #else
| # include <assert.h>
| #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:34025: result: no
configure:34160: checking if inet_ntoa_r might be used
configure:34186: result: no
configure:34199: checking if inet_ntop can be linked
configure:34228: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:34228: $? = 0
configure:34230: result: yes
configure:34245: checking if inet_ntop is prototyped
configure:34256: result: yes
configure:34272: checking if inet_ntop is compilable
configure:34291: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:34291: $? = 0
configure:34293: result: yes
configure:34309: checking if inet_ntop seems to work
configure:34383: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:282:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
282 | ipv4ptr = inet_ntop(AF_INET, ipv4a, ipv4res, sizeof(ipv4res));
| ^
conftest.c:306:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
306 | ipv6ptr = inet_ntop(AF_INET6, ipv6a, ipv6res, sizeof(ipv6res));
| ^
configure:34383: $? = 0
configure:34383: ./conftest
configure:34383: $? = 0
configure:34385: result: yes
configure:34404: checking if inet_ntop usage allowed
configure:34407: result: yes
configure:34417: checking if inet_ntop might be used
configure:34424: result: yes
configure:34446: checking if inet_pton can be linked
configure:34475: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:34475: $? = 0
configure:34477: result: yes
configure:34492: checking if inet_pton is prototyped
configure:34503: result: yes
configure:34519: checking if inet_pton is compilable
configure:34538: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:34538: $? = 0
configure:34540: result: yes
configure:34556: checking if inet_pton seems to work
configure:34623: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:34623: $? = 0
configure:34623: ./conftest
configure:34623: $? = 0
configure:34625: result: yes
configure:34644: checking if inet_pton usage allowed
configure:34647: result: yes
configure:34657: checking if inet_pton might be used
configure:34664: result: yes
configure:34700: checking for sys/types.h
configure:34700: result: yes
configure:34700: checking for unistd.h
configure:34700: result: yes
configure:34700: checking for sys/socket.h
configure:34700: result: yes
configure:34700: checking for sys/ioctl.h
configure:34700: result: yes
configure:34700: checking for stropts.h
configure:34700: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:249:10: fatal error: stropts.h: No such file or directory
249 | #include <stropts.h>
| ^~~~~~~~~~~
compilation terminated.
configure:34700: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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
| /* end confdefs.h. */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| # include <sys/socket.h>
| #endif
| #ifdef HAVE_SYS_IOCTL_H
| # include <sys/ioctl.h>
| #endif
| #ifdef HAVE_STROPTS_H
| # include <stropts.h>
| #endif
| /* includes end */
|
| #include <stropts.h>
configure:34700: result: no
configure:34719: checking if ioctl can be linked
configure:34748: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:34748: $? = 0
configure:34750: result: yes
configure:34765: checking if ioctl is prototyped
configure:34776: result: yes
configure:34792: checking if ioctl is compilable
configure:34811: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:34811: $? = 0
configure:34813: result: yes
configure:34828: checking if ioctl usage allowed
configure:34831: result: yes
configure:34841: checking if ioctl might be used
configure:34847: result: yes
configure:34861: checking if ioctl FIONBIO is compilable
configure:34881: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:34881: $? = 0
configure:34883: result: yes
configure:34898: checking if ioctl FIONBIO usage allowed
configure:34901: result: yes
configure:34911: checking if ioctl FIONBIO might be used
configure:34915: result: yes
configure:34935: checking if ioctl SIOCGIFADDR is compilable
configure:34956: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:34956: $? = 0
configure:34958: result: yes
configure:34973: checking if ioctl SIOCGIFADDR usage allowed
configure:34976: result: yes
configure:34986: checking if ioctl SIOCGIFADDR might be used
configure:34990: result: yes
configure:35017: checking if ioctlsocket can be linked
configure:35036: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:255:15: warning: implicit declaration of function 'ioctlsocket' [-Wimplicit-function-declaration]
255 | if(0 != ioctlsocket(0, 0, 0))
| ^~~~~~~~~~~
/usr/bin/ld: /tmp/ccxhmCzf.o: in function `main':
conftest.c:(.text.startup+0x11): undefined reference to `ioctlsocket'
collect2: error: ld returned 1 exit status
configure:35036: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <windows.h>
| # ifdef HAVE_WINSOCK2_H
| # include <winsock2.h>
| # else
| # ifdef HAVE_WINSOCK_H
| # include <winsock.h>
| # endif
| # endif
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != ioctlsocket(0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:35044: result: no
configure:35129: checking if ioctlsocket might be used
configure:35218: result: no
configure:35230: checking if IoctlSocket can be linked
configure:35259: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccZ1sgSR.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `IoctlSocket'
collect2: error: ld returned 1 exit status
configure:35259: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| /* end confdefs.h. */
|
|
| #define IoctlSocket innocuous_IoctlSocket
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #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:35267: result: no
configure:35352: checking if IoctlSocket might be used
configure:35441: result: no
configure:35454: checking if localtime_r can be linked
configure:35483: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:35483: $? = 0
configure:35485: result: yes
configure:35500: checking if localtime_r is prototyped
configure:35511: result: yes
configure:35527: checking if localtime_r is compilable
configure:35546: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:35546: $? = 0
configure:35548: result: yes
configure:35564: checking if localtime_r seems to work
configure:35596: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:35596: $? = 0
configure:35596: ./conftest
configure:35596: $? = 0
configure:35598: result: yes
configure:35617: checking if localtime_r usage allowed
configure:35620: result: yes
configure:35630: checking if localtime_r might be used
configure:35637: result: yes
configure:35659: checking if memrchr can be linked
configure:35688: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:35688: $? = 0
configure:35690: result: yes
configure:35742: checking if memrchr is prototyped
configure:35759: result: no
configure:35819: checking if memrchr might be used
configure:35834: result: no
configure:35854: checking if poll can be linked
configure:35873: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:35873: $? = 0
configure:35875: result: yes
configure:35890: checking if poll is prototyped
configure:35901: result: yes
configure:35917: checking if poll is compilable
configure:35936: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:35936: $? = 0
configure:35938: result: yes
configure:35954: checking if poll seems to work
configure:35998: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:35998: $? = 0
configure:35998: ./conftest
configure:35998: $? = 0
configure:36000: result: yes
configure:36019: checking if poll usage allowed
configure:36022: result: yes
configure:36032: checking if poll might be used
configure:36039: result: yes
configure:36065: checking if setsockopt can be linked
configure:36085: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36085: $? = 0
configure:36087: result: yes
configure:36102: checking if setsockopt is prototyped
configure:36114: result: yes
configure:36130: checking if setsockopt is compilable
configure:36150: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:36150: $? = 0
configure:36152: result: yes
configure:36167: checking if setsockopt usage allowed
configure:36170: result: yes
configure:36180: checking if setsockopt might be used
configure:36186: result: yes
configure:36200: checking if setsockopt SO_NONBLOCK is compilable
configure:36220: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:267:43: error: 'SO_NONBLOCK' undeclared (first use in this function); did you mean 'SOCK_NONBLOCK'?
267 | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
| ^~~~~~~~~~~
| SOCK_NONBLOCK
conftest.c:267:43: note: each undeclared identifier is reported only once for each function it appears in
configure:36220: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <windows.h>
| # ifdef HAVE_WINSOCK2_H
| # include <winsock2.h>
| # else
| # ifdef HAVE_WINSOCK_H
| # include <winsock.h>
| # endif
| # endif
| #endif
| /* includes end */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| # include <sys/socket.h>
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:36228: result: no
configure:36250: checking if setsockopt SO_NONBLOCK might be used
configure:36263: result: no
configure:36287: checking for sys/types.h
configure:36287: result: yes
configure:36287: checking for signal.h
configure:36287: result: yes
configure:36306: checking if sigaction can be linked
configure:36335: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36335: $? = 0
configure:36337: result: yes
configure:36352: checking if sigaction is prototyped
configure:36363: result: yes
configure:36379: checking if sigaction is compilable
configure:36398: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:36398: $? = 0
configure:36400: result: yes
configure:36415: checking if sigaction usage allowed
configure:36418: result: yes
configure:36428: checking if sigaction might be used
configure:36434: result: yes
configure:36455: checking if siginterrupt can be linked
configure:36484: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36484: $? = 0
configure:36486: result: yes
configure:36501: checking if siginterrupt is prototyped
configure:36512: result: yes
configure:36528: checking if siginterrupt is compilable
configure:36547: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:255:9: warning: 'siginterrupt' is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations]
255 | if(0 != siginterrupt(0, 0))
| ^~
In file included from conftest.c:248:
/usr/include/signal.h:324:12: note: declared here
324 | extern int siginterrupt (int __sig, int __interrupt) __THROW
| ^~~~~~~~~~~~
configure:36547: $? = 0
configure:36549: result: yes
configure:36564: checking if siginterrupt usage allowed
configure:36567: result: yes
configure:36577: checking if siginterrupt might be used
configure:36583: result: yes
configure:36604: checking if signal can be linked
configure:36633: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36633: $? = 0
configure:36635: result: yes
configure:36650: checking if signal is prototyped
configure:36661: result: yes
configure:36677: checking if signal is compilable
configure:36696: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:36696: $? = 0
configure:36698: result: yes
configure:36713: checking if signal usage allowed
configure:36716: result: yes
configure:36726: checking if signal might be used
configure:36732: result: yes
configure:36759: checking for sys/types.h
configure:36759: result: yes
configure:36759: checking for setjmp.h
configure:36759: result: yes
configure:36779: checking if sigsetjmp can be linked
configure:36808: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccnfYiT5.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `sigsetjmp'
collect2: error: ld returned 1 exit status
configure:36808: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:36816: result: no
configure:36825: checking if sigsetjmp seems a macro
configure:36845: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36845: $? = 0
configure:36847: result: yes
configure:36891: checking if sigsetjmp is compilable
configure:36911: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:36911: $? = 0
configure:36913: result: yes
configure:36928: checking if sigsetjmp usage allowed
configure:36931: result: yes
configure:36941: checking if sigsetjmp might be used
configure:36947: result: yes
configure:36968: checking if socket can be linked
configure:36989: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:36989: $? = 0
configure:36991: result: yes
configure:37006: checking if socket is prototyped
configure:37019: result: yes
configure:37035: checking if socket is compilable
configure:37056: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:37056: $? = 0
configure:37058: result: yes
configure:37073: checking if socket usage allowed
configure:37076: result: yes
configure:37086: checking if socket might be used
configure:37092: result: yes
configure:37113: checking if socketpair can be linked
configure:37142: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:37142: $? = 0
configure:37144: result: yes
configure:37159: checking if socketpair is prototyped
configure:37171: result: yes
configure:37187: checking if socketpair is compilable
configure:37208: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:37208: $? = 0
configure:37210: result: yes
configure:37225: checking if socketpair usage allowed
configure:37228: result: yes
configure:37238: checking if socketpair might be used
configure:37244: result: yes
configure:37265: checking if strcasecmp can be linked
configure:37294: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:260:6: warning: conflicting types for built-in function 'strcasecmp'; expected 'int(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
260 | char strcasecmp ();
| ^~~~~~~~~~
configure:37294: $? = 0
configure:37296: result: yes
configure:37311: checking if strcasecmp is prototyped
configure:37322: result: yes
configure:37338: checking if strcasecmp is compilable
configure:37357: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:265:17: warning: argument 1 null where non-null expected [-Wnonnull]
265 | if(0 != strcasecmp(0, 0))
| ^~~~~~~~~~
In file included from /usr/include/string.h:462,
from conftest.c:255:
/usr/include/strings.h:116:12: note: in a call to function 'strcasecmp' declared 'nonnull'
116 | extern int strcasecmp (const char *__s1, const char *__s2)
| ^~~~~~~~~~
conftest.c:265:17: warning: argument 2 null where non-null expected [-Wnonnull]
265 | if(0 != strcasecmp(0, 0))
| ^~~~~~~~~~
In file included from /usr/include/string.h:462,
from conftest.c:255:
/usr/include/strings.h:116:12: note: in a call to function 'strcasecmp' declared 'nonnull'
116 | extern int strcasecmp (const char *__s1, const char *__s2)
| ^~~~~~~~~~
configure:37357: $? = 0
configure:37359: result: yes
configure:37374: checking if strcasecmp usage allowed
configure:37377: result: yes
configure:37387: checking if strcasecmp might be used
configure:37393: result: yes
configure:37414: checking if strcmpi can be linked
configure:37443: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccQ9XTxp.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `strcmpi'
collect2: error: ld returned 1 exit status
configure:37443: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:37451: result: no
configure:37536: checking if strcmpi might be used
configure:37551: result: no
configure:37563: checking if strdup can be linked
configure:37592: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:261:6: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch]
261 | char strdup ();
| ^~~~~~
configure:37592: $? = 0
configure:37594: result: yes
configure:37609: checking if strdup is prototyped
configure:37620: result: yes
configure:37636: checking if strdup is compilable
configure:37655: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:266:17: warning: argument 1 null where non-null expected [-Wnonnull]
266 | if(0 != strdup(0))
| ^~~~~~
In file included from conftest.c:256:
/usr/include/string.h:187:14: note: in a call to function 'strdup' declared 'nonnull'
187 | extern char *strdup (const char *__s)
| ^~~~~~
configure:37655: $? = 0
configure:37657: result: yes
configure:37672: checking if strdup usage allowed
configure:37675: result: yes
configure:37685: checking if strdup might be used
configure:37691: result: yes
configure:37718: checking if strerror_r can be linked
configure:37747: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:37747: $? = 0
configure:37749: result: yes
configure:37764: checking if strerror_r is prototyped
configure:37775: result: yes
configure:37791: checking if strerror_r is compilable
configure:37810: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:267:17: warning: argument 2 null where non-null expected [-Wnonnull]
267 | if(0 != strerror_r(0, 0, 0))
| ^~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:254:
/usr/include/string.h:432:12: note: in a call to function 'strerror_r' declared 'nonnull'
432 | extern int __REDIRECT_NTH (strerror_r,
| ^~~~~~~~~~~~~~
configure:37810: $? = 0
configure:37812: result: yes
configure:37827: checking if strerror_r is glibc like
configure:37850: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:263:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, size_t)' {aka 'char *(int, char *, long unsigned int)'}
263 | char *strerror_r(int errnum, char *workbuf, size_t bufsize);
| ^~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:254:
/usr/include/string.h:432:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'}
432 | extern int __REDIRECT_NTH (strerror_r,
| ^~~~~~~~~~~~~~
configure:37850: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <sys/types.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #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:37850: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:263:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, int)'
263 | char *strerror_r(int errnum, char *workbuf, int bufsize);
| ^~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:254:
/usr/include/string.h:432:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'}
432 | extern int __REDIRECT_NTH (strerror_r,
| ^~~~~~~~~~~~~~
configure:37850: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <sys/types.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #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:37850: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:263:19: error: conflicting types for 'strerror_r'; have 'char *(int, char *, unsigned int)'
263 | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize);
| ^~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:254:
/usr/include/string.h:432:12: note: previous declaration of 'strerror_r' with type 'int(int, char *, size_t)' {aka 'int(int, char *, long unsigned int)'}
432 | extern int __REDIRECT_NTH (strerror_r,
| ^~~~~~~~~~~~~~
configure:37850: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <sys/types.h>
| #endif
| #ifdef HAVE_STRING_H
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #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:37860: result: no
configure:37930: checking if strerror_r is POSIX like
configure:37953: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:268:21: warning: argument 2 null where non-null expected [-Wnonnull]
268 | if(0 != strerror_r(0, 0, 0))
| ^~~~~~~~~~
In file included from /usr/include/features.h:486,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from conftest.c:254:
/usr/include/string.h:432:12: note: in a call to function 'strerror_r' declared 'nonnull'
432 | extern int __REDIRECT_NTH (strerror_r,
| ^~~~~~~~~~~~~~
configure:37953: $? = 0
configure:37968: result: yes
configure:37977: checking if strerror_r seems to work
configure:38012: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:38012: $? = 0
configure:38012: ./conftest
configure:38012: $? = 0
configure:38014: result: yes
configure:38048: checking if strerror_r usage allowed
configure:38051: result: yes
configure:38061: checking if strerror_r might be used
configure:38067: result: yes
configure:38124: checking if stricmp can be linked
configure:38153: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/cc3pKvbH.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `stricmp'
collect2: error: ld returned 1 exit status
configure:38153: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:38161: result: no
configure:38246: checking if stricmp might be used
configure:38261: result: no
configure:38273: checking if strncasecmp can be linked
configure:38302: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:265:6: warning: conflicting types for built-in function 'strncasecmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch]
265 | char strncasecmp ();
| ^~~~~~~~~~~
configure:38302: $? = 0
configure:38304: result: yes
configure:38319: checking if strncasecmp is prototyped
configure:38330: result: yes
configure:38346: checking if strncasecmp is compilable
configure:38365: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:270:17: warning: argument 1 null where non-null expected [-Wnonnull]
270 | if(0 != strncasecmp(0, 0, 0))
| ^~~~~~~~~~~
In file included from /usr/include/string.h:462,
from conftest.c:260:
/usr/include/strings.h:120:12: note: in a call to function 'strncasecmp' declared 'nonnull'
120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
| ^~~~~~~~~~~
conftest.c:270:17: warning: argument 2 null where non-null expected [-Wnonnull]
270 | if(0 != strncasecmp(0, 0, 0))
| ^~~~~~~~~~~
In file included from /usr/include/string.h:462,
from conftest.c:260:
/usr/include/strings.h:120:12: note: in a call to function 'strncasecmp' declared 'nonnull'
120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
| ^~~~~~~~~~~
configure:38365: $? = 0
configure:38367: result: yes
configure:38382: checking if strncasecmp usage allowed
configure:38385: result: yes
configure:38395: checking if strncasecmp might be used
configure:38401: result: yes
configure:38422: checking if strncmpi can be linked
configure:38451: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/cceOUtCD.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `strncmpi'
collect2: error: ld returned 1 exit status
configure:38451: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:38459: result: no
configure:38544: checking if strncmpi might be used
configure:38559: result: no
configure:38571: checking if strnicmp can be linked
configure:38600: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/cc6YLhZy.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `strnicmp'
collect2: error: ld returned 1 exit status
configure:38600: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:38608: result: no
configure:38693: checking if strnicmp might be used
configure:38708: result: no
configure:38720: checking if strstr can be linked
configure:38749: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:266:6: warning: conflicting types for built-in function 'strstr'; expected 'char *(const char *, const char *)' [-Wbuiltin-declaration-mismatch]
266 | char strstr ();
| ^~~~~~
conftest.c:259:1: note: 'strstr' is declared in header '<string.h>'
258 | # include <limits.h>
259 | #else
configure:38749: $? = 0
configure:38751: result: yes
configure:38766: checking if strstr is prototyped
configure:38777: result: yes
configure:38793: checking if strstr is compilable
configure:38812: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:271:17: warning: argument 1 null where non-null expected [-Wnonnull]
271 | if(0 != strstr(0, 0))
| ^~~~~~
In file included from conftest.c:261:
/usr/include/string.h:350:14: note: in a call to function 'strstr' declared 'nonnull'
350 | extern char *strstr (const char *__haystack, const char *__needle)
| ^~~~~~
conftest.c:271:17: warning: argument 2 null where non-null expected [-Wnonnull]
271 | if(0 != strstr(0, 0))
| ^~~~~~
In file included from conftest.c:261:
/usr/include/string.h:350:14: note: in a call to function 'strstr' declared 'nonnull'
350 | extern char *strstr (const char *__haystack, const char *__needle)
| ^~~~~~
configure:38812: $? = 0
configure:38814: result: yes
configure:38829: checking if strstr usage allowed
configure:38832: result: yes
configure:38842: checking if strstr might be used
configure:38848: result: yes
configure:38869: checking if strtok_r can be linked
configure:38898: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:38898: $? = 0
configure:38900: result: yes
configure:38915: checking if strtok_r is prototyped
configure:38926: result: yes
configure:38942: checking if strtok_r is compilable
configure:38961: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:272:17: warning: argument 2 null where non-null expected [-Wnonnull]
272 | if(0 != strtok_r(0, 0, 0))
| ^~~~~~~~
In file included from conftest.c:262:
/usr/include/string.h:366:14: note: in a call to function 'strtok_r' declared 'nonnull'
366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
| ^~~~~~~~
conftest.c:272:17: warning: argument 3 null where non-null expected [-Wnonnull]
272 | if(0 != strtok_r(0, 0, 0))
| ^~~~~~~~
In file included from conftest.c:262:
/usr/include/string.h:366:14: note: in a call to function 'strtok_r' declared 'nonnull'
366 | extern char *strtok_r (char *__restrict __s, const char *__restrict __delim,
| ^~~~~~~~
configure:38961: $? = 0
configure:38963: result: yes
configure:38978: checking if strtok_r usage allowed
configure:38981: result: yes
configure:38991: checking if strtok_r might be used
configure:38997: result: yes
configure:39018: checking if strtoll can be linked
configure:39047: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39047: $? = 0
configure:39049: result: yes
configure:39064: checking if strtoll is prototyped
configure:39075: result: yes
configure:39091: checking if strtoll is compilable
configure:39110: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:270:17: warning: argument 1 null where non-null expected [-Wnonnull]
270 | if(0 != strtoll(0, 0, 0))
| ^~~~~~~
In file included from conftest.c:263:
/usr/include/stdlib.h:201:22: note: in a call to function 'strtoll' declared 'nonnull'
201 | extern long long int strtoll (const char *__restrict __nptr,
| ^~~~~~~
configure:39110: $? = 0
configure:39112: result: yes
configure:39127: checking if strtoll usage allowed
configure:39130: result: yes
configure:39140: checking if strtoll might be used
configure:39146: result: yes
configure:39173: checking for sys/types.h
configure:39173: result: yes
configure:39173: checking for sys/uio.h
configure:39173: result: yes
configure:39192: checking if writev can be linked
configure:39221: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39221: $? = 0
configure:39223: result: yes
configure:39238: checking if writev is prototyped
configure:39249: result: yes
configure:39265: checking if writev is compilable
configure:39284: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:39284: $? = 0
configure:39286: result: yes
configure:39301: checking if writev usage allowed
configure:39304: result: yes
configure:39314: checking if writev might be used
configure:39320: result: yes
configure:39365: checking for fork
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:271:6: warning: conflicting types for built-in function 'fork'; expected 'int(void)' [-Wbuiltin-declaration-mismatch]
271 | char fork ();
| ^~~~
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for geteuid
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for getpass_r
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccpjrLzt.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `getpass_r'
collect2: error: ld returned 1 exit status
configure:39365: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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 <limits.h>
| #else
| # include <assert.h>
| #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:39365: result: no
configure:39377: checking deeper for getpass_r
configure:39394: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:268:9: warning: implicit declaration of function 'getpass_r' [-Wimplicit-function-declaration]
268 | getpass_r ();
| ^~~~~~~~~
/usr/bin/ld: /tmp/cc4zdrKz.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `getpass_r'
collect2: error: ld returned 1 exit status
configure:39394: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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:39407: result: but still no
configure:39365: checking for getppid
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for getprotobyname
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for getpwuid
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for getpwuid_r
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for getrlimit
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for gettimeofday
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for if_nametoindex
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for inet_addr
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for perror
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for pipe
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for setlocale
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for setmode
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
/usr/bin/ld: /tmp/ccdjFVI1.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
configure:39365: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <limits.h>
| #else
| # include <assert.h>
| #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:39365: result: no
configure:39377: checking deeper for setmode
configure:39394: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c: In function 'main':
conftest.c:279:9: warning: implicit declaration of function 'setmode' [-Wimplicit-function-declaration]
279 | setmode ();
| ^~~~~~~
/usr/bin/ld: /tmp/ccoDw6Qh.o: in function `main':
conftest.c:(.text.startup+0xb): undefined reference to `setmode'
collect2: error: ld returned 1 exit status
configure:39394: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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:39407: result: but still no
configure:39365: checking for setrlimit
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for uname
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39365: checking for utime
configure:39365: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39365: $? = 0
configure:39365: result: yes
configure:39423: checking for sys/types.h
configure:39423: result: yes
configure:39423: checking for sys/socket.h
configure:39423: result: yes
configure:39423: checking for netdb.h
configure:39423: result: yes
configure:39434: checking for getnameinfo
configure:39463: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
configure:39463: $? = 0
configure:39465: result: yes
configure:39573: checking types of arguments for getnameinfo
configure:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int)' {aka 'int(struct sockaddr *, unsigned int, char *, long unsigned int, char *, long unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, size_t, char *, size_t, unsigned int)' {aka 'int(struct sockaddr *, unsigned int, char *, long unsigned int, char *, long unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, int, char *, int, int)' {aka 'int(struct sockaddr *, unsigned int, char *, int, char *, int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, int, char *, int, unsigned int)' {aka 'int(struct sockaddr *, unsigned int, char *, int, char *, int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, socklen_t, char *, socklen_t, int)' {aka 'int(struct sockaddr *, unsigned int, char *, unsigned int, char *, unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, socklen_t, char *, socklen_t, unsigned int)' {aka 'int(struct sockaddr *, unsigned int, char *, unsigned int, char *, unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, unsigned int, char *, unsigned int, int)' {aka 'int(struct sockaddr *, unsigned int, char *, unsigned int, char *, unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, socklen_t, char *, unsigned int, char *, unsigned int, unsigned int)' {aka 'int(struct sockaddr *, unsigned int, char *, unsigned int, char *, unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, size_t, char *, size_t, int)' {aka 'int(struct sockaddr *, long unsigned int, char *, long unsigned int, char *, long unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, size_t, char *, size_t, unsigned int)' {aka 'int(struct sockaddr *, long unsigned int, char *, long unsigned int, char *, long unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, int, char *, int, int)' {aka 'int(struct sockaddr *, long unsigned int, char *, int, char *, int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, int, char *, int, unsigned int)' {aka 'int(struct sockaddr *, long unsigned int, char *, int, char *, int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, socklen_t, char *, socklen_t, int)' {aka 'int(struct sockaddr *, long unsigned int, char *, unsigned int, char *, unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, socklen_t, char *, socklen_t, unsigned int)' {aka 'int(struct sockaddr *, long unsigned int, char *, unsigned int, char *, unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, unsigned int, char *, unsigned int, int)' {aka 'int(struct sockaddr *, long unsigned int, char *, unsigned int, char *, unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, size_t, char *, unsigned int, char *, unsigned int, unsigned int)' {aka 'int(struct sockaddr *, long unsigned int, char *, unsigned int, char *, unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, size_t, char *, size_t, int)' {aka 'int(struct sockaddr *, int, char *, long unsigned int, char *, long unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, size_t, char *, size_t, unsigned int)' {aka 'int(struct sockaddr *, int, char *, long unsigned int, char *, long unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, int, char *, int, int)'
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, int, char *, int, unsigned int)'
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, socklen_t, char *, socklen_t, int)' {aka 'int(struct sockaddr *, int, char *, unsigned int, char *, unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, socklen_t, char *, socklen_t, unsigned int)' {aka 'int(struct sockaddr *, int, char *, unsigned int, char *, unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, unsigned int, char *, unsigned int, int)'
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(struct sockaddr *, int, char *, unsigned int, char *, unsigned int, unsigned int)'
310 | extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:311:52: error: unknown type name 'DWORD'
311 | char *, DWORD,
| ^~~~~
conftest.c:312:52: error: unknown type name 'DWORD'
312 | char *, DWORD,
| ^~~~~
conftest.c: In function 'main':
conftest.c:319:21: error: unknown type name 'DWORD'
319 | DWORD hostlen=0;
| ^~~~~
conftest.c:320:21: error: unknown type name 'DWORD'
320 | DWORD servlen=0;
| ^~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int)' {aka 'int(const struct sockaddr *, unsigned int, char *, long unsigned int, char *, long unsigned int, int)'}
310 | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, unsigned int)' {aka 'int(const struct sockaddr *, unsigned int, char *, long unsigned int, char *, long unsigned int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(const struct sockaddr *, socklen_t, char *, int, char *, int, int)' {aka 'int(const struct sockaddr *, unsigned int, char *, int, char *, int, int)'}
310 | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
conftest.c:310:44: error: conflicting types for 'getnameinfo'; have 'int(const struct sockaddr *, socklen_t, char *, int, char *, int, unsigned int)' {aka 'int(const struct sockaddr *, unsigned int, char *, int, char *, int, unsigned int)'}
310 | extern int GNICALLCONV getnameinfo(const struct sockaddr *, socklen_t,
| ^~~~~~~~~~~
In file included from conftest.c:306:
/usr/include/netdb.h:675:12: note: previous declaration of 'getnameinfo' with type 'int(const struct sockaddr * restrict, socklen_t, char * restrict, socklen_t, char * restrict, socklen_t, int)' {aka 'int(const struct sockaddr * restrict, unsigned int, char * restrict, unsigned int, char * restrict, unsigned int, int)'}
675 | extern int getnameinfo (const struct sockaddr *__restrict __sa,
| ^~~~~~~~~~~
configure:39637: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <windows.h>
| #ifdef HAVE_WINSOCK2_H
| #include <winsock2.h>
| #ifdef HAVE_WS2TCPIP_H
| #include <ws2tcpip.h>
| #endif
| #endif
| #define GNICALLCONV WSAAPI
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #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:39637: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:39637: $? = 0
configure:39650: result: const struct sockaddr *,socklen_t,socklen_t,int
configure:39744: checking for stdio.h
configure:39744: result: yes
configure:39744: checking for sys/types.h
configure:39744: result: yes
configure:39744: checking for sys/socket.h
configure:39744: result: yes
configure:39744: checking for netdb.h
configure:39744: result: yes
configure:39744: checking for netinet/in.h
configure:39744: result: yes
configure:39744: checking for arpa/inet.h
configure:39744: result: yes
configure:39755: checking for working NI_WITHSCOPEID
configure:39860: gcc -o conftest -O2 -Wno-system-headers conftest.c -lidn2 -lssl -lcrypto -lssl -lcrypto -lz >&5
conftest.c:352:3: error: stray '#' in program
352 | } # AC-LANG-PROGRAM
| ^
conftest.c:352:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token
352 | } # AC-LANG-PROGRAM
| ^
configure:39860: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "x86_64-pc-linux-gnu"
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define SIZEOF_LONG 8
| #define SIZEOF_VOIDP 8
| #define CURL_TYPEOF_CURL_OFF_T long
| #define CURL_FORMAT_CURL_OFF_T "ld"
| #define CURL_FORMAT_CURL_OFF_TU "lu"
| #define CURL_FORMAT_OFF_T "%ld"
| #define CURL_SIZEOF_CURL_OFF_T 8
| #define CURL_SUFFIX_CURL_OFF_T L
| #define CURL_SUFFIX_CURL_OFF_TU UL
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_TIME_H 1
| #define HAVE_CLOCK_GETTIME_MONOTONIC 1
| #define HAVE_ZLIB_H 1
| #define HAVE_LIBZ 1
| #define CURL_DISABLE_LDAP 1
| #define CURL_DISABLE_LDAPS 1
| #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
| #define HAVE_WRITABLE_ARGV 1
| #define HAVE_LIBSSL 1
| #define HAVE_OPENSSL_X509_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_RSA_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_CRYPTO_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PEM_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_SSL_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_ERR_H 1
| #define USE_OPENSSL 1
| #define HAVE_OPENSSL_PKCS12_H 1
| #define HAVE_OPENSSL_ENGINE_H 1
| #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
| #define HAVE_SSL_GET_SHUTDOWN 1
| #define RANDOM_FILE "/dev/urandom"
| #define HAVE_OPENSSL_SRP 1
| #define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
| #define HAVE_IDN2_H 1
| #define HAVE_LIBIDN2 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_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_GETPWUID_R 1
| #define HAVE_GETRLIMIT 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_IF_NAMETOINDEX 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 <stdlib.h>
| #endif
| #ifdef HAVE_STDIO_H
| #include <stdio.h>
| #endif
| #ifdef HAVE_SYS_TYPES_H
| #include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include <sys/socket.h>
| #endif
| #ifdef HAVE_NETDB_H
| #include <netdb.h>
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_ARPA_INET_H
| #include <arpa/inet.h>
| #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:39877: result: no
configure:39893: checking how to set a socket into non-blocking mode
configure:39906: result: fcntl O_NONBLOCK
configure:39917: checking for perl
configure:39936: found /usr/bin/perl
configure:39948: result: /usr/bin/perl
configure:39962: checking for gnroff
configure:39996: result: no
configure:39962: checking for nroff
configure:39981: found /usr/bin/nroff
configure:39993: result: /usr/bin/nroff
configure:40008: checking how to use *nroff to get plain text from man pages
configure:40026: result: -man
configure:40173: checking whether to enable the threaded resolver
configure:40189: result: no
configure:40270: checking whether to enable verbose strings
configure:40288: result: yes
configure:40294: checking whether to enable SSPI support (Windows native builds only)
configure:40333: result: no
configure:40340: checking whether to enable cryptographic authentication methods
configure:40358: result: yes
configure:40389: checking whether to enable NTLM delegation to winbind's helper
configure:40396: result: yes
configure:40411: checking whether to enable TLS-SRP authentication
configure:40430: result: yes
configure:40445: checking whether to enable Unix domain sockets
configure:40461: result: auto
configure:40469: checking for struct sockaddr_un.sun_path
configure:40469: gcc -c -O2 -Wno-system-headers conftest.c >&5
configure:40469: $? = 0
configure:40469: result: yes
configure:40492: checking whether to enable support for cookies
configure:40509: result: yes
configure:40516: checking whether hiding of library internal symbols will actually happen
configure:40530: result: yes
configure:40548: checking whether to enforce SONAME bump
configure:40563: result: no
configure:41046: checking that generated files are newer than configure
configure:41052: result: done
configure:41143: 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 simonzhangsz
config.status:1497: creating Makefile
config.status:1497: creating docs/Makefile
config.status:1497: creating docs/examples/Makefile
config.status:1497: creating docs/libcurl/Makefile
config.status:1497: creating docs/libcurl/opts/Makefile
config.status:1497: creating docs/cmdline-opts/Makefile
config.status:1497: creating include/Makefile
config.status:1497: creating include/curl/Makefile
config.status:1497: creating src/Makefile
config.status:1497: creating lib/Makefile
config.status:1497: creating scripts/Makefile
config.status:1497: creating lib/libcurl.vers
config.status:1497: creating tests/Makefile
config.status:1497: creating tests/certs/Makefile
config.status:1497: creating tests/certs/scripts/Makefile
config.status:1497: creating tests/data/Makefile
config.status:1497: creating tests/server/Makefile
config.status:1497: creating tests/libtest/Makefile
config.status:1497: creating tests/unit/Makefile
config.status:1497: creating packages/Makefile
config.status:1497: creating packages/Win32/Makefile
config.status:1497: creating packages/Win32/cygwin/Makefile
config.status:1497: creating packages/Linux/Makefile
config.status:1497: creating packages/Linux/RPM/Makefile
config.status:1497: creating packages/Linux/RPM/curl.spec
config.status:1497: creating packages/Linux/RPM/curl-ssl.spec
config.status:1497: creating packages/Solaris/Makefile
config.status:1497: creating packages/EPM/curl.list
config.status:1497: creating packages/EPM/Makefile
config.status:1497: creating packages/vms/Makefile
config.status:1497: creating packages/AIX/Makefile
config.status:1497: creating packages/AIX/RPM/Makefile
config.status:1497: creating packages/AIX/RPM/curl.spec
config.status:1497: creating curl-config
config.status:1497: creating libcurl.pc
config.status:1497: creating lib/curl_config.h
config.status:1497: creating include/curl/curlbuild.h
config.status:1726: executing depfiles commands
config.status:1726: executing libtool commands
configure:43518: amending lib/Makefile
configure:43518: amending src/Makefile
configure:43518: amending tests/unit/Makefile
configure:43518: amending tests/server/Makefile
configure:43518: amending tests/libtest/Makefile
configure:43518: amending docs/examples/Makefile
configure:43631: Configured to build curl/libcurl:
curl version: 7.52.1
Host setup: x86_64-pc-linux-gnu
Install prefix: /usr/local
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
GSS-API support: no (--with-gssapi)
TLS-SRP support: enabled
resolver: default (--enable-ares / --enable-threaded-resolver)
IPv6 support: enabled
Unix sockets support: enabled
IDN support: enabled (libidn2)
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
ca fallback: no
LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib)
LDAPS support: no (--enable-ldaps)
RTSP support: enabled
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
PSL support: no (libpsl not found)
HTTP2 support: disabled (--with-nghttp2)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file__dev_urandom=yes
ac_cv_func_ENGINE_cleanup=no
ac_cv_func_ENGINE_init=yes
ac_cv_func_ENGINE_load_builtin_engines=yes
ac_cv_func_RAND_egd=no
ac_cv_func_SSL_get_shutdown=yes
ac_cv_func_SSLv2_client_method=no
ac_cv_func_fork=yes
ac_cv_func_geteuid=yes
ac_cv_func_gethostbyname=yes
ac_cv_func_getpass_r=no
ac_cv_func_getppid=yes
ac_cv_func_getprotobyname=yes
ac_cv_func_getpwuid=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_getrlimit=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_if_nametoindex=yes
ac_cv_func_inet_addr=yes
ac_cv_func_perror=yes
ac_cv_func_pipe=yes
ac_cv_func_setlocale=yes
ac_cv_func_setmode=no
ac_cv_func_setrlimit=yes
ac_cv_func_uname=yes
ac_cv_func_utime=yes
ac_cv_header_alloca_h=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_arpa_tftp_h=yes
ac_cv_header_assert_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_errno_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_idn2_h=yes
ac_cv_header_ifaddrs_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_io_h=no
ac_cv_header_libgen_h=yes
ac_cv_header_libssh2_h=no
ac_cv_header_limits_h=yes
ac_cv_header_locale_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_net_if_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_netinet_tcp_h=yes
ac_cv_header_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=no
ac_cv_header_sys_filio_h=no
ac_cv_header_sys_ioctl_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_poll_h=yes
ac_cv_header_sys_resource_h=yes
ac_cv_header_sys_select_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_sockio_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_sys_uio_h=yes
ac_cv_header_sys_un_h=yes
ac_cv_header_sys_utime_h=no
ac_cv_header_sys_wait_h=yes
ac_cv_header_sys_xattr_h=yes
ac_cv_header_termio_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_time=yes
ac_cv_header_time_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_utime_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_HMAC_Update=yes
ac_cv_lib_crypto_SRP_Calc_client_key=yes
ac_cv_lib_rtmp_RTMP_Init=no
ac_cv_lib_ssh2_libssh2_channel_open_ex=no
ac_cv_lib_ssl_SSL_connect=yes
ac_cv_member_struct_sockaddr_un_sun_path=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_NROFF=/usr/bin/nroff
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_ac_pt_AR=/usr/bin/ar
ac_cv_path_ac_pt_PKGCONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_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_search_psl_builtin=no
ac_cv_sizeof_int=4
ac_cv_sizeof_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short=2
ac_cv_sizeof_size_t=8
ac_cv_sizeof_time_t=8
ac_cv_sizeof_voidp=8
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_type_bool=yes
ac_cv_type_in_addr_t=yes
ac_cv_type_long_long=yes
ac_cv_type_sig_atomic_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_struct_sockaddr_storage=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
curl_cv_def_OPENSSL_VERSION_NUMBER='( (3<<28) |(0<<20) |(2<<4) |0x0L )'
curl_cv_def___GNUC__=11
curl_cv_func_alarm=yes
curl_cv_func_basename=yes
curl_cv_func_closesocket=no
curl_cv_func_closesocket_camel=no
curl_cv_func_connect=yes
curl_cv_func_fcntl=yes
curl_cv_func_fcntl_o_nonblock=yes
curl_cv_func_fdopen=yes
curl_cv_func_freeaddrinfo=yes
curl_cv_func_freeifaddrs=yes
curl_cv_func_fsetxattr=yes
curl_cv_func_ftruncate=yes
curl_cv_func_gai_strerror=yes
curl_cv_func_getaddrinfo=yes
curl_cv_func_getaddrinfo_threadsafe=yes
curl_cv_func_gethostbyaddr=yes
curl_cv_func_gethostbyaddr_r=yes
curl_cv_func_gethostbyname=yes
curl_cv_func_gethostbyname_r=yes
curl_cv_func_gethostname=yes
curl_cv_func_getifaddrs=yes
curl_cv_func_getnameinfo=yes
curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,socklen_t,int'
curl_cv_func_getservbyport_r=yes
curl_cv_func_gmtime_r=yes
curl_cv_func_inet_ntoa_r=no
curl_cv_func_inet_ntop=yes
curl_cv_func_inet_pton=yes
curl_cv_func_ioctl=yes
curl_cv_func_ioctl_fionbio=yes
curl_cv_func_ioctl_siocgifaddr=yes
curl_cv_func_ioctlsocket=no
curl_cv_func_ioctlsocket_camel=no
curl_cv_func_localtime_r=yes
curl_cv_func_memrchr=no
curl_cv_func_poll=yes
curl_cv_func_recv=yes
curl_cv_func_recv_args='int,void *,size_t,int,ssize_t'
curl_cv_func_select=yes
curl_cv_func_select_args='int,fd_set *,struct timeval *,int'
curl_cv_func_send=yes
curl_cv_func_send_args='int,const void *,size_t,int,ssize_t'
curl_cv_func_setsockopt=yes
curl_cv_func_setsockopt_so_nonblock=no
curl_cv_func_sigaction=yes
curl_cv_func_siginterrupt=yes
curl_cv_func_signal=yes
curl_cv_func_sigsetjmp=yes
curl_cv_func_socket=yes
curl_cv_func_socketpair=yes
curl_cv_func_strcasecmp=yes
curl_cv_func_strcmpi=no
curl_cv_func_strdup=yes
curl_cv_func_strerror_r=yes
curl_cv_func_stricmp=no
curl_cv_func_strncasecmp=yes
curl_cv_func_strncmpi=no
curl_cv_func_strnicmp=no
curl_cv_func_strstr=yes
curl_cv_func_strtok_r=yes
curl_cv_func_strtoll=yes
curl_cv_func_writev=yes
curl_cv_gclk_LIBS=
curl_cv_getnameinfo=yes
curl_cv_have_def_OPENSSL_VERSION_NUMBER=yes
curl_cv_have_def__COMPILER_VERSION=no
curl_cv_have_def__SGI_COMPILER_VERSION=no
curl_cv_have_def__WIN32=no
curl_cv_have_def___DECC=no
curl_cv_have_def___DECC_VER=no
curl_cv_have_def___GNUC__=yes
curl_cv_have_def___HP_cc=no
curl_cv_have_def___IBMC__=no
curl_cv_have_def___INTEL_COMPILER=no
curl_cv_have_def___LCC__=no
curl_cv_have_def___SUNPRO_C=no
curl_cv_have_def___TINYC__=no
curl_cv_have_def___WATCOMC__=no
curl_cv_have_def___clang__=no
curl_cv_have_def___sgi=no
curl_cv_have_def_h_errno=yes
curl_cv_header_lber_h=no
curl_cv_header_ldap_h=no
curl_cv_header_ldap_ssl_h=no
curl_cv_header_ldapssl_h=no
curl_cv_header_malloc_h=yes
curl_cv_header_memory_h=yes
curl_cv_header_winber_h=no
curl_cv_header_windows_h=no
curl_cv_header_winldap_h=no
curl_cv_header_winsock2_h=no
curl_cv_header_winsock_h=no
curl_cv_header_ws2tcpip_h=no
curl_cv_ldap_LIBS=unknown
curl_cv_msg_nosignal=yes
curl_cv_native_windows=no
curl_cv_need_header_malloc_h=no
curl_cv_need_header_memory_h=no
curl_cv_recv=yes
curl_cv_save_LIBS='-lz '
curl_cv_select=yes
curl_cv_send=yes
curl_cv_sig_atomic_t_volatile=no
curl_cv_struct_timeval=yes
curl_cv_variadic_macros_c99=yes
curl_cv_variadic_macros_gcc=yes
curl_cv_working_ni_withscopeid=no
curl_cv_writable_argv=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='/usr/bin/ar'
AS='as'
AUTOCONF='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/missing autoconf'
AUTOHEADER='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/missing autoheader'
AUTOMAKE='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/missing automake-1.15'
AWK='gawk'
BLANK_AT_MAKETIME=''
BUILD_LIBHOSTNAME_FALSE='#'
BUILD_LIBHOSTNAME_TRUE=''
BUILD_UNITTESTS_FALSE=''
BUILD_UNITTESTS_TRUE='#'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-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.52.1'
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='1'
CURL_DISABLE_LDAPS='1'
CURL_DISABLE_POP3=''
CURL_DISABLE_PROXY=''
CURL_DISABLE_RTSP=''
CURL_DISABLE_SMB=''
CURL_DISABLE_SMTP=''
CURL_DISABLE_TELNET=''
CURL_DISABLE_TFTP=''
CURL_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=''
CURL_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
CURL_LT_SHLIB_USE_NO_UNDEFINED_FALSE=''
CURL_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_FALSE=''
CURL_LT_SHLIB_USE_VERSIONED_SYMBOLS_TRUE='#'
CURL_LT_SHLIB_USE_VERSION_INFO_FALSE='#'
CURL_LT_SHLIB_USE_VERSION_INFO_TRUE=''
CURL_LT_SHLIB_VERSIONED_FLAVOUR=''
CURL_NETWORK_AND_TIME_LIBS=''
CURL_NETWORK_LIBS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DOING_CURL_SYMBOL_HIDING_FALSE='#'
DOING_CURL_SYMBOL_HIDING_TRUE=''
DOING_NATIVE_WINDOWS_FALSE=''
DOING_NATIVE_WINDOWS_TRUE='#'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_SHARED='yes'
ENABLE_STATIC='yes'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
HAVE_GNUTLS_SRP=''
HAVE_LDAP_SSL='1'
HAVE_LIBZ='1'
HAVE_LIBZ_FALSE='#'
HAVE_LIBZ_TRUE=''
HAVE_OPENSSL_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='-lidn2 -lssl -lcrypto -lssl -lcrypto -lz'
LIBMETALINK_CPPFLAGS=''
LIBMETALINK_LDFLAGS=''
LIBMETALINK_LIBS=''
LIBOBJS=''
LIBS='-lidn2 -lssl -lcrypto -lssl -lcrypto -lz'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/missing makeinfo'
MANIFEST_TOOL=':'
MANOPT='-man'
MKDIR_P='/usr/bin/mkdir -p'
NM='/usr/bin/nm -B'
NMEDIT=''
NROFF='/usr/bin/nroff'
NSS_LIBS=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='curl'
PACKAGE_BUGREPORT='a suitable curl mailing list: https://curl.haxx.se/mail/'
PACKAGE_NAME='curl'
PACKAGE_STRING='curl -'
PACKAGE_TARNAME='curl'
PACKAGE_URL=''
PACKAGE_VERSION='-'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
PKGADD_NAME='curl - a client that groks URLs'
PKGADD_PKG='HAXXcurl'
PKGADD_VENDOR='curl.haxx.se'
PKGCONFIG='no'
RANDOM_FILE='/dev/urandom'
RANLIB='ranlib'
REQUIRE_LIB_DEPS='no'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SONAME_BUMP_FALSE=''
SONAME_BUMP_TRUE='#'
SSL_ENABLED='1'
SSL_LIBS='-lssl -lcrypto'
STRIP='strip'
SUPPORT_FEATURES='SSL IPv6 UnixSockets libz IDN NTLM NTLM_WB TLS-SRP HTTPS-proxy'
SUPPORT_PROTOCOLS='DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS POP3 POP3S RTSP SMB SMBS 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_LIBPSL_FALSE=''
USE_LIBPSL_TRUE='#'
USE_LIBRTMP=''
USE_LIBSSH2=''
USE_MANUAL_FALSE='#'
USE_MANUAL_TRUE=''
USE_MBEDTLS=''
USE_NGHTTP2=''
USE_NSS=''
USE_OPENLDAP=''
USE_POLARSSL=''
USE_SCHANNEL=''
USE_UNIX_SOCKETS='1'
USE_WINDOWS_SSPI=''
VERSION='-'
VERSIONNUM='073401'
ZLIB_LIBS='-lz'
ZSH_FUNCTIONS_DIR='${prefix}/share/zsh/site-functions'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/simon/ocs.git/selfcare/proxy_c/third-lib/curl-7.52.1/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libext='a'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "curl"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_VERSION "-"
#define PACKAGE_STRING "curl -"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: https://curl.haxx.se/mail/"
#define PACKAGE_URL ""
#define PACKAGE "curl"
#define VERSION "-"
#define OS "x86_64-pc-linux-gnu"
#define HAVE_SYS_TYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_INTTYPES_H 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define SIZEOF_LONG 8
#define SIZEOF_VOIDP 8
#define CURL_TYPEOF_CURL_OFF_T long
#define CURL_FORMAT_CURL_OFF_T "ld"
#define CURL_FORMAT_CURL_OFF_TU "lu"
#define CURL_FORMAT_OFF_T "%ld"
#define CURL_SIZEOF_CURL_OFF_T 8
#define CURL_SUFFIX_CURL_OFF_T L
#define CURL_SUFFIX_CURL_OFF_TU UL
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_LDAP_SSL 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define HAVE_CLOCK_GETTIME_MONOTONIC 1
#define HAVE_ZLIB_H 1
#define HAVE_LIBZ 1
#define CURL_DISABLE_LDAP 1
#define CURL_DISABLE_LDAPS 1
#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
#define HAVE_WRITABLE_ARGV 1
#define HAVE_LIBSSL 1
#define HAVE_OPENSSL_X509_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_RSA_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_CRYPTO_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_PEM_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_SSL_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_ERR_H 1
#define USE_OPENSSL 1
#define HAVE_OPENSSL_PKCS12_H 1
#define HAVE_OPENSSL_ENGINE_H 1
#define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
#define HAVE_SSL_GET_SHUTDOWN 1
#define RANDOM_FILE "/dev/urandom"
#define HAVE_OPENSSL_SRP 1
#define CURL_CA_BUNDLE "/etc/ssl/certs/ca-certificates.crt"
#define HAVE_IDN2_H 1
#define HAVE_LIBIDN2 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_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_GETPWUID_R 1
#define HAVE_GETRLIMIT 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_IF_NAMETOINDEX 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 USE_UNIX_SOCKETS 1
#define CURL_EXTERN_SYMBOL __attribute__ ((__visibility__ ("default")))
configure: exit 0