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.65. Invocation command line was $ ./configure --prefix=/home/xingsu/work/libcurl --enable-debug --enable-curldebug --disable-http --disable-telnet --disable-tftp --disable-pop3 --disable-imap --disable-smtp --disable-ldap --disable-ldaps --disable-dict --with-libssh2=/home/xingsu/work/libssh2 --without-ssl --enable-ipv6 --enable-crypto-auth --enable-threaded-resolver CPPFLAGS=-D_THREAD_SAFE -D_REENTRANT LDFLAGS=-pthreads ## --------- ## ## Platform. ## ## --------- ## hostname = zsups202 uname -m = sun4v uname -r = 5.10 uname -s = SunOS uname -v = Generic_141444-09 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = zsups202 Release = 5.10 KernelID = Generic_141444-09 Machine = sun4v BusType = Serial = Users = OEM# = 0 Origin# = 1 NumCPU = 128 /bin/arch = sun4 /usr/bin/arch -k = sun4v /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/xingsu/bin PATH: /ioam_tools/LDB_TOOLS/int/build/shell PATH: /opt/swe/tools/ext/iona/orbix-3.3.8_tp2/bin PATH: /opt/swe/tools/ext/sun/jdk-1.6.0.21/sparc-solaris2.10/bin PATH: /opt/swe/tools/ext/apache/apache-ant-1.6.5/bin PATH: /opt/swe/tools/ext/oci/tao-1.5a_p13/ACE_wrappers/bin PATH: /opt/swe/tools/ext/versant/vds-7.0.1.3/bin PATH: /opt/swe/tools/ext/parasoft/cw-4.2_p1/bin.solaris PATH: /omc/umts/tools/bin PATH: /opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin PATH: /opt/swe/tools/in/omc/uppertools-1.0_p1/sparc-solaris2.6/bin PATH: /usr/atria/bin PATH: /opt/swe/tools/ext/rational/rosert-2003.06.15/releases/RoseRT.2003.06.00/bin PATH: /usr/dt/bin PATH: /usr/openwin/bin PATH: /opt/swe/bin/in PATH: /opt/swe/bin PATH: /opt/swe/bin/pao PATH: /usr/ccs/bin PATH: /usr/sbin PATH: /bin PATH: /usr/ucb PATH: . PATH: /omc/tools/bin PATH: /opt/swe/tools/ext/oci/jacorb-2.3_p4/JacORB/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2790: checking whether to enable maintainer-specific portions of Makefiles configure:2799: result: no configure:2816: checking whether to enable debug build options configure:2835: result: yes configure:2839: checking whether to enable compiler optimizer configure:2856: result: (assumed) no configure:2872: checking whether to enable strict compiler warnings configure:2891: result: yes configure:2895: checking whether to enable curl debug memory tracking configure:2922: result: yes configure:2928: checking whether to enable c-ares for DNS lookups configure:2950: result: no configure:2965: checking for sed configure:2984: found /bin/sed configure:2997: result: /bin/sed configure:3012: checking for grep configure:3031: found /bin/grep configure:3044: result: /bin/grep configure:3066: checking for egrep configure:3085: found /bin/egrep configure:3098: result: /bin/egrep configure:3159: checking for ar configure:3178: found /usr/ccs/bin/ar configure:3190: result: /usr/ccs/bin/ar configure:3262: checking for a BSD-compatible install configure:3330: result: ./install-sh -c configure:3341: checking whether build environment is sane configure:3378: result: yes configure:3440: checking for gawk configure:3456: found /opt/swe/bin/gawk configure:3467: result: gawk configure:3478: checking whether make sets $(MAKE) configure:3500: result: yes configure:3678: checking curl version configure:3680: result: 7.21.0 configure:3717: checking build system type configure:3731: result: sparc-sun-solaris2.10 configure:3751: checking host system type configure:3764: result: sparc-sun-solaris2.10 configure:3802: checking for style of include used by make configure:3830: result: GNU configure:3906: checking for gcc configure:3922: found /home/xingsu/bin/gcc configure:3933: result: gcc configure:4162: checking for C compiler version configure:4171: gcc --version >&5 gcc (GCC) 4.1.2 Copyright (C) 2006 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:4182: $? = 0 configure:4171: gcc -v >&5 Using built-in specs. Target: sparc-sun-solaris2.10 Configured with: ./configure --prefix=/opt/swe/tools/ext/gnu/gcc-4.1.2 --exec-prefix=/opt/swe/tools/ext/gnu/gcc-4.1.2/sparc-solaris2.10 --disable-shared --enable-threads=posix --enable-languages=c,c++,java Thread model: posix gcc version 4.1.2 configure:4182: $? = 0 configure:4171: gcc -V >&5 gcc: '-V' option must have argument configure:4182: $? = 1 configure:4171: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:4182: $? = 1 configure:4201: checking whether the C compiler works configure:4223: gcc -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:4227: $? = 0 configure:4276: result: yes configure:4279: checking for C compiler default output file name configure:4281: result: a.out configure:4287: checking for suffix of executables configure:4294: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:4298: $? = 0 configure:4320: result: configure:4341: checking whether we are cross compiling configure:4349: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:4353: $? = 0 configure:4360: ./conftest configure:4364: $? = 0 configure:4379: result: no configure:4384: checking for suffix of object files configure:4405: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4409: $? = 0 configure:4430: result: o configure:4434: checking whether we are using the GNU C compiler configure:4452: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4452: $? = 0 configure:4461: result: yes configure:4470: checking whether gcc accepts -g configure:4489: gcc -c -g -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4489: $? = 0 configure:4528: result: yes configure:4545: checking for gcc option to accept ISO C89 configure:4608: gcc -c -g -O2 -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4608: $? = 0 configure:4621: result: none needed configure:4643: checking dependency style of gcc configure:4733: result: gcc3 configure:4776: checking for sys/types.h configure:4776: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4776: $? = 0 configure:4776: result: yes configure:4776: checking for stdint.h configure:4776: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4776: $? = 0 configure:4776: result: yes configure:4776: checking for inttypes.h configure:4776: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:4776: $? = 0 configure:4776: result: yes configure:4794: checking how to run the C preprocessor configure:4825: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:4825: $? = 0 configure:4839: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c conftest.c:15:28: error: ac_nonexistent.h: No such file or directory configure:4839: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | #include configure:4864: result: gcc -E configure:4884: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:4884: $? = 0 configure:4898: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c conftest.c:15:28: error: ac_nonexistent.h: No such file or directory configure:4898: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | /* end confdefs.h. */ | #include configure:4927: checking for grep that handles long lines and -e configure:4985: result: /bin/grep configure:4990: checking for egrep configure:5052: result: /bin/egrep configure:5057: checking for ANSI C header files configure:5076: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5076: $? = 0 configure:5149: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:5149: $? = 0 configure:5149: ./conftest configure:5149: $? = 0 configure:5160: result: yes configure:5173: checking for sys/types.h configure:5173: result: yes configure:5173: checking for sys/stat.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5173: checking for stdlib.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5173: checking for string.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5173: checking for memory.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5173: checking for strings.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5173: checking for inttypes.h configure:5173: result: yes configure:5173: checking for stdint.h configure:5173: result: yes configure:5173: checking for unistd.h configure:5173: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5173: $? = 0 configure:5173: result: yes configure:5197: checking size of long configure:5202: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:5202: $? = 0 configure:5202: ./conftest configure:5202: $? = 0 configure:5217: result: 4 configure:5231: checking size of void* configure:5236: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:5236: $? = 0 configure:5236: ./conftest configure:5236: $? = 0 configure:5251: result: 4 configure:5293: checking for 64-bit curl_off_t data type configure:5343: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5343: $? = 0 configure:5370: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:5370: $? = 0 configure:5405: result: int64_t configure:5640: checking size of curl_off_t configure:5642: result: 8 configure:5645: checking formatting string directive for curl_off_t configure:5685: result: "lld" configure:5688: checking formatting string directive for unsigned curl_off_t configure:5690: result: "llu" configure:5694: checking constant suffix string for curl_off_t configure:5761: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5761: $? = 0 configure:5775: result: LL configure:5777: checking constant suffix string for unsigned curl_off_t configure:5779: result: ULL configure:5849: checking if OS is AIX (to define _ALL_SOURCE) configure:5869: result: no configure:5879: checking if _THREAD_SAFE is already defined configure:5900: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5900: $? = 0 configure:5902: result: yes configure:5940: checking if _THREAD_SAFE is onwards defined configure:5954: result: yes configure:5964: checking if _REENTRANT is already defined configure:5985: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:5985: $? = 0 configure:5987: result: yes configure:6831: checking if _REENTRANT is onwards defined configure:6845: result: yes configure:6861: checking for special C compiler options needed for large files configure:6905: result: no configure:6911: checking for _FILE_OFFSET_BITS value needed for large files configure:6935: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:51: warning: left shift count >= width of type conftest.c:51: warning: left shift count >= width of type conftest.c:53: error: size of array 'off_t_is_large' is negative configure:6935: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int main (void) | { | | ; | return 0; | } configure:6958: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:6958: $? = 0 configure:6966: result: 64 configure:7352: checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC) configure:7361: result: no configure:7366: checking if compiler is icc (to build with PIC) configure:7375: result: no configure:7405: checking for a sed that does not truncate output configure:7469: result: /bin/sed configure:7487: checking for fgrep configure:7549: result: /bin/fgrep configure:7584: checking for ld used by gcc configure:7651: result: /usr/ccs/bin/ld configure:7658: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:7673: result: no configure:7685: checking for BSD- or MS-compatible name lister (nm) configure:7734: result: /usr/ccs/bin/nm -p configure:7852: checking the name lister (/usr/ccs/bin/nm -p) interface configure:7859: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:7862: /usr/ccs/bin/nm -p "conftest.o" configure:7865: output conftest.o: 0000000000 b 0000000000 f conftest.c 0000000000 B some_variable configure:7872: result: BSD nm configure:7875: checking whether ln -s works configure:7879: result: yes configure:7887: checking the maximum length of command line arguments configure:8007: result: 786240 configure:8024: checking whether the shell understands some XSI constructs configure:8034: result: yes configure:8038: checking whether the shell understands "+=" configure:8044: result: no configure:8079: checking for /usr/ccs/bin/ld option to reload object files configure:8086: result: -r configure:8155: checking for objdump configure:8182: result: objdump configure:8211: checking how to recognize dependent libraries configure:8407: result: pass_all configure:8467: checking for ar configure:8494: result: /usr/ccs/bin/ar configure:8572: checking for strip configure:8588: found /usr/ccs/bin/strip configure:8599: result: strip configure:8671: checking for ranlib configure:8687: found /usr/ccs/bin/ranlib configure:8698: result: ranlib configure:8788: checking command to parse /usr/ccs/bin/nm -p output from gcc object configure:8906: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:8909: $? = 0 configure:8913: /usr/ccs/bin/nm -p conftest.o \| sed -n -e 's/^.*[ ]\([BDRT][BDRT]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:8916: $? = 0 configure:8970: gcc -o conftest -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c conftstm.o >&5 configure:8973: $? = 0 configure:9011: result: ok configure:9204: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:9207: $? = 0 configure:9814: checking for dlfcn.h configure:9814: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:9814: $? = 0 configure:9814: result: yes configure:9996: checking for objdir configure:10011: result: .libs configure:10307: checking if gcc supports -fno-rtti -fno-exceptions configure:10325: gcc -c -D_THREAD_SAFE -D_REENTRANT -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:10329: $? = 0 configure:10342: result: no configure:10362: checking for gcc option to produce PIC configure:10634: result: -fPIC -DPIC configure:10646: checking if gcc PIC flag -fPIC -DPIC works configure:10664: gcc -c -D_THREAD_SAFE -D_REENTRANT -fPIC -DPIC -DPIC conftest.c >&5 configure:10668: $? = 0 configure:10681: result: yes configure:10705: checking if gcc static flag -static works configure:10733: result: no configure:10748: checking if gcc supports -c -o file.o configure:10769: gcc -c -D_THREAD_SAFE -D_REENTRANT -o out/conftest2.o conftest.c >&5 configure:10773: $? = 0 configure:10795: result: yes configure:10803: checking if gcc supports -c -o file.o configure:10850: result: yes configure:10883: checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries configure:11872: result: yes configure:11909: checking whether -lc should be explicitly linked in configure:11914: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:11917: $? = 0 configure:11932: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,conftest -o conftest conftest.o -v 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:11935: $? = 1 configure:11947: result: yes configure:12111: checking dynamic linker characteristics configure:12773: result: solaris2.10 ld.so configure:12875: checking how to hardcode library paths into programs configure:12900: result: immediate configure:13405: checking whether stripping libraries is possible configure:13427: result: no configure:13445: checking if libtool supports shared libraries configure:13447: result: yes configure:13450: checking whether to build shared libraries configure:13471: result: yes configure:13474: checking whether to build static libraries configure:13478: result: yes configure:13514: checking if we need -mimpure-text configure:13526: result: yes configure:13549: checking if we need BUILDING_LIBCURL configure:13583: result: no configure:13597: checking whether make sets $(MAKE) configure:13619: result: yes configure:13629: checking for inline configure:13645: gcc -c -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:13645: $? = 0 configure:13653: result: inline configure:13686: checking if compiler is DEC/Compaq/HP C configure:13707: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:13707: $? = 0 configure:13747: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:13747: $? = 0 configure:13780: result: no configure:13785: checking if compiler is HP-UX C configure:13806: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:13806: $? = 0 configure:13838: result: no configure:13843: checking if compiler is IBM C configure:13864: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:13864: $? = 0 configure:13903: result: no configure:13908: checking if compiler is Intel C configure:13929: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:13929: $? = 0 configure:14019: result: no configure:14024: checking if compiler is clang configure:14045: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14045: $? = 0 configure:14088: result: no configure:14093: checking if compiler is GNU C configure:14114: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14114: $? = 0 configure:14137: result: yes configure:14163: checking if compiler is LCC configure:14184: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14184: $? = 0 configure:14216: result: no configure:14221: checking if compiler is SGI MIPSpro C configure:14242: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14242: $? = 0 configure:14282: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14282: $? = 0 configure:14322: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14322: $? = 0 configure:14356: result: no configure:14361: checking if compiler is SGI MIPS C configure:14382: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14382: $? = 0 configure:14422: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14422: $? = 0 configure:14456: result: no configure:14461: checking if compiler is SunPro C configure:14482: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14482: $? = 0 configure:14514: result: no configure:14519: checking if compiler is Tiny C configure:14540: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14540: $? = 0 configure:14572: result: no configure:14577: checking if compiler is Watcom C configure:14598: gcc -E -D_THREAD_SAFE -D_REENTRANT conftest.c configure:14598: $? = 0 configure:14680: result: no configure:15026: checking if compiler accepts debug enabling options configure:15058: gcc -c -g -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:15058: $? = 0 configure:15088: gcc -o conftest -g -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15088: $? = 0 configure:15130: gcc -o conftest -g -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15130: $? = 0 configure:15130: ./conftest configure:15130: $? = 0 configure:15149: result: yes configure:15151: compiler options added: -g configure:15183: checking if compiler optimizer assumed setting might be used configure:15221: result: yes configure:15272: checking if compiler accepts optimizer disabling options configure:15298: gcc -c -g -O0 -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:15298: $? = 0 configure:15328: gcc -o conftest -g -O0 -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15328: $? = 0 configure:15370: gcc -o conftest -g -O0 -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15370: $? = 0 configure:15370: ./conftest configure:15370: $? = 0 configure:15389: result: yes configure:15391: compiler options added: -O0 configure:15633: checking if compiler accepts strict warning options configure:15657: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 configure:15657: $? = 0 configure:15687: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15687: $? = 0 configure:15729: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -pthreads conftest.c >&5 configure:15729: $? = 0 configure:15729: ./conftest configure:15729: $? = 0 configure:15748: result: yes configure:15750: compiler options added: -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers configure:15780: checking if compiler halts on compilation errors configure:15797: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c: In function 'main': conftest.c:54: error: 'force' undeclared (first use in this function) conftest.c:54: error: (Each undeclared identifier is reported only once conftest.c:54: error: for each function it appears in.) conftest.c:54: error: expected ';' before 'compilation' configure:15797: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:15805: result: yes configure:15812: checking if compiler halts on negative sized arrays configure:15830: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT conftest.c >&5 conftest.c:50: error: size of array 'bad_t' is negative conftest.c: In function 'main': conftest.c:55: warning: unused variable 'dummy' configure:15830: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #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:15838: result: yes configure:15846: checking if shared libraries need -no-undefined configure:15859: result: no configure:15899: checking if curl debug memory tracking can be enabled configure:15902: result: yes configure:15934: checking for windows.h configure:15964: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 conftest.c:54:21: error: windows.h: No such file or directory conftest.c: In function 'main': conftest.c:62: error: 'WINVER' undeclared (first use in this function) conftest.c:62: error: (Each undeclared identifier is reported only once conftest.c:62: error: for each function it appears in.) conftest.c:62: warning: unused variable 'dummy' configure:15964: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int main (void) | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:15976: result: no configure:15994: checking whether build target is a native Windows one configure:16036: result: no configure:16349: checking whether build target supports WIN32 file API configure:16430: result: no configure:16436: checking whether to support http configure:16442: result: no configure:16447: WARNING: disable HTTP disables FTP over proxy and RTSP configure:16467: checking whether to support ftp configure:16486: result: yes configure:16491: checking whether to support file configure:16510: result: yes configure:16515: checking whether to support ldap configure:16521: result: no configure:16541: checking whether to support ldaps configure:16547: result: no configure:16599: checking whether to support rtsp configure:16628: result: no configure:16635: checking whether to support proxies configure:16654: result: yes configure:16660: checking whether to support dict configure:16666: result: no configure:16684: checking whether to support telnet configure:16690: result: no configure:16708: checking whether to support tftp configure:16714: result: no configure:16733: checking whether to support pop3 configure:16739: result: no configure:16759: checking whether to support imap configure:16765: result: no configure:16785: checking whether to support smtp configure:16791: result: no configure:16812: checking whether to provide built-in manual configure:16827: result: yes configure:16836: checking if X/Open network library is required configure:16856: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 conftest.c: In function 'main': conftest.c:67: error: 'force' undeclared (first use in this function) conftest.c:67: error: (Each undeclared identifier is reported only once conftest.c:67: error: for each function it appears in.) conftest.c:67: error: expected ';' before 'compilation' conftest.c:69: warning: control reaches end of non-void function configure:16856: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 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:16863: result: no configure:16867: checking for gethostbyname configure:16867: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c >&5 conftest.c:69: warning: function declaration isn't a prototype Undefined first referenced symbol in file gethostbyname /var/tmp//cciSiXF9.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:16867: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | /* end confdefs.h. */ | | #define gethostbyname innocuous_gethostbyname | #ifdef __STDC__ | # include | #else | # include | #endif | #undef gethostbyname | #ifdef __cplusplus | extern "C" | #endif | char gethostbyname (); | #if defined __stub_gethostbyname || defined __stub___gethostbyname | choke me | #endif | | int main (void) | { | return gethostbyname (); | ; | return 0; | } configure:16867: result: no configure:16872: checking for gethostbyname in -lnsl configure:16894: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lnsl >&5 conftest.c:63: warning: function declaration isn't a prototype configure:16894: $? = 0 configure:16903: result: yes configure:17230: checking for strcasecmp configure:17230: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lnsl >&5 conftest.c:69: warning: function declaration isn't a prototype conftest.c:69: warning: conflicting types for built-in function 'strcasecmp' configure:17230: $? = 0 configure:17230: result: yes configure:17338: checking for windows.h configure:17380: result: no configure:17398: checking for winsock.h configure:17441: result: no configure:17454: checking for winsock2.h configure:17497: result: no configure:17511: checking for connect in libraries configure:17538: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lnsl >&5 Undefined first referenced symbol in file connect /var/tmp//ccGc0GVr.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:17538: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | #ifndef HAVE_WINDOWS_H | int connect(int, void*, int); | #endif | | int main (void) | { | | if(0 != connect(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:17538: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lsocket -lnsl >&5 configure:17538: $? = 0 configure:17560: result: -lsocket configure:17567: checking whether time.h and sys/time.h may both be included configure:17586: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:17586: $? = 0 configure:17593: result: yes configure:17605: checking for sys/types.h configure:17605: result: yes configure:17605: checking sys/time.h usability configure:17605: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:17605: $? = 0 configure:17605: result: yes configure:17605: checking sys/time.h presence configure:17605: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c configure:17605: $? = 0 configure:17605: result: yes configure:17605: checking for sys/time.h configure:17605: result: yes configure:17605: checking time.h usability configure:17605: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:17605: $? = 0 configure:17605: result: yes configure:17605: checking time.h presence configure:17605: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c configure:17605: $? = 0 configure:17605: result: yes configure:17605: checking for time.h configure:17605: result: yes configure:17616: checking for monotonic clock_gettime configure:17647: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:17647: $? = 0 configure:17649: result: yes configure:17666: checking for clock_gettime in libraries configure:17708: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lsocket -lnsl >&5 Undefined first referenced symbol in file clock_gettime /var/tmp//cckoHM0Q.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:17708: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | /* end confdefs.h. */ | | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #ifdef TIME_WITH_SYS_TIME | #include | #endif | #else | #ifdef HAVE_TIME_H | #include | #endif | #endif | | int main (void) | { | | struct timespec ts; | (void)clock_gettime(CLOCK_MONOTONIC, &ts); | | ; | return 0; | } | configure:17708: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lrt -lsocket -lnsl >&5 configure:17708: $? = 0 configure:17739: result: -lrt configure:17747: checking if monotonic clock_gettime works configure:17790: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lrt -lsocket -lnsl >&5 configure:17790: $? = 0 configure:17790: ./conftest configure:17790: $? = 0 configure:17792: result: yes configure:17827: checking whether to use libgcc configure:17842: result: no configure:18474: checking whether to enable ipv6 configure:18484: result: yes configure:18532: checking if struct sockaddr_in6 has sin6_scope_id member configure:18546: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:18546: $? = 0 configure:18551: result: yes configure:18563: checking if argv can be written to configure:18581: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lrt -lsocket -lnsl >&5 conftest.c:65: warning: unused parameter 'argc' configure:18581: $? = 0 configure:18581: ./conftest configure:18581: $? = 0 configure:18598: result: yes configure:18656: checking if Kerberos4 support is requested configure:18867: result: no configure:18884: checking if SPNEGO support is requested configure:18907: result: no configure:18948: checking if GSSAPI support is requested configure:19078: result: no configure:19750: checking for inflateEnd in -lz configure:19772: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -pthreads conftest.c -lz -lrt -lsocket -lnsl >&5 conftest.c:70: warning: function declaration isn't a prototype configure:19772: $? = 0 configure:19781: result: yes configure:19797: checking zlib.h usability configure:19797: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c >&5 configure:19797: $? = 0 configure:19797: result: yes configure:19797: checking zlib.h presence configure:19797: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD conftest.c configure:19797: $? = 0 configure:19797: result: yes configure:19797: checking for zlib.h configure:19797: result: yes configure:19878: found both libz and libz.h header configure:20629: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure:20631: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl or --with-nss to address this. configure:20642: checking default CA cert bundle/path configure:20739: result: no configure:20901: checking for libssh2_channel_open_ex in -lssh2 configure:20923: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:72: warning: function declaration isn't a prototype configure:20923: $? = 0 configure:20932: result: yes configure:20946: checking libssh2.h usability configure:20946: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:20946: $? = 0 configure:20946: result: yes configure:20946: checking libssh2.h presence configure:20946: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c configure:20946: $? = 0 configure:20946: result: yes configure:20946: checking for libssh2.h configure:20946: result: yes configure:20975: checking for libssh2_version configure:20975: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:81: warning: function declaration isn't a prototype configure:20975: $? = 0 configure:20975: result: yes configure:20975: checking for libssh2_init configure:20975: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:82: warning: function declaration isn't a prototype configure:20975: $? = 0 configure:20975: result: yes configure:20975: checking for libssh2_exit configure:20975: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:83: warning: function declaration isn't a prototype configure:20975: $? = 0 configure:20975: result: yes configure:20988: Added /home/xingsu/work/libssh2/lib to LD_LIBRARY_PATH configure:21155: checking for RTMP_Init in -lrtmp configure:21177: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lrtmp -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:78: warning: function declaration isn't a prototype ld: fatal: library -lrtmp: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure:21177: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char RTMP_Init (); | int main (void) | { | return RTMP_Init (); | ; | return 0; | } configure:21186: result: no configure:21200: checking librtmp/rtmp.h usability configure:21200: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:106:26: error: librtmp/rtmp.h: No such file or directory configure:21200: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:21200: result: no configure:21200: checking librtmp/rtmp.h presence configure:21200: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c conftest.c:73:26: error: librtmp/rtmp.h: No such file or directory configure:21200: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | /* end confdefs.h. */ | #include configure:21200: result: no configure:21200: checking for librtmp/rtmp.h configure:21200: result: no configure:21231: checking whether to build with libidn configure:21245: result: yes configure:21307: checking for idna_to_ascii_lz in -lidn configure:21329: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lidn -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:78: warning: function declaration isn't a prototype ld: fatal: library -lidn: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure:21329: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | /* end confdefs.h. */ | | | #ifdef __cplusplus | extern "C" | #endif | char idna_to_ascii_lz (); | int main (void) | { | return idna_to_ascii_lz (); | ; | return 0; | } configure:21338: result: no configure:21393: checking for ANSI C header files configure:21496: result: yes configure:21506: checking for malloc.h configure:21531: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21531: $? = 0 configure:21543: result: yes configure:21571: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21571: $? = 0 configure:21594: checking for memory.h configure:21631: result: yes configure:21659: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21659: $? = 0 configure:21724: checking for sys/types.h configure:21724: result: yes configure:21724: checking for sys/time.h configure:21724: result: yes configure:21724: checking for sys/select.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/socket.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/ioctl.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/uio.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for assert.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for unistd.h configure:21724: result: yes configure:21724: checking for stdlib.h configure:21724: result: yes configure:21724: checking for limits.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for arpa/inet.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for net/if.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for netinet/in.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/un.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for netinet/tcp.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for netdb.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/sockio.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/stat.h configure:21724: result: yes configure:21724: checking for sys/param.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for termios.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for termio.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sgtty.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for fcntl.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for alloca.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for time.h configure:21724: result: yes configure:21724: checking for io.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:123:16: error: io.h: No such file or directory configure:21724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:21724: result: no configure:21724: checking for pwd.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for utime.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/utime.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/poll.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for poll.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for socket.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:128:20: error: socket.h: No such file or directory configure:21724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_SYS_SELECT_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_SYS_UN_H | #include | #endif | | | | #include configure:21724: result: no configure:21724: checking for sys/resource.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for libgen.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for locale.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for errno.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for stdbool.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for arpa/tftp.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for sys/filio.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21724: checking for setjmp.h configure:21724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21724: $? = 0 configure:21724: result: yes configure:21757: checking for an ANSI C-conforming const configure:21821: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21821: $? = 0 configure:21828: result: yes configure:21837: checking for compiler support of C99 variadic macro style configure:21867: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:116:28: warning: anonymous variadic macros were introduced in C99 conftest.c:117:28: warning: anonymous variadic macros were introduced in C99 conftest.c: In function 'main': conftest.c:129: warning: unused variable 'res2' conftest.c:128: warning: unused variable 'res3' configure:21867: $? = 0 configure:21879: result: yes configure:21890: checking for compiler support of old gcc variadic macro style configure:21920: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:117:32: warning: ISO C does not permit named variadic macros conftest.c:118:32: warning: ISO C does not permit named variadic macros conftest.c: In function 'main': conftest.c:130: warning: unused variable 'res2' conftest.c:129: warning: unused variable 'res3' configure:21920: $? = 0 configure:21932: result: yes configure:21944: checking for size_t configure:21944: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:21944: $? = 0 configure:21944: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:151: error: expected expression before ')' token configure:21944: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:21944: result: yes configure:21955: checking whether time.h and sys/time.h may both be included configure:21981: result: yes configure:21993: checking for sys/types.h configure:21993: result: yes configure:21993: checking for sys/time.h configure:21993: result: yes configure:21993: checking for time.h configure:21993: result: yes configure:21993: checking for sys/socket.h configure:21993: result: yes configure:22004: checking for struct timeval configure:22057: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22057: $? = 0 configure:22069: result: yes configure:22085: checking run-time libs availability configure:22102: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:124: warning: return type defaults to 'int' conftest.c:124: warning: function declaration isn't a prototype configure:22102: $? = 0 configure:22102: ./conftest configure:22102: $? = 0 configure:22103: result: fine configure:22123: checking size of size_t configure:22128: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:155: warning: function declaration isn't a prototype conftest.c:156: warning: function declaration isn't a prototype configure:22128: $? = 0 configure:22128: ./conftest configure:22128: $? = 0 configure:22143: result: 4 configure:22157: checking size of long configure:22177: result: 4 configure:22191: checking size of int configure:22196: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:157: warning: function declaration isn't a prototype conftest.c:158: warning: function declaration isn't a prototype configure:22196: $? = 0 configure:22196: ./conftest configure:22196: $? = 0 configure:22211: result: 4 configure:22225: checking size of short configure:22230: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:158: warning: function declaration isn't a prototype conftest.c:159: warning: function declaration isn't a prototype configure:22230: $? = 0 configure:22230: ./conftest configure:22230: $? = 0 configure:22245: result: 2 configure:22270: checking size of time_t configure:22275: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:160: warning: function declaration isn't a prototype conftest.c:161: warning: function declaration isn't a prototype configure:22275: $? = 0 configure:22275: ./conftest configure:22275: $? = 0 configure:22290: result: 4 configure:22304: checking size of off_t configure:22309: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:161: warning: function declaration isn't a prototype conftest.c:162: warning: function declaration isn't a prototype configure:22309: $? = 0 configure:22309: ./conftest configure:22309: $? = 0 configure:22324: result: 8 configure:22346: checking for long long configure:22346: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22346: $? = 0 configure:22346: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:164: error: expected expression before ')' token configure:22346: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((long long))) | return 0; | ; | return 0; | } configure:22346: result: yes configure:22357: checking if numberLL works configure:22363: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22363: $? = 0 configure:22367: result: yes configure:22379: checking for ssize_t configure:22379: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22379: $? = 0 configure:22379: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:166: error: expected expression before ')' token configure:22379: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int main (void) | { | if (sizeof ((ssize_t))) | return 0; | ; | return 0; | } configure:22379: result: yes configure:22390: checking for bool configure:22390: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22390: $? = 0 configure:22390: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:142: error: expected expression before ')' token configure:22390: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_STDBOOL_H | #include | #endif | | | int main (void) | { | if (sizeof ((bool))) | return 0; | ; | return 0; | } configure:22390: result: yes configure:22425: checking for windows.h configure:22467: result: no configure:22485: checking for winsock2.h configure:22528: result: no configure:22541: checking for ws2tcpip.h configure:22585: result: no configure:22611: checking for sys/types.h configure:22611: result: yes configure:22611: checking for sys/socket.h configure:22611: result: yes configure:22636: checking for curl_socklen_t data type configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, socklen_t *); | | int main (void) | { | | socklen_t *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, int *); | | int main (void) | { | | int *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, size_t *); | | int main (void) | { | | size_t *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, unsigned int *); | | int main (void) | { | | unsigned int *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, long *); | | int main (void) | { | | long *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:165: error: conflicting types for 'getpeername' /usr/include/sys/socket.h:428: error: previous declaration of 'getpeername' was here configure:22664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # ifdef HAVE_WS2TCPIP_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | /* preprocess start */ | #ifdef HAVE_WINDOWS_H | # define FUNCALLCONV __stdcall | #else | # define FUNCALLCONV | #endif | /* preprocess end */ | extern int FUNCALLCONV getpeername(int, struct sockaddr *, unsigned long *); | | int main (void) | { | | unsigned long *lenptr = 0; | if(0 != getpeername(0, 0, lenptr)) | return 1; | | ; | return 0; | } | configure:22664: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22664: $? = 0 configure:22693: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:149: warning: unused variable 'dummy' configure:22693: $? = 0 configure:22701: result: socklen_t configure:22708: checking size of curl_socklen_t configure:22754: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'curl_socklen_t' conftest.c:138: error: 'curl_socklen_t' undeclared here (not in a function) conftest.c: In function 'main': conftest.c:143: error: expected ';' before 'dummy' configure:22754: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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:22754: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:137: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'curl_socklen_t' conftest.c:138: error: 'curl_socklen_t' undeclared here (not in a function) conftest.c: In function 'main': conftest.c:143: error: expected ';' before 'dummy' configure:22754: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define 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:22754: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:150: warning: unused variable 'dummy' configure:22754: $? = 0 configure:22764: result: 4 configure:22811: checking for in_addr_t configure:22811: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22811: $? = 0 configure:22811: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:170: error: expected expression before ')' token configure:22811: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((in_addr_t))) | return 0; | ; | return 0; | } configure:22811: result: yes configure:22927: checking for struct sockaddr_storage configure:22927: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22927: $? = 0 configure:22927: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:166: error: expected expression before ')' token configure:22927: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | /* end confdefs.h. */ | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | #endif | | | int main (void) | { | if (sizeof ((struct sockaddr_storage))) | return 0; | ; | return 0; | } configure:22927: result: yes configure:22964: checking signal.h usability configure:22964: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22964: $? = 0 configure:22964: result: yes configure:22964: checking signal.h presence configure:22964: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c configure:22964: $? = 0 configure:22964: result: yes configure:22964: checking for signal.h configure:22964: result: yes configure:22974: checking for sig_atomic_t configure:22974: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:22974: $? = 0 configure:22974: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:148: error: expected expression before ')' token configure:22974: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SIGNAL_H | #include | #endif | | | int main (void) | { | if (sizeof ((sig_atomic_t))) | return 0; | ; | return 0; | } configure:22974: result: yes configure:22991: checking if sig_atomic_t is already defined as volatile configure:23011: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:150: warning: unused variable 'dummy' configure:23011: $? = 0 configure:23013: result: no configure:23036: checking return type of signal handlers configure:23053: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:146: error: void value not ignored as it ought to be configure:23053: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | /* end confdefs.h. */ | #include | #include | | int main (void) | { | return *(signal (0, 0)) (0) == 1; | ; | return 0; | } configure:23060: result: void configure:23073: checking for sys/select.h configure:23073: result: yes configure:23073: checking for sys/socket.h configure:23073: result: yes configure:23085: checking for select configure:23137: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:23137: $? = 0 configure:23139: result: yes configure:23154: checking types of args and return type for select configure:23233: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:202: warning: unused variable 'res' configure:23233: $? = 0 configure:23246: result: int,fd_set *,struct timeval *,int configure:23331: checking for sys/types.h configure:23331: result: yes configure:23331: checking for sys/socket.h configure:23331: result: yes configure:23343: checking for recv configure:23381: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:23381: $? = 0 configure:23383: result: yes configure:23398: checking types of args and return type for recv configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, size_t, int); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, int, int); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:178: error: conflicting types for 'recv' /usr/include/sys/socket.h:433: error: previous declaration of 'recv' was here conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVCALLCONV | #endif | extern int RECVCALLCONV | recv(int, char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | int res = recv(s, buf, len, flags); | | ; | return 0; | } | configure:23455: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:187: warning: unused variable 'res' configure:23455: $? = 0 configure:23469: result: int,void *,size_t,int,int configure:23520: checking for sys/types.h configure:23520: result: yes configure:23520: checking for sys/socket.h configure:23520: result: yes configure:23532: checking for recvfrom configure:23570: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:23570: $? = 0 configure:23572: result: yes configure:23587: checking types of args and return type for recvfrom configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | size_t, unsigned int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | size_t len=0; | unsigned int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | int, unsigned int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | int len=0; | unsigned int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | socklen_t, unsigned int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | socklen_t len=0; | unsigned int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | struct sockaddr *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | struct sockaddr * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | void *, socklen_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | void * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | void *, int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | void * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | void *, unsigned int *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | void * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | void *, size_t *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | void * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, char *, | unsigned int, unsigned int, | void *, void *); | | int main (void) | { | | int s=0; | char * buf=0; | unsigned int len=0; | unsigned int flags=0; | void * addr=0; | void * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, void *, | size_t, int, | struct sockaddr *, socklen_t *); | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | socklen_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, void *, | size_t, int, | struct sockaddr *, int *); | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, void *, | size_t, int, | struct sockaddr *, unsigned int *); | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | unsigned int * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:188: error: conflicting types for 'recvfrom' /usr/include/sys/socket.h:435: error: previous declaration of 'recvfrom' was here configure:23651: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define RECVFROMCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define RECVFROMCALLCONV | #endif | extern int RECVFROMCALLCONV | recvfrom(int, void *, | size_t, int, | struct sockaddr *, size_t *); | | int main (void) | { | | int s=0; | void * buf=0; | size_t len=0; | int flags=0; | struct sockaddr * addr=0; | size_t * addrlen=0; | int res=0; | res = recvfrom(s, buf, len, flags, addr, addrlen); | | ; | return 0; | } | configure:23651: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:23651: $? = 0 configure:23667: result: int,void *,size_t,int,struct sockaddr *,void *,int configure:23787: checking for sys/types.h configure:23787: result: yes configure:23787: checking for sys/socket.h configure:23787: result: yes configure:23799: checking for send configure:23837: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:23837: $? = 0 configure:23839: result: yes configure:23854: checking types of args and return type for send configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, void *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, size_t, int); | | int main (void) | { | | int s=0; | size_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, size_t, unsigned int); | | int main (void) | { | | int s=0; | size_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, int, int); | | int main (void) | { | | int s=0; | int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, int, unsigned int); | | int main (void) | { | | int s=0; | int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, socklen_t, int); | | int main (void) | { | | int s=0; | socklen_t len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, socklen_t, unsigned int); | | int main (void) | { | | int s=0; | socklen_t len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, unsigned int, int); | | int main (void) | { | | int s=0; | unsigned int len=0; | int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:199: error: conflicting types for 'send' /usr/include/sys/socket.h:437: error: previous declaration of 'send' was here conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #define SENDCALLCONV PASCAL | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #define SENDCALLCONV | #endif | extern int SENDCALLCONV | send(int, const char *, unsigned int, unsigned int); | | int main (void) | { | | int s=0; | unsigned int len=0; | unsigned int flags=0; | int res = send(s, 0, len, flags); | | ; | return 0; | } | configure:23910: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:207: warning: unused variable 'res' configure:23910: $? = 0 configure:23924: result: int,const void *,size_t,int,int configure:24012: checking for sys/types.h configure:24012: result: yes configure:24012: checking for sys/socket.h configure:24012: result: yes configure:24023: checking for MSG_NOSIGNAL configure:24065: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:209: error: 'MSG_NOSIGNAL' undeclared (first use in this function) conftest.c:209: error: (Each undeclared identifier is reported only once conftest.c:209: error: for each function it appears in.) conftest.c:209: warning: unused variable 'flag' configure:24065: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #else | #ifdef HAVE_WINSOCK_H | #include | #endif | #endif | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #endif | | int main (void) | { | | int flag=MSG_NOSIGNAL; | | ; | return 0; | } | configure:24077: result: no configure:24103: checking for sys/types.h configure:24103: result: yes configure:24103: checking for unistd.h configure:24103: result: yes configure:24123: checking if alarm can be linked configure:24152: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:196: warning: function declaration isn't a prototype configure:24152: $? = 0 configure:24154: result: yes configure:24169: checking if alarm is prototyped configure:24180: result: yes configure:24196: checking if alarm is compilable configure:24215: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:24215: $? = 0 configure:24217: result: yes configure:24232: checking if alarm usage allowed configure:24235: result: yes configure:24245: checking if alarm might be used configure:24251: result: yes configure:24281: checking for sys/types.h configure:24281: result: yes configure:24281: checking for string.h configure:24281: result: yes configure:24281: checking for strings.h configure:24281: result: yes configure:24307: checking for sys/types.h configure:24307: result: yes configure:24307: checking for libgen.h configure:24307: result: yes configure:24327: checking if basename can be linked configure:24356: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:202: warning: function declaration isn't a prototype configure:24356: $? = 0 configure:24358: result: yes configure:24373: checking if basename is prototyped configure:24386: result: yes configure:24402: checking if basename is compilable configure:24423: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:24423: $? = 0 configure:24425: result: yes configure:24440: checking if basename usage allowed configure:24443: result: yes configure:24453: checking if basename might be used configure:24459: result: yes configure:24486: checking for sys/types.h configure:24486: result: yes configure:24486: checking for socket.h configure:24486: result: no configure:24506: checking if closesocket can be linked configure:24526: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:221: warning: implicit declaration of function 'closesocket' conftest.c:221: warning: nested extern declaration of 'closesocket' Undefined first referenced symbol in file closesocket /var/tmp//cc34GBYm.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:24526: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != closesocket(0)) | return 1; | | ; | return 0; | } | configure:24534: result: no configure:24621: checking if closesocket might be used configure:24636: result: no configure:24648: checking if CloseSocket can be linked configure:24667: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:206: warning: implicit declaration of function 'CloseSocket' conftest.c:206: warning: nested extern declaration of 'CloseSocket' Undefined first referenced symbol in file CloseSocket /var/tmp//ccviTg2w.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:24667: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_BASENAME 1 | #define HAVE_SYS_TYPES_H 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != CloseSocket(0)) | return 1; | | ; | return 0; | } | configure:24675: result: no configure:24760: checking if CloseSocket might be used configure:24775: result: no configure:24787: checking if connect can be linked configure:24808: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:24808: $? = 0 configure:24810: result: yes configure:24825: checking if connect is prototyped configure:24838: result: yes configure:24854: checking if connect is compilable configure:24875: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:24875: $? = 0 configure:24877: result: yes configure:24892: checking if connect usage allowed configure:24895: result: yes configure:24905: checking if connect might be used configure:24911: result: yes configure:24941: checking for sys/types.h configure:24941: result: yes configure:24941: checking for unistd.h configure:24941: result: yes configure:24941: checking for fcntl.h configure:24941: result: yes configure:24961: checking if fcntl can be linked configure:24990: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:208: warning: function declaration isn't a prototype configure:24990: $? = 0 configure:24992: result: yes configure:25007: checking if fcntl is prototyped configure:25018: result: yes configure:25034: checking if fcntl is compilable configure:25053: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25053: $? = 0 configure:25055: result: yes configure:25070: checking if fcntl usage allowed configure:25073: result: yes configure:25083: checking if fcntl might be used configure:25089: result: yes configure:25109: checking if fcntl O_NONBLOCK is compilable configure:25129: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25129: $? = 0 configure:25131: result: yes configure:25146: checking if fcntl O_NONBLOCK usage allowed configure:25149: result: yes configure:25159: checking if fcntl O_NONBLOCK might be used configure:25163: result: yes configure:25196: checking for sys/types.h configure:25196: result: yes configure:25196: checking for stdio.h configure:25196: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25196: $? = 0 configure:25196: result: yes configure:25216: checking if fdopen can be linked configure:25245: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:212: warning: function declaration isn't a prototype configure:25245: $? = 0 configure:25247: result: yes configure:25262: checking if fdopen is prototyped configure:25273: result: yes configure:25289: checking if fdopen is compilable configure:25308: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25308: $? = 0 configure:25310: result: yes configure:25325: checking if fdopen usage allowed configure:25328: result: yes configure:25338: checking if fdopen might be used configure:25344: result: yes configure:25371: checking for sys/types.h configure:25371: result: yes configure:25371: checking for netdb.h configure:25371: result: yes configure:25391: checking if freeaddrinfo can be linked configure:25411: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:25411: $? = 0 configure:25413: result: yes configure:25428: checking if freeaddrinfo is prototyped configure:25441: result: yes configure:25457: checking if freeaddrinfo is compilable configure:25477: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25477: $? = 0 configure:25479: result: yes configure:25494: checking if freeaddrinfo usage allowed configure:25497: result: yes configure:25507: checking if freeaddrinfo might be used configure:25513: result: yes configure:25546: checking for sys/types.h configure:25546: result: yes configure:25546: checking for sys/socket.h configure:25546: result: yes configure:25546: checking for netinet/in.h configure:25546: result: yes configure:25546: checking for ifaddrs.h configure:25546: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:222:21: error: ifaddrs.h: No such file or directory configure:25546: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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 | /* end confdefs.h. */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | #ifdef HAVE_NETINET_IN_H | # include | #endif | #ifdef HAVE_IFADDRS_H | # include | #endif | /* includes end */ | | #include configure:25546: result: no configure:25566: checking if freeifaddrs can be linked configure:25595: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:219: warning: function declaration isn't a prototype Undefined first referenced symbol in file freeifaddrs /var/tmp//ccy32RYg.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:25595: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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 | /* end confdefs.h. */ | | | #define freeifaddrs innocuous_freeifaddrs | #ifdef __STDC__ | # include | #else | # include | #endif | #undef freeifaddrs | #ifdef __cplusplus | extern "C" | #endif | char freeifaddrs (); | #if defined __stub_freeifaddrs || defined __stub___freeifaddrs | choke me | #endif | | int main (void) | { | return freeifaddrs (); | ; | return 0; | } | configure:25603: result: no configure:25687: checking if freeifaddrs might be used configure:25702: result: no configure:25714: checking if ftruncate can be linked configure:25743: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:219: warning: function declaration isn't a prototype configure:25743: $? = 0 configure:25745: result: yes configure:25760: checking if ftruncate is prototyped configure:25771: result: yes configure:25787: checking if ftruncate is compilable configure:25806: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25806: $? = 0 configure:25808: result: yes configure:25823: checking if ftruncate usage allowed configure:25826: result: yes configure:25836: checking if ftruncate might be used configure:25842: result: yes configure:25869: checking for sys/types.h configure:25869: result: yes configure:25869: checking for stdlib.h configure:25869: result: yes configure:25891: checking if getaddrinfo can be linked configure:25912: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:25912: $? = 0 configure:25914: result: yes configure:25929: checking if getaddrinfo is prototyped configure:25942: result: yes configure:25958: checking if getaddrinfo is compilable configure:25979: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:25979: $? = 0 configure:25981: result: yes configure:25997: checking if getaddrinfo seems to work configure:26037: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:26037: $? = 0 configure:26037: ./conftest configure:26037: $? = 0 configure:26039: result: yes configure:26058: checking if getaddrinfo usage allowed configure:26061: result: yes configure:26071: checking if getaddrinfo might be used configure:26078: result: yes configure:26094: checking if getaddrinfo is threadsafe configure:26181: result: yes configure:26202: checking if gethostbyaddr can be linked configure:26222: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:26222: $? = 0 configure:26224: result: yes configure:26239: checking if gethostbyaddr is prototyped configure:26251: result: yes configure:26267: checking if gethostbyaddr is compilable configure:26287: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:26287: $? = 0 configure:26289: result: yes configure:26304: checking if gethostbyaddr usage allowed configure:26307: result: yes configure:26317: checking if gethostbyaddr might be used configure:26323: result: yes configure:26345: checking if gethostbyaddr_r can be linked configure:26374: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:225: warning: function declaration isn't a prototype configure:26374: $? = 0 configure:26376: result: yes configure:26391: checking if gethostbyaddr_r is prototyped configure:26402: result: yes configure:26419: checking if gethostbyaddr_r takes 5 args. configure:26438: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:227: error: too few arguments to function 'gethostbyaddr_r' configure:26438: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyaddr_r(0, 0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:26447: result: no configure:26455: checking if gethostbyaddr_r takes 7 args. configure:26474: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:26474: $? = 0 configure:26476: result: yes configure:26526: checking if gethostbyaddr_r is compilable configure:26529: result: yes configure:26538: checking if gethostbyaddr_r usage allowed configure:26541: result: yes configure:26551: checking if gethostbyaddr_r might be used configure:26557: result: yes configure:26593: checking if gethostbyname can be linked configure:26613: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:26613: $? = 0 configure:26615: result: yes configure:26630: checking if gethostbyname is prototyped configure:26642: result: yes configure:26658: checking if gethostbyname is compilable configure:26678: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:26678: $? = 0 configure:26680: result: yes configure:26695: checking if gethostbyname usage allowed configure:26698: result: yes configure:26708: checking if gethostbyname might be used configure:26714: result: yes configure:26736: checking if gethostbyname_r can be linked configure:26765: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:228: warning: function declaration isn't a prototype configure:26765: $? = 0 configure:26767: result: yes configure:26782: checking if gethostbyname_r is prototyped configure:26793: result: yes configure:26810: checking if gethostbyname_r takes 3 args. configure:26829: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:230: error: too few arguments to function 'gethostbyname_r' configure:26829: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != gethostbyname_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:26838: result: no configure:26846: checking if gethostbyname_r takes 5 args. configure:26865: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:26865: $? = 0 configure:26867: result: yes configure:26917: checking if gethostbyname_r is compilable configure:26920: result: yes configure:26929: checking if gethostbyname_r usage allowed configure:26932: result: yes configure:26942: checking if gethostbyname_r might be used configure:26948: result: yes configure:26984: checking if gethostname can be linked configure:27004: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:27004: $? = 0 configure:27006: result: yes configure:27021: checking if gethostname is prototyped configure:27033: result: yes configure:27049: checking if gethostname is compilable configure:27069: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:27069: $? = 0 configure:27071: result: yes configure:27086: checking if gethostname usage allowed configure:27089: result: yes configure:27099: checking if gethostname might be used configure:27105: result: yes configure:27127: checking if getifaddrs can be linked configure:27156: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:231: warning: function declaration isn't a prototype Undefined first referenced symbol in file getifaddrs /var/tmp//ccc7eAvI.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:27156: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | /* end confdefs.h. */ | | | #define getifaddrs innocuous_getifaddrs | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getifaddrs | #ifdef __cplusplus | extern "C" | #endif | char getifaddrs (); | #if defined __stub_getifaddrs || defined __stub___getifaddrs | choke me | #endif | | int main (void) | { | return getifaddrs (); | ; | return 0; | } | configure:27164: result: no configure:27303: checking if getifaddrs might be used configure:27319: result: no configure:27332: checking if getservbyport_r can be linked configure:27361: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:231: warning: function declaration isn't a prototype configure:27361: $? = 0 configure:27363: result: yes configure:27378: checking if getservbyport_r is prototyped configure:27389: result: yes configure:27406: checking if getservbyport_r takes 4 args. configure:27425: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:233: error: too few arguments to function 'getservbyport_r' configure:27425: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_NETDB_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != getservbyport_r(0, 0, 0, 0)) | return 1; | | ; | return 0; | } | configure:27434: result: no configure:27442: checking if getservbyport_r takes 5 args. configure:27461: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:27461: $? = 0 configure:27463: result: yes configure:27513: checking if getservbyport_r is compilable configure:27516: result: yes configure:27525: checking if getservbyport_r usage allowed configure:27528: result: yes configure:27538: checking if getservbyport_r might be used configure:27544: result: yes configure:27592: checking for sys/types.h configure:27592: result: yes configure:27592: checking for sys/time.h configure:27592: result: yes configure:27592: checking for time.h configure:27592: result: yes configure:27613: checking if gmtime_r can be linked configure:27642: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:237: warning: function declaration isn't a prototype configure:27642: $? = 0 configure:27644: result: yes configure:27659: checking if gmtime_r is prototyped configure:27670: result: yes configure:27686: checking if gmtime_r is compilable configure:27705: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:27705: $? = 0 configure:27707: result: yes configure:27723: checking if gmtime_r seems to work configure:27755: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:27755: $? = 0 configure:27755: ./conftest configure:27755: $? = 0 configure:27757: result: yes configure:27776: checking if gmtime_r usage allowed configure:27779: result: yes configure:27789: checking if gmtime_r might be used configure:27796: result: yes configure:27829: checking for sys/types.h configure:27829: result: yes configure:27829: checking for sys/socket.h configure:27829: result: yes configure:27829: checking for netinet/in.h configure:27829: result: yes configure:27829: checking for arpa/inet.h configure:27829: result: yes configure:27850: checking if inet_ntoa_r can be linked configure:27879: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:242: warning: function declaration isn't a prototype configure:27879: $? = 0 configure:27881: result: yes configure:27896: checking if inet_ntoa_r is prototyped configure:27913: result: no configure:28022: checking if inet_ntoa_r might be used configure:28048: result: no configure:28061: checking if inet_ntop can be linked configure:28090: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:242: warning: function declaration isn't a prototype configure:28090: $? = 0 configure:28092: result: yes configure:28107: checking if inet_ntop is prototyped configure:28118: result: yes configure:28134: checking if inet_ntop is compilable configure:28153: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:28153: $? = 0 configure:28155: result: yes configure:28171: checking if inet_ntop seems to work configure:28245: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:283: warning: assignment discards qualifiers from pointer target type conftest.c:307: warning: assignment discards qualifiers from pointer target type configure:28245: $? = 0 configure:28245: ./conftest configure:28245: $? = 0 configure:28247: result: yes configure:28266: checking if inet_ntop usage allowed configure:28269: result: yes configure:28279: checking if inet_ntop might be used configure:28286: result: yes configure:28308: checking if inet_pton can be linked configure:28337: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:243: warning: function declaration isn't a prototype configure:28337: $? = 0 configure:28339: result: yes configure:28354: checking if inet_pton is prototyped configure:28365: result: yes configure:28381: checking if inet_pton is compilable configure:28400: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:28400: $? = 0 configure:28402: result: yes configure:28418: checking if inet_pton seems to work configure:28485: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:28485: $? = 0 configure:28485: ./conftest configure:28485: $? = 0 configure:28487: result: yes configure:28506: checking if inet_pton usage allowed configure:28509: result: yes configure:28519: checking if inet_pton might be used configure:28526: result: yes configure:28562: checking for sys/types.h configure:28562: result: yes configure:28562: checking for unistd.h configure:28562: result: yes configure:28562: checking for sys/socket.h configure:28562: result: yes configure:28562: checking for sys/ioctl.h configure:28562: result: yes configure:28562: checking for stropts.h configure:28562: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:28562: $? = 0 configure:28562: result: yes configure:28582: checking if ioctl can be linked configure:28611: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:249: warning: function declaration isn't a prototype configure:28611: $? = 0 configure:28613: result: yes configure:28628: checking if ioctl is prototyped configure:28639: result: yes configure:28655: checking if ioctl is compilable configure:28674: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:28674: $? = 0 configure:28676: result: yes configure:28691: checking if ioctl usage allowed configure:28694: result: yes configure:28704: checking if ioctl might be used configure:28710: result: yes configure:28724: checking if ioctl FIONBIO is compilable configure:28744: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:262: error: 'FIONBIO' undeclared (first use in this function) conftest.c:262: error: (Each undeclared identifier is reported only once conftest.c:262: error: for each function it appears in.) configure:28744: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | #ifdef HAVE_SYS_IOCTL_H | # include | #endif | #ifdef HAVE_STROPTS_H | # include | #endif | /* includes end */ | | int main (void) | { | | int flags = 0; | if(0 != ioctl(0, FIONBIO, &flags)) | return 1; | | ; | return 0; | } | configure:28752: result: no configure:28774: checking if ioctl FIONBIO might be used configure:28787: result: no configure:28798: checking if ioctl SIOCGIFADDR is compilable configure:28819: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:263: error: 'SIOCGIFADDR' undeclared (first use in this function) conftest.c:263: error: (Each undeclared identifier is reported only once conftest.c:263: error: for each function it appears in.) configure:28819: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | #ifdef HAVE_SYS_IOCTL_H | # include | #endif | #ifdef HAVE_STROPTS_H | # include | #endif | /* includes end */ | #include | | int main (void) | { | | struct ifreq ifr; | if(0 != ioctl(0, SIOCGIFADDR, &ifr)) | return 1; | | ; | return 0; | } | configure:28827: result: no configure:28849: checking if ioctl SIOCGIFADDR might be used configure:28862: result: no configure:28880: checking if ioctlsocket can be linked configure:28899: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:259: warning: implicit declaration of function 'ioctlsocket' conftest.c:259: warning: nested extern declaration of 'ioctlsocket' Undefined first referenced symbol in file ioctlsocket /var/tmp//ccsYwDZa.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:28899: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:28907: result: no configure:28992: checking if ioctlsocket might be used configure:29081: result: no configure:29093: checking if IoctlSocket can be linked configure:29122: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:250: warning: function declaration isn't a prototype Undefined first referenced symbol in file IoctlSocket /var/tmp//ccCB7dx4.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:29122: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | /* end confdefs.h. */ | | | #define IoctlSocket innocuous_IoctlSocket | #ifdef __STDC__ | # include | #else | # include | #endif | #undef IoctlSocket | #ifdef __cplusplus | extern "C" | #endif | char IoctlSocket (); | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket | choke me | #endif | | int main (void) | { | return IoctlSocket (); | ; | return 0; | } | configure:29130: result: no configure:29215: checking if IoctlSocket might be used configure:29304: result: no configure:29317: checking if localtime_r can be linked configure:29346: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:250: warning: function declaration isn't a prototype configure:29346: $? = 0 configure:29348: result: yes configure:29363: checking if localtime_r is prototyped configure:29374: result: yes configure:29390: checking if localtime_r is compilable configure:29409: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:29409: $? = 0 configure:29411: result: yes configure:29427: checking if localtime_r seems to work configure:29459: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:267: warning: declaration of 'clock' shadows a global declaration /usr/include/iso/time_iso.h:85: warning: shadowed declaration is here configure:29459: $? = 0 configure:29459: ./conftest configure:29459: $? = 0 configure:29461: result: yes configure:29480: checking if localtime_r usage allowed configure:29483: result: yes configure:29493: checking if localtime_r might be used configure:29500: result: yes configure:29522: checking if memrchr can be linked configure:29551: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:251: warning: function declaration isn't a prototype Undefined first referenced symbol in file memrchr /var/tmp//cc0YPl3B.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:29551: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | /* end confdefs.h. */ | | | #define memrchr innocuous_memrchr | #ifdef __STDC__ | # include | #else | # include | #endif | #undef memrchr | #ifdef __cplusplus | extern "C" | #endif | char memrchr (); | #if defined __stub_memrchr || defined __stub___memrchr | choke me | #endif | | int main (void) | { | return memrchr (); | ; | return 0; | } | configure:29559: result: no configure:29568: checking if memrchr seems a macro configure:29587: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:256: warning: implicit declaration of function 'memrchr' conftest.c:256: warning: nested extern declaration of 'memrchr' Undefined first referenced symbol in file memrchr /var/tmp//cca9ZaWx.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:29587: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != memrchr(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:29595: result: no configure:29682: checking if memrchr might be used configure:29697: result: no configure:29718: checking for sys/types.h configure:29718: result: yes configure:29718: checking for poll.h configure:29718: result: yes configure:29718: checking for sys/poll.h configure:29718: result: yes configure:29745: checking if poll can be linked configure:29764: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:29764: $? = 0 configure:29766: result: yes configure:29781: checking if poll is prototyped configure:29792: result: yes configure:29808: checking if poll is compilable configure:29827: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:29827: $? = 0 configure:29829: result: yes configure:29845: checking if poll seems to work configure:29873: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:29873: $? = 0 configure:29873: ./conftest configure:29873: $? = 0 configure:29875: result: yes configure:29894: checking if poll usage allowed configure:29897: result: yes configure:29907: checking if poll might be used configure:29914: result: yes configure:29940: checking if setsockopt can be linked configure:29960: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:29960: $? = 0 configure:29962: result: yes configure:29977: checking if setsockopt is prototyped configure:29989: result: yes configure:30005: checking if setsockopt is compilable configure:30025: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30025: $? = 0 configure:30027: result: yes configure:30042: checking if setsockopt usage allowed configure:30045: result: yes configure:30055: checking if setsockopt might be used configure:30061: result: yes configure:30075: checking if setsockopt SO_NONBLOCK is compilable configure:30095: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:274: error: 'SO_NONBLOCK' undeclared (first use in this function) conftest.c:274: error: (Each undeclared identifier is reported only once conftest.c:274: error: for each function it appears in.) configure:30095: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL 1 | #define HAVE_POLL_FINE 1 | #define HAVE_SETSOCKOPT 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_SOCKET_H | # include | #endif | /* includes end */ | | int main (void) | { | | if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0)) | return 1; | | ; | return 0; | } | configure:30103: result: no configure:30125: checking if setsockopt SO_NONBLOCK might be used configure:30138: result: no configure:30162: checking for sys/types.h configure:30162: result: yes configure:30162: checking for signal.h configure:30162: result: yes configure:30182: checking if sigaction can be linked configure:30211: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:259: warning: function declaration isn't a prototype configure:30211: $? = 0 configure:30213: result: yes configure:30228: checking if sigaction is prototyped configure:30239: result: yes configure:30255: checking if sigaction is compilable configure:30274: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30274: $? = 0 configure:30276: result: yes configure:30291: checking if sigaction usage allowed configure:30294: result: yes configure:30304: checking if sigaction might be used configure:30310: result: yes configure:30331: checking if siginterrupt can be linked configure:30360: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:260: warning: function declaration isn't a prototype configure:30360: $? = 0 configure:30362: result: yes configure:30377: checking if siginterrupt is prototyped configure:30388: result: yes configure:30404: checking if siginterrupt is compilable configure:30423: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30423: $? = 0 configure:30425: result: yes configure:30440: checking if siginterrupt usage allowed configure:30443: result: yes configure:30453: checking if siginterrupt might be used configure:30459: result: yes configure:30480: checking if signal can be linked configure:30509: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:261: warning: function declaration isn't a prototype configure:30509: $? = 0 configure:30511: result: yes configure:30526: checking if signal is prototyped configure:30537: result: yes configure:30553: checking if signal is compilable configure:30572: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30572: $? = 0 configure:30574: result: yes configure:30589: checking if signal usage allowed configure:30592: result: yes configure:30602: checking if signal might be used configure:30608: result: yes configure:30635: checking for sys/types.h configure:30635: result: yes configure:30635: checking for setjmp.h configure:30635: result: yes configure:30656: checking if sigsetjmp can be linked configure:30685: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:264: warning: function declaration isn't a prototype configure:30685: $? = 0 configure:30687: result: yes configure:30740: checking if sigsetjmp is prototyped configure:30751: result: yes configure:30768: checking if sigsetjmp is compilable configure:30788: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30788: $? = 0 configure:30790: result: yes configure:30805: checking if sigsetjmp usage allowed configure:30808: result: yes configure:30818: checking if sigsetjmp might be used configure:30824: result: yes configure:30845: checking if socket can be linked configure:30866: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:30866: $? = 0 configure:30868: result: yes configure:30883: checking if socket is prototyped configure:30896: result: yes configure:30912: checking if socket is compilable configure:30933: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:30933: $? = 0 configure:30935: result: yes configure:30950: checking if socket usage allowed configure:30953: result: yes configure:30963: checking if socket might be used configure:30969: result: yes configure:30990: checking if strcasecmp can be linked configure:31019: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:266: warning: function declaration isn't a prototype conftest.c:266: warning: conflicting types for built-in function 'strcasecmp' configure:31019: $? = 0 configure:31021: result: yes configure:31036: checking if strcasecmp is prototyped configure:31047: result: yes configure:31063: checking if strcasecmp is compilable configure:31082: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:271: warning: null argument where non-null required (argument 1) conftest.c:271: warning: null argument where non-null required (argument 2) configure:31082: $? = 0 configure:31084: result: yes configure:31099: checking if strcasecmp usage allowed configure:31102: result: yes configure:31112: checking if strcasecmp might be used configure:31118: result: yes configure:31139: checking if strcasestr can be linked configure:31168: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:267: warning: function declaration isn't a prototype Undefined first referenced symbol in file strcasestr /var/tmp//ccIvTYc1.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:31168: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | /* end confdefs.h. */ | | | #define strcasestr innocuous_strcasestr | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strcasestr | #ifdef __cplusplus | extern "C" | #endif | char strcasestr (); | #if defined __stub_strcasestr || defined __stub___strcasestr | choke me | #endif | | int main (void) | { | return strcasestr (); | ; | return 0; | } | configure:31176: result: no configure:31261: checking if strcasestr might be used configure:31276: result: no configure:31288: checking if strcmpi can be linked configure:31317: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:267: warning: function declaration isn't a prototype Undefined first referenced symbol in file strcmpi /var/tmp//cc9DScKk.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:31317: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | /* end confdefs.h. */ | | | #define strcmpi innocuous_strcmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strcmpi | #ifdef __cplusplus | extern "C" | #endif | char strcmpi (); | #if defined __stub_strcmpi || defined __stub___strcmpi | choke me | #endif | | int main (void) | { | return strcmpi (); | ; | return 0; | } | configure:31325: result: no configure:31410: checking if strcmpi might be used configure:31425: result: no configure:31437: checking if strdup can be linked configure:31466: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:267: warning: function declaration isn't a prototype conftest.c:267: warning: conflicting types for built-in function 'strdup' configure:31466: $? = 0 configure:31468: result: yes configure:31483: checking if strdup is prototyped configure:31494: result: yes configure:31510: checking if strdup is compilable configure:31529: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:272: warning: null argument where non-null required (argument 1) configure:31529: $? = 0 configure:31531: result: yes configure:31546: checking if strdup usage allowed configure:31549: result: yes configure:31559: checking if strdup might be used configure:31565: result: yes configure:31592: checking if strerror_r can be linked configure:31621: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:268: warning: function declaration isn't a prototype configure:31621: $? = 0 configure:31623: result: yes configure:31638: checking if strerror_r is prototyped configure:31649: result: yes configure:31665: checking if strerror_r is compilable configure:31684: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:31684: $? = 0 configure:31686: result: yes configure:31701: checking if strerror_r is glibc like configure:31724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:273: warning: nested extern declaration of 'strerror_r' conftest.c:273: error: conflicting types for 'strerror_r' /usr/include/string.h:59: error: previous declaration of 'strerror_r' was here conftest.c:273: warning: declaration of 'strerror_r' shadows a global declaration /usr/include/string.h:59: warning: shadowed declaration is here configure:31724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | | int main (void) | { | | char *strerror_r(int errnum, char *workbuf, size_t bufsize); | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:31724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:273: warning: nested extern declaration of 'strerror_r' conftest.c:273: error: conflicting types for 'strerror_r' /usr/include/string.h:59: error: previous declaration of 'strerror_r' was here conftest.c:273: warning: declaration of 'strerror_r' shadows a global declaration /usr/include/string.h:59: warning: shadowed declaration is here configure:31724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | | int main (void) | { | | char *strerror_r(int errnum, char *workbuf, int bufsize); | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:31724: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:273: warning: nested extern declaration of 'strerror_r' conftest.c:273: error: conflicting types for 'strerror_r' /usr/include/string.h:59: error: previous declaration of 'strerror_r' was here conftest.c:273: warning: declaration of 'strerror_r' shadows a global declaration /usr/include/string.h:59: warning: shadowed declaration is here configure:31724: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_STRING_H | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | /* includes end */ | | int main (void) | { | | char *strerror_r(int errnum, char *workbuf, unsigned int bufsize); | if(0 != strerror_r(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:31734: result: no configure:31804: checking if strerror_r is POSIX like configure:31827: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:273: warning: nested extern declaration of 'strerror_r' configure:31827: $? = 0 configure:31842: result: yes configure:31851: checking if strerror_r seems to work configure:31886: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 configure:31886: $? = 0 configure:31886: ./conftest configure:31886: $? = 0 configure:31888: result: yes configure:31922: checking if strerror_r usage allowed configure:31925: result: yes configure:31935: checking if strerror_r might be used configure:31941: result: yes configure:31998: checking if stricmp can be linked configure:32027: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:271: warning: function declaration isn't a prototype Undefined first referenced symbol in file stricmp /var/tmp//ccyfwegb.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:32027: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR_R 1 | #define HAVE_POSIX_STRERROR_R 1 | #define STRERROR_R_TYPE_ARG3 size_t | /* end confdefs.h. */ | | | #define stricmp innocuous_stricmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef stricmp | #ifdef __cplusplus | extern "C" | #endif | char stricmp (); | #if defined __stub_stricmp || defined __stub___stricmp | choke me | #endif | | int main (void) | { | return stricmp (); | ; | return 0; | } | configure:32035: result: no configure:32120: checking if stricmp might be used configure:32135: result: no configure:32147: checking if strlcat can be linked configure:32176: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:271: warning: function declaration isn't a prototype configure:32176: $? = 0 configure:32178: result: yes configure:32193: checking if strlcat is prototyped configure:32204: result: yes configure:32220: checking if strlcat is compilable configure:32239: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:32239: $? = 0 configure:32241: result: yes configure:32256: checking if strlcat usage allowed configure:32259: result: yes configure:32269: checking if strlcat might be used configure:32275: result: yes configure:32296: checking if strncasecmp can be linked configure:32325: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:272: warning: function declaration isn't a prototype conftest.c:272: warning: conflicting types for built-in function 'strncasecmp' configure:32325: $? = 0 configure:32327: result: yes configure:32342: checking if strncasecmp is prototyped configure:32353: result: yes configure:32369: checking if strncasecmp is compilable configure:32388: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:277: warning: null argument where non-null required (argument 1) conftest.c:277: warning: null argument where non-null required (argument 2) configure:32388: $? = 0 configure:32390: result: yes configure:32405: checking if strncasecmp usage allowed configure:32408: result: yes configure:32418: checking if strncasecmp might be used configure:32424: result: yes configure:32445: checking if strncmpi can be linked configure:32474: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:273: warning: function declaration isn't a prototype Undefined first referenced symbol in file strncmpi /var/tmp//cc6upIg2.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:32474: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strncmpi innocuous_strncmpi | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strncmpi | #ifdef __cplusplus | extern "C" | #endif | char strncmpi (); | #if defined __stub_strncmpi || defined __stub___strncmpi | choke me | #endif | | int main (void) | { | return strncmpi (); | ; | return 0; | } | configure:32482: result: no configure:32567: checking if strncmpi might be used configure:32582: result: no configure:32594: checking if strnicmp can be linked configure:32623: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:273: warning: function declaration isn't a prototype Undefined first referenced symbol in file strnicmp /var/tmp//cceeHogj.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:32623: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | /* end confdefs.h. */ | | | #define strnicmp innocuous_strnicmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef strnicmp | #ifdef __cplusplus | extern "C" | #endif | char strnicmp (); | #if defined __stub_strnicmp || defined __stub___strnicmp | choke me | #endif | | int main (void) | { | return strnicmp (); | ; | return 0; | } | configure:32631: result: no configure:32716: checking if strnicmp might be used configure:32731: result: no configure:32743: checking if strstr can be linked configure:32772: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:273: warning: function declaration isn't a prototype conftest.c:273: warning: conflicting types for built-in function 'strstr' configure:32772: $? = 0 configure:32774: result: yes configure:32789: checking if strstr is prototyped configure:32800: result: yes configure:32816: checking if strstr is compilable configure:32835: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:278: warning: null argument where non-null required (argument 1) conftest.c:278: warning: null argument where non-null required (argument 2) configure:32835: $? = 0 configure:32837: result: yes configure:32852: checking if strstr usage allowed configure:32855: result: yes configure:32865: checking if strstr might be used configure:32871: result: yes configure:32892: checking if strtok_r can be linked configure:32921: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:274: warning: function declaration isn't a prototype configure:32921: $? = 0 configure:32923: result: yes configure:32938: checking if strtok_r is prototyped configure:32949: result: yes configure:32965: checking if strtok_r is compilable configure:32984: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:32984: $? = 0 configure:32986: result: yes configure:33001: checking if strtok_r usage allowed configure:33004: result: yes configure:33014: checking if strtok_r might be used configure:33020: result: yes configure:33041: checking if strtoll can be linked configure:33070: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:275: warning: function declaration isn't a prototype configure:33070: $? = 0 configure:33072: result: yes configure:33087: checking if strtoll is prototyped configure:33098: result: yes configure:33114: checking if strtoll is compilable configure:33133: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:33133: $? = 0 configure:33135: result: yes configure:33150: checking if strtoll usage allowed configure:33153: result: yes configure:33163: checking if strtoll might be used configure:33169: result: yes configure:33196: checking for sys/types.h configure:33196: result: yes configure:33196: checking for sys/uio.h configure:33196: result: yes configure:33216: checking if writev can be linked configure:33245: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:278: warning: function declaration isn't a prototype configure:33245: $? = 0 configure:33247: result: yes configure:33262: checking if writev is prototyped configure:33273: result: yes configure:33289: checking if writev is compilable configure:33308: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:33308: $? = 0 configure:33310: result: yes configure:33325: checking if writev usage allowed configure:33328: result: yes configure:33338: checking if writev might be used configure:33344: result: yes configure:33388: checking for fork configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:278: warning: function declaration isn't a prototype conftest.c:278: warning: conflicting types for built-in function 'fork' configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for geteuid configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:279: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for getpass_r configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:280: warning: function declaration isn't a prototype Undefined first referenced symbol in file getpass_r /var/tmp//cc4f4kUE.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:33388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | /* end confdefs.h. */ | | #define getpass_r innocuous_getpass_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef getpass_r | #ifdef __cplusplus | extern "C" | #endif | char getpass_r (); | #if defined __stub_getpass_r || defined __stub___getpass_r | choke me | #endif | | int main (void) | { | return getpass_r (); | ; | return 0; | } configure:33388: result: no configure:33401: checking deeper for getpass_r configure:33418: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:275: warning: implicit declaration of function 'getpass_r' conftest.c:275: warning: nested extern declaration of 'getpass_r' Undefined first referenced symbol in file getpass_r /var/tmp//cceTqjYs.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:33418: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #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:33431: result: but still no configure:33388: checking for getppid configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:280: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for getprotobyname configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:281: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for getpwuid configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:282: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for getrlimit configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:283: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for gettimeofday configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:284: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for inet_addr configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:285: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for perror configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:286: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for pipe configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:287: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for setlocale configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:288: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for setmode configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:289: warning: function declaration isn't a prototype Undefined first referenced symbol in file setmode /var/tmp//ccKHVuPv.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:33388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | #define setmode innocuous_setmode | #ifdef __STDC__ | # include | #else | # include | #endif | #undef setmode | #ifdef __cplusplus | extern "C" | #endif | char setmode (); | #if defined __stub_setmode || defined __stub___setmode | choke me | #endif | | int main (void) | { | return setmode (); | ; | return 0; | } configure:33388: result: no configure:33401: checking deeper for setmode configure:33418: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c: In function 'main': conftest.c:284: warning: implicit declaration of function 'setmode' conftest.c:284: warning: nested extern declaration of 'setmode' Undefined first referenced symbol in file setmode /var/tmp//ccqftj8s.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure:33418: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | /* end confdefs.h. */ | | | | int main (void) | { | | setmode (); | | ; | return 0; | } | configure:33431: result: but still no configure:33388: checking for setrlimit configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:289: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for uname configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:290: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33388: checking for utime configure:33388: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:291: warning: function declaration isn't a prototype configure:33388: $? = 0 configure:33388: result: yes configure:33447: checking for sys/types.h configure:33447: result: yes configure:33447: checking for sys/socket.h configure:33447: result: yes configure:33447: checking for netdb.h configure:33447: result: yes configure:33459: checking for getnameinfo configure:33488: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:296: warning: function declaration isn't a prototype configure:33488: $? = 0 configure:33490: result: yes configure:33598: checking types of arguments for getnameinfo configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | socklen_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | size_t salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | size_t salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | size_t salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | size_t salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, size_t, | char *, size_t, | unsigned int); | | int main (void) | { | | int salen=0; | size_t hostlen=0; | size_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, int, | char *, int, | unsigned int); | | int main (void) | { | | int salen=0; | int hostlen=0; | int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, socklen_t, | char *, socklen_t, | unsigned int); | | int main (void) | { | | int salen=0; | socklen_t hostlen=0; | socklen_t servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, unsigned int, | char *, unsigned int, | unsigned int); | | int main (void) | { | | int salen=0; | unsigned int hostlen=0; | unsigned int servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c:316: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:317: error: expected declaration specifiers or '...' before 'DWORD' conftest.c:318: error: conflicting types for 'getnameinfo' /usr/include/netdb.h:332: error: previous declaration of 'getnameinfo' was here conftest.c: In function 'main': conftest.c:324: error: 'DWORD' undeclared (first use in this function) conftest.c:324: error: (Each undeclared identifier is reported only once conftest.c:324: error: for each function it appears in.) conftest.c:324: error: expected ';' before 'hostlen' conftest.c:325: error: expected ';' before 'servlen' conftest.c:326: warning: ISO C90 forbids mixed declarations and code conftest.c:327: error: 'hostlen' undeclared (first use in this function) conftest.c:327: error: 'servlen' undeclared (first use in this function) conftest.c:327: error: too many arguments to function 'getnameinfo' conftest.c:327: warning: unused variable 'res' configure:33662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #if (!defined(_WIN32_WINNT)) || (_WIN32_WINNT < 0x0501) | #undef _WIN32_WINNT | #define _WIN32_WINNT 0x0501 | #endif | #include | #ifdef HAVE_WINSOCK2_H | #include | #ifdef HAVE_WS2TCPIP_H | #include | #endif | #endif | #define GNICALLCONV WSAAPI | #else | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #define GNICALLCONV | #endif | extern int GNICALLCONV getnameinfo(struct sockaddr *, int, | char *, DWORD, | char *, DWORD, | unsigned int); | | int main (void) | { | | int salen=0; | DWORD hostlen=0; | DWORD servlen=0; | unsigned int flags=0; | int res = getnameinfo(0, salen, 0, hostlen, 0, servlen, flags); | | ; | return 0; | } | configure:33662: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 conftest.c: In function 'main': conftest.c:327: warning: unused variable 'res' configure:33662: $? = 0 configure:33675: result: const struct sockaddr *,socklen_t,size_t,int configure:33769: checking for stdio.h configure:33769: result: yes configure:33769: checking for sys/types.h configure:33769: result: yes configure:33769: checking for sys/socket.h configure:33769: result: yes configure:33769: checking for netdb.h configure:33769: result: yes configure:33769: checking for netinet/in.h configure:33769: result: yes configure:33769: checking for arpa/inet.h configure:33769: result: yes configure:33781: checking for working NI_WITHSCOPEID configure:33886: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:357: error: stray '#' in program conftest.c:357: error: expected '=', ',', ';', 'asm' or '__attribute__' before '-' token configure:33886: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "curl" | #define PACKAGE_TARNAME "curl" | #define PACKAGE_VERSION "-" | #define PACKAGE_STRING "curl -" | #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" | #define PACKAGE_URL "" | #define PACKAGE "curl" | #define VERSION "7.21.0" | #define OS "sparc-sun-solaris2.10" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_INTTYPES_H 1 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define SIZEOF_LONG 4 | #define SIZEOF_VOIDP 4 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_STDINT_H 1 | #define CURL_PULL_INTTYPES_H 1 | #define CURL_TYPEOF_CURL_OFF_T int64_t | #define CURL_FORMAT_CURL_OFF_T "lld" | #define CURL_FORMAT_CURL_OFF_TU "llu" | #define CURL_FORMAT_OFF_T "%lld" | #define CURL_SIZEOF_CURL_OFF_T 8 | #define CURL_SUFFIX_CURL_OFF_T LL | #define CURL_SUFFIX_CURL_OFF_TU ULL | #define NEED_THREAD_SAFE 1 | #ifndef _THREAD_SAFE | # define _THREAD_SAFE | #endif | #define NEED_REENTRANT 1 | #ifndef _REENTRANT | # define _REENTRANT | #endif | #define _FILE_OFFSET_BITS 64 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define CURL_DISABLE_HTTP 1 | #define CURL_DISABLE_RTSP 1 | #define CURL_DISABLE_LDAP 1 | #define CURL_DISABLE_LDAPS 1 | #define CURL_DISABLE_DICT 1 | #define CURL_DISABLE_TELNET 1 | #define CURL_DISABLE_TFTP 1 | #define CURL_DISABLE_POP3 1 | #define CURL_DISABLE_IMAP 1 | #define CURL_DISABLE_SMTP 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_WRITABLE_ARGV 1 | #define HAVE_ZLIB_H 1 | #define HAVE_LIBZ 1 | #define HAVE_LIBSSH2 1 | #define HAVE_LIBSSH2_H 1 | #define USE_LIBSSH2 1 | #define HAVE_LIBSSH2_VERSION 1 | #define HAVE_LIBSSH2_INIT 1 | #define HAVE_LIBSSH2_EXIT 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_SYS_UN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_SYS_SOCKIO_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_TERMIO_H 1 | #define HAVE_SGTTY_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_ALLOCA_H 1 | #define HAVE_TIME_H 1 | #define HAVE_PWD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_UTIME_H 1 | #define HAVE_SYS_POLL_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_LIBGEN_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_ARPA_TFTP_H 1 | #define HAVE_SYS_FILIO_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_VARIADIC_MACROS_C99 1 | #define HAVE_VARIADIC_MACROS_GCC 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_STRUCT_TIMEVAL 1 | #define SIZEOF_SIZE_T 4 | #define SIZEOF_LONG 4 | #define SIZEOF_INT 4 | #define SIZEOF_SHORT 2 | #define CURL_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define SIZEOF_OFF_T 8 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CURL_PULL_SYS_TYPES_H 1 | #define CURL_PULL_SYS_SOCKET_H 1 | #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t | #define CURL_SIZEOF_CURL_SOCKLEN_T 4 | #define HAVE_STRUCT_SOCKADDR_STORAGE 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_SIG_ATOMIC_T 1 | #define RETSIGTYPE void | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define SELECT_TYPE_ARG1 int | #define SELECT_TYPE_ARG234 fd_set * | #define SELECT_TYPE_RETV int | #define SELECT_QUAL_ARG5 | #define SELECT_TYPE_ARG5 struct timeval * | #define HAVE_SELECT 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define RECV_TYPE_ARG1 int | #define RECV_TYPE_ARG2 void * | #define RECV_TYPE_ARG3 size_t | #define RECV_TYPE_ARG4 int | #define RECV_TYPE_RETV int | #define HAVE_RECV 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_RECVFROM 1 | #define RECVFROM_TYPE_ARG1 int | #define RECVFROM_TYPE_ARG3 size_t | #define RECVFROM_TYPE_ARG4 int | #define RECVFROM_TYPE_RETV int | #define RECVFROM_TYPE_ARG2 void | #define RECVFROM_TYPE_ARG5 struct sockaddr | #define RECVFROM_TYPE_ARG6 void | #define RECVFROM_TYPE_ARG2_IS_VOID 1 | #define RECVFROM_TYPE_ARG6_IS_VOID 1 | #define HAVE_RECVFROM 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 int | #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_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_FTRUNCATE 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYADDR_R 1 | #define HAVE_GETHOSTBYADDR_R_7 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_GETHOSTBYNAME_R 1 | #define HAVE_GETHOSTBYNAME_R_5 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 5 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_GMTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_POLL_H 1 | #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSTR 1 | #define HAVE_STRTOK_R 1 | #define HAVE_STRTOLL 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_FORK 1 | #define HAVE_GETEUID 1 | #define HAVE_GETPPID 1 | #define HAVE_GETPROTOBYNAME 1 | #define HAVE_GETPWUID 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_INET_ADDR 1 | #define HAVE_PERROR 1 | #define HAVE_PIPE 1 | #define HAVE_SETLOCALE 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_UNAME 1 | #define HAVE_UTIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define GETNAMEINFO_TYPE_ARG2 socklen_t | #define GETNAMEINFO_TYPE_ARG46 size_t | #define GETNAMEINFO_TYPE_ARG7 int | #define GETNAMEINFO_QUAL_ARG1 const | #define GETNAMEINFO_TYPE_ARG1 struct sockaddr * | #define HAVE_GETNAMEINFO 1 | #define ENABLE_IPV6 1 | #define HAVE_STDIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | /* end confdefs.h. */ | | | #ifdef HAVE_STDLIB_H | #include | #endif | #ifdef HAVE_STDIO_H | #include | #endif | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETDB_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | #ifdef HAVE_ARPA_INET_H | #include | #endif | | int main (void) | { | | #if defined(NI_WITHSCOPEID) && defined(HAVE_GETNAMEINFO) | #ifdef HAVE_STRUCT_SOCKADDR_STORAGE | struct sockaddr_storage sa; | #else | unsigned char sa[256]; | #endif | char hostbuf[NI_MAXHOST]; | int rc; | GETNAMEINFO_TYPE_ARG2 salen = (GETNAMEINFO_TYPE_ARG2)sizeof(sa); | GETNAMEINFO_TYPE_ARG46 hostlen = (GETNAMEINFO_TYPE_ARG46)sizeof(hostbuf); | GETNAMEINFO_TYPE_ARG7 flags = NI_NUMERICHOST | NI_NUMERICSERV | NI_WITHSCOPEID; | int fd = socket(AF_INET6, SOCK_STREAM, 0); | if(fd < 0) { | perror("socket()"); | return 1; /* Error creating socket */ | } | rc = getsockname(fd, (GETNAMEINFO_TYPE_ARG1)&sa, &salen); | if(rc) { | perror("getsockname()"); | return 2; /* Error retrieving socket name */ | } | rc = getnameinfo((GETNAMEINFO_TYPE_ARG1)&sa, salen, hostbuf, hostlen, NULL, 0, flags); | if(rc) { | printf("rc = %s\n", gai_strerror(rc)); | return 3; /* Error translating socket address */ | } | return 0; /* Ok, NI_WITHSCOPEID works */ | #else | return 4; /* Error, NI_WITHSCOPEID not defined or no getnameinfo() */ | #endif | | ; | return 0; | } # AC-LANG-PROGRAM | configure:33903: result: no configure:33916: checking whether to enable non-blocking communications configure:33935: result: yes configure:33942: checking how to set a socket into non-blocking mode configure:33955: result: fcntl O_NONBLOCK configure:33976: checking for perl configure:33995: found /opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin/perl configure:34007: result: /opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin/perl configure:34021: checking for gnroff configure:34055: result: no configure:34021: checking for nroff configure:34040: found /bin/nroff configure:34052: result: /bin/nroff configure:34067: checking how to use *nroff to get plain text from man pages configure:34085: result: -man configure:34220: checking whether to enable the threaded resolver configure:34236: result: yes configure:34245: checking pthread.h usability configure:34245: gcc -c -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c >&5 configure:34245: $? = 0 configure:34245: result: yes configure:34245: checking pthread.h presence configure:34245: gcc -E -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include conftest.c configure:34245: $? = 0 configure:34245: result: yes configure:34245: checking for pthread.h configure:34245: result: yes configure:34252: checking for pthread_create in -lpthread configure:34274: gcc -o conftest -g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -pthread -D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include -pthreads -L/home/xingsu/work/libssh2/lib conftest.c -lpthread -lssh2 -lrt -lsocket -lnsl -lz >&5 conftest.c:304: warning: function declaration isn't a prototype configure:34274: $? = 0 configure:34283: result: yes configure:34286: using POSIX threaded DNS lookup configure:34304: checking whether to enable verbose strings configure:34322: result: yes configure:34328: checking whether to enable SSPI support (Windows native builds only) configure:34356: result: no configure:34362: checking whether to enable cryptographic authentication methods configure:34374: result: yes configure:34385: checking whether to enable support for cookies configure:34402: result: yes configure:34408: checking whether to enable hidden symbols in the library configure:34456: result: no configure:34463: checking whether to enforce SONAME bump configure:34478: result: no configure:34791: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by curl config.status -, which was generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on zsups202 config.status:1431: creating Makefile config.status:1431: creating docs/Makefile config.status:1431: creating docs/examples/Makefile config.status:1431: creating docs/libcurl/Makefile config.status:1431: creating include/Makefile config.status:1431: creating include/curl/Makefile config.status:1431: creating src/Makefile config.status:1431: creating lib/Makefile config.status:1431: creating tests/Makefile config.status:1431: creating tests/data/Makefile config.status:1431: creating tests/server/Makefile config.status:1431: creating tests/libtest/Makefile config.status:1431: creating packages/Makefile config.status:1431: creating packages/Win32/Makefile config.status:1431: creating packages/Win32/cygwin/Makefile config.status:1431: creating packages/Linux/Makefile config.status:1431: creating packages/Linux/RPM/Makefile config.status:1431: creating packages/Linux/RPM/curl.spec config.status:1431: creating packages/Linux/RPM/curl-ssl.spec config.status:1431: creating packages/Solaris/Makefile config.status:1431: creating packages/EPM/curl.list config.status:1431: creating packages/EPM/Makefile config.status:1431: creating packages/vms/Makefile config.status:1431: creating packages/AIX/Makefile config.status:1431: creating packages/AIX/RPM/Makefile config.status:1431: creating packages/AIX/RPM/curl.spec config.status:1431: creating curl-config config.status:1431: creating libcurl.pc config.status:1431: creating lib/curl_config.h config.status:1431: creating src/curl_config.h config.status:1431: creating include/curl/curlbuild.h config.status:1644: executing depfiles commands config.status:1644: executing libtool commands configure:37174: Configured to build curl/libcurl: curl version: 7.21.0 Host setup: sparc-sun-solaris2.10 Install prefix: /home/xingsu/work/libcurl Compiler: gcc SSL support: no (--with-{ssl,gnutls,nss,polarssl} ) SSH support: enabled (libSSH2) zlib support: enabled krb4 support: no (--with-krb4*) GSSAPI support: no (--with-gssapi) SPNEGO support: no (--with-spnego) resolver: threaded ipv6 support: enabled IDN support: no (--with-libidn) Build libcurl: Shared=yes, Static=yes Built-in manual: enabled Verbose errors: enabled (--disable-verbose) SSPI support: no (--enable-sspi) ca cert bundle: no ca cert path: no LDAP support: no (--enable-ldap / --with-ldap-lib / --with-lber-lib) LDAPS support: no (--enable-ldaps) RTSP support: no (--enable-rtsp) RTMP support: no (--with-librtmp) Protocols: FILE FTP SCP SFTP ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=sparc-sun-solaris2.10 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=set ac_cv_env_CPPFLAGS_value='-D_THREAD_SAFE -D_REENTRANT' ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-pthreads ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_func_alarm=yes ac_cv_func_basename=yes ac_cv_func_clock_gettime=yes ac_cv_func_closesocket=no ac_cv_func_closesocket_camel=no ac_cv_func_connect=yes ac_cv_func_fcntl=yes ac_cv_func_fcntl_o_nonblock=yes ac_cv_func_fdopen=yes ac_cv_func_fork=yes ac_cv_func_freeaddrinfo=yes ac_cv_func_freeifaddrs=no ac_cv_func_ftruncate=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getaddrinfo_threadsafe=yes ac_cv_func_geteuid=yes ac_cv_func_gethostbyaddr=yes ac_cv_func_gethostbyaddr_r=yes ac_cv_func_gethostbyname=yes ac_cv_func_gethostbyname_r=yes ac_cv_func_gethostname=yes ac_cv_func_getifaddrs=no ac_cv_func_getnameinfo=yes ac_cv_func_getpass_r=no ac_cv_func_getppid=yes ac_cv_func_getprotobyname=yes ac_cv_func_getpwuid=yes ac_cv_func_getrlimit=yes ac_cv_func_getservbyport_r=yes ac_cv_func_gettimeofday=yes ac_cv_func_gmtime_r=yes ac_cv_func_inet_addr=yes ac_cv_func_inet_ntoa_r=no ac_cv_func_inet_ntop=yes ac_cv_func_inet_pton=yes ac_cv_func_ioctl=yes ac_cv_func_ioctl_fionbio=no ac_cv_func_ioctl_siocgifaddr=no ac_cv_func_ioctlsocket=no ac_cv_func_ioctlsocket_camel=no ac_cv_func_libssh2_exit=yes ac_cv_func_libssh2_init=yes ac_cv_func_libssh2_version=yes ac_cv_func_localtime_r=yes ac_cv_func_memrchr=no ac_cv_func_perror=yes ac_cv_func_pipe=yes ac_cv_func_poll=yes ac_cv_func_recv=yes ac_cv_func_recvfrom=yes ac_cv_func_select=yes ac_cv_func_send=yes ac_cv_func_setlocale=yes ac_cv_func_setmode=no ac_cv_func_setrlimit=yes ac_cv_func_setsockopt=yes ac_cv_func_setsockopt_so_nonblock=no ac_cv_func_sigaction=yes ac_cv_func_siginterrupt=yes ac_cv_func_signal=yes ac_cv_func_sigsetjmp=yes ac_cv_func_socket=yes ac_cv_func_strcasecmp=yes ac_cv_func_strcasestr=no ac_cv_func_strcmpi=no ac_cv_func_strdup=yes ac_cv_func_strerror_r=yes ac_cv_func_stricmp=no ac_cv_func_strlcat=yes ac_cv_func_strncasecmp=yes ac_cv_func_strncmpi=no ac_cv_func_strnicmp=no ac_cv_func_strstr=yes ac_cv_func_strtok_r=yes ac_cv_func_strtoll=yes ac_cv_func_uname=yes ac_cv_func_utime=yes ac_cv_func_writev=yes ac_cv_header_alloca_h=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_arpa_tftp_h=yes ac_cv_header_assert_h=yes ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_ifaddrs_h=no ac_cv_header_inttypes_h=yes ac_cv_header_io_h=no ac_cv_header_libgen_h=yes ac_cv_header_librtmp_rtmp_h=no ac_cv_header_libssh2_h=yes ac_cv_header_limits_h=yes ac_cv_header_locale_h=yes ac_cv_header_malloc_h=yes ac_cv_header_memory_h=yes ac_cv_header_net_if_h=yes ac_cv_header_netdb_h=yes ac_cv_header_netinet_in_h=yes ac_cv_header_netinet_tcp_h=yes ac_cv_header_poll_h=yes ac_cv_header_pthread_h=yes ac_cv_header_pwd_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_sgtty_h=yes ac_cv_header_signal_h=yes ac_cv_header_socket_h=no ac_cv_header_stdbool_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_stropts_h=yes ac_cv_header_sys_filio_h=yes 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=yes 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=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_winber_h=no ac_cv_header_windows_h=no ac_cv_header_winldap_h=no ac_cv_header_winsock2_h=no ac_cv_header_winsock_h=no ac_cv_header_ws2tcpip_h=no ac_cv_header_zlib_h=yes ac_cv_host=sparc-sun-solaris2.10 ac_cv_lib_idn_idna_to_ascii_lz=no ac_cv_lib_nsl_gethostbyname=yes ac_cv_lib_pthread_pthread_create=yes ac_cv_lib_rtmp_RTMP_Init=no ac_cv_lib_ssh2_libssh2_channel_open_ex=yes ac_cv_lib_z_inflateEnd=yes ac_cv_msg_nosignal=no ac_cv_native_windows=no ac_cv_objext=o ac_cv_path_EGREP=/bin/egrep ac_cv_path_FGREP=/bin/fgrep ac_cv_path_GREP=/bin/grep ac_cv_path_NROFF=/bin/nroff ac_cv_path_PERL=/opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin/perl ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_AR=/usr/ccs/bin/ar ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_AR=/usr/ccs/bin/ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_sig_atomic_t_volatile=no ac_cv_sizeof_int=4 ac_cv_sizeof_long=4 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 ac_cv_sizeof_time_t=4 ac_cv_sizeof_voidp=4 ac_cv_struct_timeval=yes ac_cv_sys_file_offset_bits=64 ac_cv_sys_largefile_CC=no ac_cv_type_bool=yes ac_cv_type_in_addr_t=yes ac_cv_type_long_long=yes ac_cv_type_sig_atomic_t=yes ac_cv_type_signal=void ac_cv_type_size_t=yes ac_cv_type_ssize_t=yes ac_cv_type_struct_sockaddr_storage=yes ac_cv_working_ni_withscopeid=no am_cv_CC_dependencies_compiler_type=gcc3 curl_cv_PATH_SEPARATOR=: curl_cv_def_PRId64='"lld"' curl_cv_def___GNUC__=4 curl_cv_func_getnameinfo_args='const struct sockaddr *,socklen_t,size_t,int' curl_cv_func_recv_args='int,void *,size_t,int,int' curl_cv_func_recvfrom_args='int,void *,size_t,int,struct sockaddr *,void *,int' curl_cv_func_select_args='int,fd_set *,struct timeval *,int' curl_cv_func_send_args='int,const void *,size_t,int,int' curl_cv_gclk_LIBS=-lrt curl_cv_getnameinfo=yes curl_cv_have_def_PRId64=yes curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=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_need_header_malloc_h=no curl_cv_need_header_memory_h=no curl_cv_recv=yes curl_cv_recvfrom=yes curl_cv_save_LIBS='-lsocket -lnsl' curl_cv_select=yes curl_cv_send=yes curl_cv_variadic_macros_c99=yes curl_cv_variadic_macros_gcc=yes curl_cv_writable_argv=yes lt_cv_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/ccs/bin/ld lt_cv_path_NM='/usr/ccs/bin/nm -p' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_gnu_ld=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BDRT][BDRT]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BDRT]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BDRT]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BDRT]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BDRT]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=786240 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run aclocal-1.9' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run tar' AR='/usr/ccs/bin/ar' AS='as' AUTOCONF='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run autoconf' AUTOHEADER='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run autoheader' AUTOMAKE='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run automake-1.9' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O0 -pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wfloat-equal -Wno-multichar -Wsign-compare -Wundef -Wno-format-nonliteral -Wendif-labels -Wstrict-prototypes -Wdeclaration-after-statement -Wno-system-headers -pthread' CONFIGURE_OPTIONS='" '\''--prefix=/home/xingsu/work/libcurl'\'' '\''--enable-debug'\'' '\''--enable-curldebug'\'' '\''--disable-http'\'' '\''--disable-telnet'\'' '\''--disable-tftp'\'' '\''--disable-pop3'\'' '\''--disable-imap'\'' '\''--disable-smtp'\'' '\''--disable-ldap'\'' '\''--disable-ldaps'\'' '\''--disable-dict'\'' '\''--with-libssh2=/home/xingsu/work/libssh2'\'' '\''--without-ssl'\'' '\''--enable-ipv6'\'' '\''--enable-crypto-auth'\'' '\''--enable-threaded-resolver'\'' '\''CPPFLAGS=-D_THREAD_SAFE -D_REENTRANT'\'' '\''LDFLAGS=-pthreads'\''"' CPP='gcc -E' CPPFLAGS='-D_THREAD_SAFE -D_REENTRANT -DCURLDEBUG -DDEBUGBUILD -I/home/xingsu/work/libssh2/include' CROSSCOMPILING_FALSE='' CROSSCOMPILING_TRUE='#' CURLDEBUG_FALSE='#' CURLDEBUG_TRUE='' CURL_CA_BUNDLE='' CURL_DISABLE_DICT='1' CURL_DISABLE_FILE='' CURL_DISABLE_FTP='' CURL_DISABLE_HTTP='1' CURL_DISABLE_IMAP='1' CURL_DISABLE_LDAP='1' CURL_DISABLE_LDAPS='1' CURL_DISABLE_POP3='1' CURL_DISABLE_PROXY='' CURL_DISABLE_RTSP='1' CURL_DISABLE_SMTP='1' CURL_DISABLE_TELNET='1' CURL_DISABLE_TFTP='1' CURL_LIBS='-lz' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='dlltool' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/egrep' EXEEXT='' FGREP='/bin/fgrep' GREP='/bin/grep' HAVE_LDAP_SSL='' HAVE_LIBZ='1' HAVE_LIBZ_FALSE='#' HAVE_LIBZ_TRUE='' HAVE_PK11_CREATEGENERICOBJECT='' IDN_ENABLED='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' IPV6_ENABLED='1' KRB4_ENABLED='' LD='/usr/ccs/bin/ld' LDFLAGS='-pthreads -L/home/xingsu/work/libssh2/lib' LIBCURL_LIBS='-lssh2 -lrt -lsocket -lnsl -lz' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} "/home/xingsu/work/curl-7.21.0/missing" --run makeinfo' MANOPT='-man' MIMPURE_FALSE='#' MIMPURE_TRUE='' NM='/usr/ccs/bin/nm -p' NMEDIT='' NO_UNDEFINED_FALSE='' NO_UNDEFINED_TRUE='#' NROFF='/bin/nroff' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='curl' PACKAGE_BUGREPORT='a suitable curl mailing list => http://curl.haxx.se/mail/' PACKAGE_NAME='curl' PACKAGE_STRING='curl -' PACKAGE_TARNAME='curl' PACKAGE_URL='' PACKAGE_VERSION='-' PATH='/home/xingsu/bin:/ioam_tools/LDB_TOOLS/int/build/shell:/opt/swe/tools/ext/iona/orbix-3.3.8_tp2/bin:/opt/swe/tools/ext/sun/jdk-1.6.0.21/sparc-solaris2.10/bin:/opt/swe/tools/ext/apache/apache-ant-1.6.5/bin:/opt/swe/tools/ext/oci/tao-1.5a_p13/ACE_wrappers/bin:/opt/swe/tools/ext/versant/vds-7.0.1.3/bin:/opt/swe/tools/ext/parasoft/cw-4.2_p1/bin.solaris:/omc/umts/tools/bin:/opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin:/opt/swe/tools/in/omc/uppertools-1.0_p1/sparc-solaris2.6/bin:/usr/atria/bin:/opt/swe/tools/ext/rational/rosert-2003.06.15/releases/RoseRT.2003.06.00/bin:/usr/dt/bin:/usr/openwin/bin:/opt/swe/bin/in:/opt/swe/bin:/opt/swe/bin/pao:/usr/ccs/bin:/usr/sbin:/bin:/usr/ucb:.:/omc/tools/bin:/opt/swe/tools/ext/oci/jacorb-2.3_p4/JacORB/bin' PATH_SEPARATOR=':' PERL='/opt/swe/tools/ext/gnu/perl-5.6.0_p1/bin/perl' PKGADD_NAME='cURL - a client that groks URLs' PKGADD_PKG='HAXXcurl' PKGADD_VENDOR='curl.haxx.se' PKGCONFIG='' RANDOM_FILE='' RANLIB='ranlib' REQUIRE_LIB_DEPS='yes' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' SONAME_BUMP_FALSE='' SONAME_BUMP_TRUE='#' SSL_ENABLED='' STATICLIB_FALSE='' STATICLIB_TRUE='#' STRIP='strip' SUPPORT_FEATURES='IPv6 libz AsynchDNS' SUPPORT_PROTOCOLS='FILE FTP SCP SFTP' TEST_SERVER_LIBS='-lrt -lsocket -lnsl' USE_ARES='' USE_EMBEDDED_ARES_FALSE='' USE_EMBEDDED_ARES_TRUE='#' USE_GNUTLS='' USE_LIBRTMP='' USE_LIBSSH2='1' USE_MANUAL_FALSE='#' USE_MANUAL_TRUE='' USE_NSS='' USE_OPENLDAP='' USE_POLARSSL='' USE_SSLEAY='' USE_WINDOWS_SSPI='' VERSION='7.21.0' VERSIONNUM='071500' ac_ct_CC='gcc' ac_ct_DUMPBIN='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='sparc-sun-solaris2.10' build_alias='' build_cpu='sparc' build_os='solaris2.10' build_vendor='sun' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='sparc-sun-solaris2.10' host_alias='' host_cpu='sparc' host_os='solaris2.10' host_vendor='sun' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='/home/xingsu/work/curl-7.21.0/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' libext='a' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='$(mkinstalldirs)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/home/xingsu/work/libcurl' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "curl" #define PACKAGE_TARNAME "curl" #define PACKAGE_VERSION "-" #define PACKAGE_STRING "curl -" #define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/" #define PACKAGE_URL "" #define PACKAGE "curl" #define VERSION "7.21.0" #define OS "sparc-sun-solaris2.10" #define HAVE_SYS_TYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_INTTYPES_H 1 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define SIZEOF_LONG 4 #define SIZEOF_VOIDP 4 #define CURL_PULL_SYS_TYPES_H 1 #define CURL_PULL_STDINT_H 1 #define CURL_PULL_INTTYPES_H 1 #define CURL_TYPEOF_CURL_OFF_T int64_t #define CURL_FORMAT_CURL_OFF_T "lld" #define CURL_FORMAT_CURL_OFF_TU "llu" #define CURL_FORMAT_OFF_T "%lld" #define CURL_SIZEOF_CURL_OFF_T 8 #define CURL_SUFFIX_CURL_OFF_T LL #define CURL_SUFFIX_CURL_OFF_TU ULL #define NEED_THREAD_SAFE 1 #ifndef _THREAD_SAFE # define _THREAD_SAFE #endif #define NEED_REENTRANT 1 #ifndef _REENTRANT # define _REENTRANT #endif #define _FILE_OFFSET_BITS 64 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define CURL_DISABLE_HTTP 1 #define CURL_DISABLE_RTSP 1 #define CURL_DISABLE_LDAP 1 #define CURL_DISABLE_LDAPS 1 #define CURL_DISABLE_DICT 1 #define CURL_DISABLE_TELNET 1 #define CURL_DISABLE_TFTP 1 #define CURL_DISABLE_POP3 1 #define CURL_DISABLE_IMAP 1 #define CURL_DISABLE_SMTP 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_WRITABLE_ARGV 1 #define HAVE_ZLIB_H 1 #define HAVE_LIBZ 1 #define HAVE_LIBSSH2 1 #define HAVE_LIBSSH2_H 1 #define USE_LIBSSH2 1 #define HAVE_LIBSSH2_VERSION 1 #define HAVE_LIBSSH2_INIT 1 #define HAVE_LIBSSH2_EXIT 1 #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STDLIB_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_NET_IF_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NETDB_H 1 #define HAVE_SYS_SOCKIO_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_TERMIO_H 1 #define HAVE_SGTTY_H 1 #define HAVE_FCNTL_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_TIME_H 1 #define HAVE_PWD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_UTIME_H 1 #define HAVE_SYS_POLL_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_LOCALE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_ARPA_TFTP_H 1 #define HAVE_SYS_FILIO_H 1 #define HAVE_SETJMP_H 1 #define HAVE_VARIADIC_MACROS_C99 1 #define HAVE_VARIADIC_MACROS_GCC 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_STRUCT_TIMEVAL 1 #define SIZEOF_SIZE_T 4 #define SIZEOF_LONG 4 #define SIZEOF_INT 4 #define SIZEOF_SHORT 2 #define CURL_SIZEOF_LONG 4 #define SIZEOF_TIME_T 4 #define SIZEOF_OFF_T 8 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define CURL_PULL_SYS_TYPES_H 1 #define CURL_PULL_SYS_SOCKET_H 1 #define CURL_TYPEOF_CURL_SOCKLEN_T socklen_t #define CURL_SIZEOF_CURL_SOCKLEN_T 4 #define HAVE_STRUCT_SOCKADDR_STORAGE 1 #define HAVE_SIGNAL_H 1 #define HAVE_SIG_ATOMIC_T 1 #define RETSIGTYPE void #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define SELECT_TYPE_ARG1 int #define SELECT_TYPE_ARG234 fd_set * #define SELECT_TYPE_RETV int #define SELECT_QUAL_ARG5 #define SELECT_TYPE_ARG5 struct timeval * #define HAVE_SELECT 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define RECV_TYPE_ARG1 int #define RECV_TYPE_ARG2 void * #define RECV_TYPE_ARG3 size_t #define RECV_TYPE_ARG4 int #define RECV_TYPE_RETV int #define HAVE_RECV 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_RECVFROM 1 #define RECVFROM_TYPE_ARG1 int #define RECVFROM_TYPE_ARG3 size_t #define RECVFROM_TYPE_ARG4 int #define RECVFROM_TYPE_RETV int #define RECVFROM_TYPE_ARG2 void #define RECVFROM_TYPE_ARG5 struct sockaddr #define RECVFROM_TYPE_ARG6 void #define RECVFROM_TYPE_ARG2_IS_VOID 1 #define RECVFROM_TYPE_ARG6_IS_VOID 1 #define HAVE_RECVFROM 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 int #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_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_FTRUNCATE 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDLIB_H 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETADDRINFO_THREADSAFE 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_GETHOSTBYADDR_R 1 #define HAVE_GETHOSTBYADDR_R_7 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_GETHOSTBYNAME_R 1 #define HAVE_GETHOSTBYNAME_R_5 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETSERVBYPORT_R 1 #define GETSERVBYPORT_R_ARGS 5 #define GETSERVBYPORT_R_BUFSIZE 4096 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_GMTIME_R 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_STROPTS_H 1 #define HAVE_IOCTL 1 #define HAVE_LOCALTIME_R 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_POLL_H 1 #define HAVE_SYS_POLL_H 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_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_STRLCAT 1 #define HAVE_STRNCASECMP 1 #define HAVE_STRSTR 1 #define HAVE_STRTOK_R 1 #define HAVE_STRTOLL 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_FORK 1 #define HAVE_GETEUID 1 #define HAVE_GETPPID 1 #define HAVE_GETPROTOBYNAME 1 #define HAVE_GETPWUID 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_INET_ADDR 1 #define HAVE_PERROR 1 #define HAVE_PIPE 1 #define HAVE_SETLOCALE 1 #define HAVE_SETRLIMIT 1 #define HAVE_UNAME 1 #define HAVE_UTIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETDB_H 1 #define GETNAMEINFO_TYPE_ARG2 socklen_t #define GETNAMEINFO_TYPE_ARG46 size_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 HAVE_PTHREAD_H 1 #define USE_THREADS_POSIX 1 configure: exit 0