This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by c-ares configure 1.7.3, which was generated by GNU Autoconf 2.68. Invocation command line was $ /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/configure --disable-shared --disable-option-checking --prefix=${HOME}/sbnc --cache-file=/dev/null --srcdir=. ## --------- ## ## Platform. ## ## --------- ## hostname = bitcoinshell uname -m = i686 uname -r = 3.2.72 uname -s = Linux uname -v = #1 SMP Sat Oct 17 04:41:22 GMT 2015 /usr/bin/uname -p = Pentium III (Coppermine) /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/paimo/bin PATH: /usr/bin PATH: /bin PATH: /opt/bin PATH: /usr/i686-pc-linux-gnu/gcc-bin/4.7.3 PATH: /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 PATH: /usr/lib/subversion/bin PATH: /usr/games/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2520: checking whether to enable maintainer-specific portions of Makefiles configure:2529: result: no configure:2544: checking whether to enable debug build options configure:2563: result: no configure:2567: checking whether to enable compiler optimizer configure:2588: result: not specified (assuming yes) configure:2600: checking whether to enable strict compiler warnings configure:2619: result: no configure:2623: checking whether to enable curl debug memory tracking configure:2642: result: no configure:2646: checking whether to enable hiding of library internal symbols configure:2662: result: yes configure:2678: checking for sed configure:2697: found /bin/sed configure:2710: result: /bin/sed configure:2725: checking for grep configure:2744: found /bin/grep configure:2757: result: /bin/grep configure:2771: checking for egrep configure:2774: result: /bin/grep -E configure:2872: checking for ar configure:2891: found /usr/bin/ar configure:2903: result: /usr/bin/ar configure:2980: checking for a BSD-compatible install configure:3048: result: /usr/bin/install -c configure:3059: checking whether build environment is sane configure:3109: result: yes configure:3250: checking for a thread-safe mkdir -p configure:3289: result: /bin/mkdir -p configure:3302: checking for gawk configure:3318: found /usr/bin/gawk configure:3329: result: gawk configure:3340: checking whether make sets $(MAKE) configure:3362: result: yes configure:3442: checking c-ares version configure:3444: result: 1.7.3 configure:3452: checking build system type configure:3466: result: i686-pc-linux-gnu configure:3486: checking host system type configure:3499: result: i686-pc-linux-gnu configure:3537: checking for style of include used by make configure:3565: result: GNU configure:3639: checking for gcc configure:3655: found /usr/bin/gcc configure:3666: result: gcc configure:3895: checking for C compiler version configure:3904: gcc --version >&5 gcc (Gentoo 4.7.3-r1 p1.5, pie-0.5.5) 4.7.3 Copyright (C) 2012 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:3915: $? = 0 configure:3904: gcc -v >&5 Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/4.7.3/gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/4.7.3/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.7.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.7.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.7.3/include/g++-v4 --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.7.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.7.3-r1 p1.5, pie-0.5.5' --enable-libstdcxx-time --enable-linker-build-id --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec --disable-fixed-point --with-arch=i686 --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --without-ppl Thread model: posix gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.5, pie-0.5.5) configure:3915: $? = 0 configure:3904: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:3915: $? = 1 configure:3904: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:3915: $? = 1 configure:3934: checking whether the C compiler works configure:3956: gcc conftest.c >&5 configure:3960: $? = 0 configure:4008: result: yes configure:4011: checking for C compiler default output file name configure:4013: result: a.out configure:4019: checking for suffix of executables configure:4026: gcc -o conftest conftest.c >&5 configure:4030: $? = 0 configure:4052: result: configure:4073: checking whether we are cross compiling configure:4081: gcc -o conftest conftest.c >&5 configure:4085: $? = 0 configure:4092: ./conftest configure:4096: $? = 0 configure:4111: result: no configure:4116: checking for suffix of object files configure:4137: gcc -c conftest.c >&5 configure:4141: $? = 0 configure:4162: result: o configure:4166: checking whether we are using the GNU C compiler configure:4184: gcc -c conftest.c >&5 configure:4184: $? = 0 configure:4193: result: yes configure:4202: checking whether gcc accepts -g configure:4221: gcc -c -g conftest.c >&5 configure:4221: $? = 0 configure:4260: result: yes configure:4277: checking for gcc option to accept ISO C89 configure:4340: gcc -c -g -O2 conftest.c >&5 configure:4340: $? = 0 configure:4353: result: none needed configure:4375: checking dependency style of gcc configure:4486: result: gcc3 configure:4505: checking whether gcc and cc understand -c and -o together configure:4535: gcc -c conftest.c -o conftest2.o >&5 configure:4539: $? = 0 configure:4545: gcc -c conftest.c -o conftest2.o >&5 configure:4549: $? = 0 configure:4560: cc -c conftest.c >&5 configure:4564: $? = 0 configure:4572: cc -c conftest.c -o conftest2.o >&5 configure:4576: $? = 0 configure:4582: cc -c conftest.c -o conftest2.o >&5 configure:4586: $? = 0 configure:4604: result: yes configure:4637: checking how to run the C preprocessor configure:4668: gcc -E conftest.c configure:4668: $? = 0 configure:4682: gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4682: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* end confdefs.h. */ | #include configure:4707: result: gcc -E configure:4727: gcc -E conftest.c configure:4727: $? = 0 configure:4741: gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. configure:4741: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* end confdefs.h. */ | #include configure:4770: checking for grep that handles long lines and -e configure:4828: result: /bin/grep configure:4833: checking for egrep configure:4895: result: /bin/grep -E configure:4902: checking if OS is AIX (to define _ALL_SOURCE) configure:4922: result: no configure:4932: checking if _THREAD_SAFE is already defined configure:4953: gcc -c conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' configure:4953: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _THREAD_SAFE | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:4961: result: no configure:4969: checking if _THREAD_SAFE is actually needed configure:4988: result: no configure:4993: checking if _THREAD_SAFE is onwards defined configure:5010: result: no configure:5017: checking if _REENTRANT is already defined configure:5038: gcc -c conftest.c >&5 conftest.c: In function 'main': conftest.c:21:7: error: unknown type name 'force' conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' configure:5038: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* end confdefs.h. */ | | | | int main (void) | { | | #ifdef _REENTRANT | int dummy=1; | #else | force compilation error | #endif | | ; | return 0; | } | configure:5046: result: no configure:5054: checking if _REENTRANT is actually needed configure:5085: gcc -c conftest.c >&5 configure:5085: $? = 0 configure:5116: gcc -c conftest.c >&5 configure:5116: $? = 0 configure:5187: gcc -o conftest conftest.c >&5 configure:5187: $? = 0 configure:5266: gcc -o conftest conftest.c >&5 configure:5266: $? = 0 configure:5345: gcc -o conftest conftest.c >&5 configure:5345: $? = 0 configure:5424: gcc -o conftest conftest.c >&5 configure:5424: $? = 0 configure:5503: gcc -o conftest conftest.c >&5 /tmp/ccquqCPH.o: In function `main': conftest.c:(.text+0x7): undefined reference to `inet_ntoa_r' collect2: error: ld returned 1 exit status configure:5503: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* end confdefs.h. */ | | | #define inet_ntoa_r innocuous_inet_ntoa_r | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_ntoa_r | #ifdef __cplusplus | extern "C" | #endif | char inet_ntoa_r (); | #if defined __stub_inet_ntoa_r || defined __stub___inet_ntoa_r | choke me | #endif | | int main (void) | { | return inet_ntoa_r (); | ; | return 0; | } | configure:5586: gcc -o conftest conftest.c >&5 configure:5586: $? = 0 configure:5665: gcc -o conftest conftest.c >&5 configure:5665: $? = 0 configure:5744: gcc -o conftest conftest.c >&5 configure:5744: $? = 0 configure:5823: gcc -o conftest conftest.c >&5 configure:5823: $? = 0 configure:5879: result: no configure:5884: checking if _REENTRANT is onwards defined configure:5901: result: no configure:5914: checking for special C compiler options needed for large files configure:5958: result: no configure:5964: checking for _FILE_OFFSET_BITS value needed for large files configure:5988: gcc -c conftest.c >&5 conftest.c:18:3: warning: left shift count >= width of type [enabled by default] conftest.c:18:3: warning: left shift count >= width of type [enabled by default] conftest.c:19:10: warning: left shift count >= width of type [enabled by default] conftest.c:19:10: warning: left shift count >= width of type [enabled by default] conftest.c:18:7: error: variably modified 'off_t_is_large' at file scope configure:5988: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | /* 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:6011: gcc -c conftest.c >&5 configure:6011: $? = 0 configure:6019: result: 64 configure:6413: checking if arch-OS host is AMD64-Linux/FreeBSD (to build static libraries with PIC) configure:6422: result: no configure:6427: checking if compiler is icc (to build with PIC) configure:6436: result: no configure:6487: checking how to print strings configure:6514: result: printf configure:6535: checking for a sed that does not truncate output configure:6599: result: /bin/sed configure:6617: checking for fgrep configure:6679: result: /bin/grep -F configure:6714: checking for ld used by gcc configure:6781: result: /usr/i686-pc-linux-gnu/bin/ld configure:6788: checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld configure:6803: result: yes configure:6815: checking for BSD- or MS-compatible name lister (nm) configure:6864: result: /usr/bin/nm -B configure:6994: checking the name lister (/usr/bin/nm -B) interface configure:7001: gcc -c conftest.c >&5 configure:7004: /usr/bin/nm -B "conftest.o" configure:7007: output 00000000 B some_variable configure:7014: result: BSD nm configure:7017: checking whether ln -s works configure:7021: result: yes configure:7029: checking the maximum length of command line arguments configure:7159: result: 1572864 configure:7176: checking whether the shell understands some XSI constructs configure:7186: result: yes configure:7190: checking whether the shell understands "+=" configure:7196: result: yes configure:7231: checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format configure:7271: result: func_convert_file_noop configure:7278: checking how to convert i686-pc-linux-gnu file names to toolchain format configure:7298: result: func_convert_file_noop configure:7305: checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files configure:7312: result: -r configure:7386: checking for objdump configure:7413: result: objdump configure:7442: checking how to recognize dependent libraries configure:7644: result: pass_all configure:7729: checking for dlltool configure:7756: result: dlltool configure:7786: checking how to associate runtime and link libraries configure:7813: result: printf %s\n configure:7937: checking for archiver @FILE support configure:7953: gcc -c conftest.c >&5 configure:7953: $? = 0 configure:7956: /usr/bin/ar cru libconftest.a @conftest.lst >&5 configure:7959: $? = 0 configure:7964: /usr/bin/ar cru libconftest.a @conftest.lst >&5 /usr/bin/ar: conftest.o: No such file or directory configure:7967: $? = 1 configure:7979: result: @ configure:8037: checking for strip configure:8053: found /usr/bin/strip configure:8064: result: strip configure:8136: checking for ranlib configure:8152: found /usr/bin/ranlib configure:8163: result: ranlib configure:8265: checking command to parse /usr/bin/nm -B output from gcc object configure:8385: gcc -c conftest.c >&5 configure:8388: $? = 0 configure:8392: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:8395: $? = 0 configure:8461: gcc -o conftest conftest.c conftstm.o >&5 configure:8464: $? = 0 configure:8502: result: ok configure:8539: checking for sysroot configure:8569: result: no configure:8824: checking for mt configure:8854: result: no configure:8874: checking if : is a manifest tool configure:8880: : '-?' configure:8888: result: no configure:9524: checking for ANSI C header files configure:9543: gcc -c conftest.c >&5 configure:9543: $? = 0 configure:9616: gcc -o conftest conftest.c >&5 configure:9616: $? = 0 configure:9616: ./conftest configure:9616: $? = 0 configure:9627: result: yes configure:9640: checking for sys/types.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for sys/stat.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for stdlib.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for string.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for memory.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for strings.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for inttypes.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for stdint.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9640: checking for unistd.h configure:9640: gcc -c conftest.c >&5 configure:9640: $? = 0 configure:9640: result: yes configure:9654: checking for dlfcn.h configure:9654: gcc -c conftest.c >&5 configure:9654: $? = 0 configure:9654: result: yes configure:9858: checking for objdir configure:9873: result: .libs configure:10144: checking if gcc supports -fno-rtti -fno-exceptions configure:10162: gcc -c -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:10166: $? = 0 configure:10179: result: no configure:10506: checking for gcc option to produce PIC configure:10513: result: -fPIC -DPIC configure:10521: checking if gcc PIC flag -fPIC -DPIC works configure:10539: gcc -c -fPIC -DPIC -DPIC conftest.c >&5 configure:10543: $? = 0 configure:10556: result: yes configure:10585: checking if gcc static flag -static works configure:10613: result: yes configure:10628: checking if gcc supports -c -o file.o configure:10649: gcc -c -o out/conftest2.o conftest.c >&5 configure:10653: $? = 0 configure:10675: result: yes configure:10683: checking if gcc supports -c -o file.o configure:10730: result: yes configure:10763: checking whether the gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries configure:11918: result: yes configure:12158: checking dynamic linker characteristics configure:12668: gcc -o conftest -Wl,-rpath -Wl,/foo conftest.c >&5 configure:12668: $? = 0 configure:12902: result: GNU/Linux ld.so configure:13009: checking how to hardcode library paths into programs configure:13034: result: immediate configure:13559: checking whether stripping libraries is possible configure:13564: result: yes configure:13599: checking if libtool supports shared libraries configure:13601: result: yes configure:13604: checking whether to build shared libraries configure:13625: result: no configure:13628: checking whether to build static libraries configure:13632: result: yes configure:13670: checking if we need CARES_BUILDING_LIBRARY configure:13694: result: no configure:13713: checking if compiler is DEC/Compaq/HP C configure:13734: gcc -E conftest.c configure:13734: $? = 0 configure:13774: gcc -E conftest.c configure:13774: $? = 0 configure:13807: result: no configure:13812: checking if compiler is HP-UX C configure:13833: gcc -E conftest.c configure:13833: $? = 0 configure:13865: result: no configure:13870: checking if compiler is IBM C configure:13891: gcc -E conftest.c configure:13891: $? = 0 configure:13930: result: no configure:13935: checking if compiler is Intel C configure:13956: gcc -E conftest.c configure:13956: $? = 0 configure:14046: result: no configure:14051: checking if compiler is clang configure:14072: gcc -E conftest.c configure:14072: $? = 0 configure:14115: result: no configure:14120: checking if compiler is GNU C configure:14141: gcc -E conftest.c configure:14141: $? = 0 configure:14164: result: yes configure:14190: checking if compiler is LCC configure:14211: gcc -E conftest.c configure:14211: $? = 0 configure:14243: result: no configure:14248: checking if compiler is SGI MIPSpro C configure:14269: gcc -E conftest.c configure:14269: $? = 0 configure:14309: gcc -E conftest.c configure:14309: $? = 0 configure:14349: gcc -E conftest.c configure:14349: $? = 0 configure:14383: result: no configure:14388: checking if compiler is SGI MIPS C configure:14409: gcc -E conftest.c configure:14409: $? = 0 configure:14449: gcc -E conftest.c configure:14449: $? = 0 configure:14483: result: no configure:14488: checking if compiler is SunPro C configure:14509: gcc -E conftest.c configure:14509: $? = 0 configure:14541: result: no configure:14546: checking if compiler is Tiny C configure:14567: gcc -E conftest.c configure:14567: $? = 0 configure:14599: result: no configure:14604: checking if compiler is Watcom C configure:14625: gcc -E conftest.c configure:14625: $? = 0 configure:14707: result: no configure:15058: checking if compiler accepts debug disabling options configure:15085: gcc -c -g0 conftest.c >&5 configure:15085: $? = 0 configure:15115: gcc -o conftest -g0 conftest.c >&5 configure:15115: $? = 0 configure:15157: gcc -o conftest -g0 conftest.c >&5 configure:15157: $? = 0 configure:15157: ./conftest configure:15157: $? = 0 configure:15176: result: yes configure:15178: compiler options added: -g0 configure:15210: checking if compiler optimizer assumed setting might be used configure:15248: result: yes configure:15294: checking if compiler accepts optimizer enabling options configure:15325: gcc -c -g0 -O2 conftest.c >&5 configure:15325: $? = 0 configure:15355: gcc -o conftest -g0 -O2 conftest.c >&5 configure:15355: $? = 0 configure:15397: gcc -o conftest -g0 -O2 conftest.c >&5 configure:15397: $? = 0 configure:15397: ./conftest configure:15397: $? = 0 configure:15416: result: yes configure:15418: compiler options added: -O2 configure:15656: checking if compiler accepts strict warning options configure:15680: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:15680: $? = 0 configure:15710: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:15710: $? = 0 configure:15752: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:15752: $? = 0 configure:15752: ./conftest configure:15752: $? = 0 configure:15771: result: yes configure:15773: compiler options added: -Wno-system-headers configure:15803: checking if compiler halts on compilation errors configure:15820: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:31:7: error: unknown type name 'force' conftest.c:31:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' configure:15820: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | | int main (void) | { | | force compilation error | | ; | return 0; | } | configure:15828: result: yes configure:15835: checking if compiler halts on negative sized arrays configure:15853: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:27:20: error: size of array 'bad_t' is negative configure:15853: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ]; | | int main (void) | { | | bad_t dummy; | | ; | return 0; | } | configure:15861: result: yes configure:15868: checking if compiler supports hiding library internal symbols configure:15962: gcc -c -g0 -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5 conftest.c: In function 'main': conftest.c:40:9: warning: passing argument 1 of 'dummy' from incompatible pointer type [enabled by default] conftest.c:28:15: note: expected 'char *' but argument is of type 'char (*)[16]' configure:15962: $? = 0 configure:15979: result: yes configure:15990: checking if shared libraries need -no-undefined configure:16003: result: no configure:16117: checking for windows.h configure:16147: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:31:21: fatal error: windows.h: No such file or directory compilation terminated. configure:16147: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | | | #undef inline | #ifndef WIN32_LEAN_AND_MEAN | #define WIN32_LEAN_AND_MEAN | #endif | #include | | int main (void) | { | | #if defined(__CYGWIN__) || defined(__CEGCC__) | HAVE_WINDOWS_H shall not be defined. | #else | int dummy=2*WINVER; | #endif | | ; | return 0; | } | configure:16159: result: no configure:16177: checking whether build target is a native Windows one configure:16219: result: no configure:16412: checking if X/Open network library is required configure:16432: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:34:3: error: unknown type name 'force' conftest.c:34:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error' conftest.c:36:1: error: expected declaration or statement at end of input configure:16432: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* 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:16439: result: no configure:16443: checking for gethostbyname configure:16443: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:16443: $? = 0 configure:16443: result: yes configure:16763: checking for strcasecmp configure:16763: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:36:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] configure:16763: $? = 0 configure:16763: result: yes configure:16871: checking for windows.h configure:16913: result: no configure:16931: checking for winsock.h configure:16974: result: no configure:16987: checking for winsock2.h configure:17030: result: no configure:17044: checking for connect in libraries configure:17071: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17071: $? = 0 configure:17089: result: yes configure:17100: checking whether time.h and sys/time.h may both be included configure:17119: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17119: $? = 0 configure:17126: result: yes configure:17138: checking for sys/types.h configure:17138: result: yes configure:17138: checking sys/time.h usability configure:17138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17138: $? = 0 configure:17138: result: yes configure:17138: checking sys/time.h presence configure:17138: gcc -E conftest.c configure:17138: $? = 0 configure:17138: result: yes configure:17138: checking for sys/time.h configure:17138: result: yes configure:17138: checking time.h usability configure:17138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17138: $? = 0 configure:17138: result: yes configure:17138: checking time.h presence configure:17138: gcc -E conftest.c configure:17138: $? = 0 configure:17138: result: yes configure:17138: checking for time.h configure:17138: result: yes configure:17148: checking for monotonic clock_gettime configure:17179: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17179: $? = 0 configure:17181: result: yes configure:17198: checking for clock_gettime in libraries configure:17240: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17240: $? = 0 configure:17261: result: no additional lib required configure:17279: checking if monotonic clock_gettime works configure:17322: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17322: $? = 0 configure:17322: ./conftest configure:17322: $? = 0 configure:17324: result: yes configure:17357: checking whether to use libgcc configure:17372: result: no configure:17382: checking for ANSI C header files configure:17485: result: yes configure:17495: checking for malloc.h configure:17520: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17520: $? = 0 configure:17532: result: yes configure:17560: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17560: $? = 0 configure:17583: checking for memory.h configure:17620: result: yes configure:17648: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17648: $? = 0 configure:17694: checking for sys/types.h configure:17694: result: yes configure:17694: checking for sys/time.h configure:17694: result: yes configure:17694: checking for sys/select.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for sys/socket.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for sys/ioctl.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for sys/param.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for sys/uio.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for assert.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for netdb.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for netinet/in.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for netinet/tcp.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for net/if.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for errno.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for socket.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:66:20: fatal error: socket.h: No such file or directory compilation terminated. configure:17694: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | /* end confdefs.h. */ | | #ifdef HAVE_SYS_TYPES_H | #include | #endif | #ifdef HAVE_SYS_TIME_H | #include | #endif | #ifdef HAVE_ARPA_NAMESER_H | #include | #endif | | #ifdef HAVE_SYS_SOCKET_H | #include | #endif | #ifdef HAVE_NETINET_IN_H | #include | #endif | | | | #include configure:17694: result: no configure:17694: checking for strings.h configure:17694: result: yes configure:17694: checking for stdbool.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for time.h configure:17694: result: yes configure:17694: checking for limits.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for arpa/nameser.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for arpa/nameser_compat.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17694: checking for arpa/inet.h configure:17694: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17694: $? = 0 configure:17694: result: yes configure:17724: checking for an ANSI C-conforming const configure:17788: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17788: $? = 0 configure:17795: result: yes configure:17803: checking for size_t configure:17803: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17803: $? = 0 configure:17803: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:88:21: error: expected expression before ')' token configure:17803: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 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:17803: result: yes configure:17814: checking whether time.h and sys/time.h may both be included configure:17840: result: yes configure:17852: checking for sys/types.h configure:17852: result: yes configure:17852: checking for sys/time.h configure:17852: result: yes configure:17852: checking for time.h configure:17852: result: yes configure:17852: checking for sys/socket.h configure:17852: result: yes configure:17862: checking for struct timeval configure:17915: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17915: $? = 0 configure:17927: result: yes configure:17944: checking size of size_t configure:17949: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17949: $? = 0 configure:17949: ./conftest configure:17949: $? = 0 configure:17963: result: 4 configure:17977: checking size of int configure:17982: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:17982: $? = 0 configure:17982: ./conftest configure:17982: $? = 0 configure:17996: result: 4 configure:18010: checking size of long configure:18015: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18015: $? = 0 configure:18015: ./conftest configure:18015: $? = 0 configure:18029: result: 4 configure:18054: checking size of time_t configure:18059: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18059: $? = 0 configure:18059: ./conftest configure:18059: $? = 0 configure:18073: result: 4 configure:18084: checking for long long configure:18084: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18084: $? = 0 configure:18084: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:99:24: error: expected expression before ')' token configure:18084: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | /* 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:18084: result: yes configure:18095: checking if numberLL works configure:18101: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18101: $? = 0 configure:18105: result: yes configure:18117: checking for ssize_t configure:18117: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18117: $? = 0 configure:18117: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:101:22: error: expected expression before ')' token configure:18117: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #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:18117: result: yes configure:18128: checking for bool configure:18128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18128: $? = 0 configure:18128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:77:19: error: expected expression before ')' token configure:18128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #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:18128: result: yes configure:18163: checking for windows.h configure:18205: result: no configure:18223: checking for winsock2.h configure:18266: result: no configure:18279: checking for ws2tcpip.h configure:18323: result: no configure:18349: checking for sys/types.h configure:18349: result: yes configure:18349: checking for sys/socket.h configure:18349: result: yes configure:18373: checking for ares_socklen_t data type configure:18401: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18401: $? = 0 configure:18438: result: socklen_t configure:18445: checking size of ares_socklen_t configure:18491: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:72:13: error: unknown type name 'socklen_t' configure:18491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define 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 ares_socklen_t; | typedef char dummy_arr[sizeof(ares_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | ares_socklen_t dummy; | | ; | return 0; | } | configure:18491: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:72:13: error: unknown type name 'socklen_t' configure:18491: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define 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 ares_socklen_t; | typedef char dummy_arr[sizeof(ares_socklen_t) == 4 ? 1 : -1]; | | int main (void) | { | | ares_socklen_t dummy; | | ; | return 0; | } | configure:18491: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18491: $? = 0 configure:18501: result: 4 configure:18548: checking for in_addr_t configure:18548: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18548: $? = 0 configure:18548: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:105:24: error: expected expression before ')' token configure:18548: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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:18548: result: yes configure:18664: checking for struct sockaddr_storage configure:18664: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18664: $? = 0 configure:18664: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:101:38: error: expected expression before ')' token configure:18664: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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:18664: result: yes configure:18701: checking signal.h usability configure:18701: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18701: $? = 0 configure:18701: result: yes configure:18701: checking signal.h presence configure:18701: gcc -E conftest.c configure:18701: $? = 0 configure:18701: result: yes configure:18701: checking for signal.h configure:18701: result: yes configure:18711: checking for sig_atomic_t configure:18711: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18711: $? = 0 configure:18711: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:83:27: error: expected expression before ')' token configure:18711: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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:18711: result: yes configure:18728: checking if sig_atomic_t is already defined as volatile configure:18748: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18748: $? = 0 configure:18750: result: no configure:18773: checking return type of signal handlers configure:18790: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:81:1: error: void value not ignored as it ought to be configure:18790: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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:18797: result: void configure:18810: checking for sys/types.h configure:18810: result: yes configure:18810: checking for sys/socket.h configure:18810: result: yes configure:18821: checking for recv configure:18859: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18859: $? = 0 configure:18861: result: yes configure:18876: checking types of args and return type for recv configure:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:105:23: error: conflicting types for 'recv' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:100: /usr/include/bits/socket2.h:34:1: note: previous definition of 'recv' was here configure:18933: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | | | #undef inline | #ifdef HAVE_WINDOWS_H | #ifndef WIN32_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:18933: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:18933: $? = 0 configure:18947: result: int,void *,size_t,int,int configure:18998: checking for sys/types.h configure:18998: result: yes configure:18998: checking for sys/socket.h configure:18998: result: yes configure:19009: checking for recvfrom configure:19047: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19047: $? = 0 configure:19049: result: yes configure:19064: checking types of args and return type for recvfrom configure:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:113:27: error: conflicting types for 'recvfrom' In file included from /usr/include/sys/socket.h:280:0, from conftest.c:108: /usr/include/bits/socket2.h:64:1: note: previous definition of 'recvfrom' was here configure:19128: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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:19128: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19128: $? = 0 configure:19144: result: int,void *,size_t,int,struct sockaddr *,socklen_t *,int configure:19266: checking for sys/types.h configure:19266: result: yes configure:19266: checking for sys/socket.h configure:19266: result: yes configure:19277: checking for send configure:19315: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19315: $? = 0 configure:19317: result: yes configure:19332: checking types of args and return type for send configure:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:125:23: error: conflicting types for 'send' In file included from conftest.c:120:0: /usr/include/sys/socket.h:149:16: note: previous declaration of 'send' was here configure:19388: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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:19388: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19388: $? = 0 configure:19402: result: int,const void *,size_t,int,int configure:19490: checking for sys/types.h configure:19490: result: yes configure:19490: checking for sys/socket.h configure:19490: result: yes configure:19500: checking for MSG_NOSIGNAL configure:19542: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19542: $? = 0 configure:19554: result: yes configure:19580: checking for sys/types.h configure:19580: result: yes configure:19580: checking for socket.h configure:19580: result: no configure:19599: checking if closesocket can be linked configure:19619: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cc9nvTAb.o: In function `main': conftest.c:(.text.startup+0x11): undefined reference to `closesocket' collect2: error: ld returned 1 exit status configure:19619: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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:19627: result: no configure:19714: checking if closesocket might be used configure:19729: result: no configure:19741: checking if CloseSocket can be linked configure:19760: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cc3MQ58x.o: In function `main': conftest.c:(.text.startup+0x11): undefined reference to `CloseSocket' collect2: error: ld returned 1 exit status configure:19760: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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:19768: result: no configure:19853: checking if CloseSocket might be used configure:19868: result: no configure:19880: checking if connect can be linked configure:19901: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19901: $? = 0 configure:19903: result: yes configure:19918: checking if connect is prototyped configure:19931: result: yes configure:19947: checking if connect is compilable configure:19968: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:19968: $? = 0 configure:19970: result: yes configure:19985: checking if connect usage allowed configure:19988: result: yes configure:19998: checking if connect might be used configure:20004: result: yes configure:20034: checking for sys/types.h configure:20034: result: yes configure:20034: checking for unistd.h configure:20034: result: yes configure:20034: checking for fcntl.h configure:20034: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20034: $? = 0 configure:20034: result: yes configure:20053: checking if fcntl can be linked configure:20082: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20082: $? = 0 configure:20084: result: yes configure:20099: checking if fcntl is prototyped configure:20110: result: yes configure:20126: checking if fcntl is compilable configure:20145: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20145: $? = 0 configure:20147: result: yes configure:20162: checking if fcntl usage allowed configure:20165: result: yes configure:20175: checking if fcntl might be used configure:20181: result: yes configure:20201: checking if fcntl O_NONBLOCK is compilable configure:20221: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20221: $? = 0 configure:20223: result: yes configure:20238: checking if fcntl O_NONBLOCK usage allowed configure:20241: result: yes configure:20251: checking if fcntl O_NONBLOCK might be used configure:20255: result: yes configure:20288: checking for sys/types.h configure:20288: result: yes configure:20288: checking for netdb.h configure:20288: result: yes configure:20307: checking if freeaddrinfo can be linked configure:20327: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20327: $? = 0 configure:20329: result: yes configure:20344: checking if freeaddrinfo is prototyped configure:20357: result: yes configure:20373: checking if freeaddrinfo is compilable configure:20393: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20393: $? = 0 configure:20395: result: yes configure:20410: checking if freeaddrinfo usage allowed configure:20413: result: yes configure:20423: checking if freeaddrinfo might be used configure:20429: result: yes configure:20456: checking for sys/types.h configure:20456: result: yes configure:20456: checking for stdlib.h configure:20456: result: yes configure:20484: checking for sys/types.h configure:20484: result: yes configure:20484: checking for string.h configure:20484: result: yes configure:20484: checking for strings.h configure:20484: result: yes configure:20505: checking if getaddrinfo can be linked configure:20526: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20526: $? = 0 configure:20528: result: yes configure:20543: checking if getaddrinfo is prototyped configure:20556: result: yes configure:20572: checking if getaddrinfo is compilable configure:20593: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20593: $? = 0 configure:20595: result: yes configure:20611: checking if getaddrinfo seems to work configure:20651: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20651: $? = 0 configure:20651: ./conftest configure:20651: $? = 0 configure:20653: result: yes configure:20672: checking if getaddrinfo usage allowed configure:20675: result: yes configure:20685: checking if getaddrinfo might be used configure:20692: result: yes configure:20708: checking if getaddrinfo is threadsafe configure:20770: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20770: $? = 0 configure:20795: result: yes configure:20816: checking if gethostbyaddr can be linked configure:20836: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20836: $? = 0 configure:20838: result: yes configure:20853: checking if gethostbyaddr is prototyped configure:20865: result: yes configure:20881: checking if gethostbyaddr is compilable configure:20901: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20901: $? = 0 configure:20903: result: yes configure:20918: checking if gethostbyaddr usage allowed configure:20921: result: yes configure:20931: checking if gethostbyaddr might be used configure:20937: result: yes configure:20958: checking if gethostbyname can be linked configure:20978: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:20978: $? = 0 configure:20980: result: yes configure:20995: checking if gethostbyname is prototyped configure:21007: result: yes configure:21023: checking if gethostbyname is compilable configure:21043: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21043: $? = 0 configure:21045: result: yes configure:21060: checking if gethostbyname usage allowed configure:21063: result: yes configure:21073: checking if gethostbyname might be used configure:21079: result: yes configure:21106: checking for sys/types.h configure:21106: result: yes configure:21106: checking for unistd.h configure:21106: result: yes configure:21125: checking if gethostname can be linked configure:21145: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21145: $? = 0 configure:21147: result: yes configure:21162: checking if gethostname is prototyped configure:21174: result: yes configure:21190: checking if gethostname is compilable configure:21210: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21210: $? = 0 configure:21212: result: yes configure:21227: checking if gethostname usage allowed configure:21230: result: yes configure:21240: checking if gethostname might be used configure:21246: result: yes configure:21268: checking if getservbyport_r can be linked configure:21297: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21297: $? = 0 configure:21299: result: yes configure:21314: checking if getservbyport_r is prototyped configure:21325: result: yes configure:21342: checking if getservbyport_r takes 4 args. configure:21361: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:145:11: error: too few arguments to function 'getservbyport_r' In file included from conftest.c:138:0: /usr/include/netdb.h:318:12: note: declared here configure:21361: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 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:21370: result: no configure:21378: checking if getservbyport_r takes 5 args. configure:21397: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:145:11: error: too few arguments to function 'getservbyport_r' In file included from conftest.c:138:0: /usr/include/netdb.h:318:12: note: declared here configure:21397: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 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, 0)) | return 1; | | ; | return 0; | } | configure:21406: result: no configure:21414: checking if getservbyport_r takes 6 args. configure:21433: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21433: $? = 0 configure:21435: result: yes configure:21449: checking if getservbyport_r is compilable configure:21452: result: yes configure:21461: checking if getservbyport_r usage allowed configure:21464: result: yes configure:21474: checking if getservbyport_r might be used configure:21480: result: yes configure:21527: checking for sys/types.h configure:21527: result: yes configure:21527: checking for sys/socket.h configure:21527: result: yes configure:21527: checking for netinet/in.h configure:21527: result: yes configure:21527: checking for arpa/inet.h configure:21527: result: yes configure:21547: checking if inet_ntop can be linked configure:21576: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21576: $? = 0 configure:21578: result: yes configure:21593: checking if inet_ntop is prototyped configure:21604: result: yes configure:21620: checking if inet_ntop is compilable configure:21639: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21639: $? = 0 configure:21641: result: yes configure:21657: checking if inet_ntop seems to work configure:21731: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:191:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] conftest.c:215:17: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] configure:21731: $? = 0 configure:21731: ./conftest configure:21731: $? = 0 configure:21733: result: yes configure:21752: checking if inet_ntop usage allowed configure:21755: result: yes configure:21765: checking if inet_ntop might be used configure:21772: result: yes configure:21794: checking if inet_pton can be linked configure:21823: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21823: $? = 0 configure:21825: result: yes configure:21840: checking if inet_pton is prototyped configure:21851: result: yes configure:21867: checking if inet_pton is compilable configure:21886: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21886: $? = 0 configure:21888: result: yes configure:21904: checking if inet_pton seems to work configure:21971: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:21971: $? = 0 configure:21971: ./conftest configure:21971: $? = 0 configure:21973: result: yes configure:21992: checking if inet_pton usage allowed configure:21995: result: yes configure:22005: checking if inet_pton might be used configure:22012: result: yes configure:22048: checking for sys/types.h configure:22048: result: yes configure:22048: checking for unistd.h configure:22048: result: yes configure:22048: checking for sys/socket.h configure:22048: result: yes configure:22048: checking for sys/ioctl.h configure:22048: result: yes configure:22048: checking for stropts.h configure:22048: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22048: $? = 0 configure:22048: result: yes configure:22067: checking if ioctl can be linked configure:22096: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22096: $? = 0 configure:22098: result: yes configure:22113: checking if ioctl is prototyped configure:22124: result: yes configure:22140: checking if ioctl is compilable configure:22159: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22159: $? = 0 configure:22161: result: yes configure:22176: checking if ioctl usage allowed configure:22179: result: yes configure:22189: checking if ioctl might be used configure:22195: result: yes configure:22209: checking if ioctl FIONBIO is compilable configure:22229: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22229: $? = 0 configure:22231: result: yes configure:22246: checking if ioctl FIONBIO usage allowed configure:22249: result: yes configure:22259: checking if ioctl FIONBIO might be used configure:22263: result: yes configure:22283: checking if ioctl SIOCGIFADDR is compilable configure:22304: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22304: $? = 0 configure:22306: result: yes configure:22321: checking if ioctl SIOCGIFADDR usage allowed configure:22324: result: yes configure:22334: checking if ioctl SIOCGIFADDR might be used configure:22338: result: yes configure:22365: checking if ioctlsocket can be linked configure:22384: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cchdtq9F.o: In function `main': conftest.c:(.text.startup+0x21): undefined reference to `ioctlsocket' collect2: error: ld returned 1 exit status configure:22384: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | /* includes start */ | #ifdef HAVE_WINDOWS_H | # ifndef WIN32_LEAN_AND_MEAN | # define WIN32_LEAN_AND_MEAN | # endif | # include | # ifdef HAVE_WINSOCK2_H | # include | # else | # ifdef HAVE_WINSOCK_H | # include | # endif | # endif | #endif | /* includes end */ | | int main (void) | { | | if(0 != ioctlsocket(0, 0, 0)) | return 1; | | ; | return 0; | } | configure:22392: result: no configure:22477: checking if ioctlsocket might be used configure:22566: result: no configure:22578: checking if IoctlSocket can be linked configure:22607: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/ccyTeD72.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `IoctlSocket' collect2: error: ld returned 1 exit status configure:22607: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | /* end confdefs.h. */ | | | #define IoctlSocket innocuous_IoctlSocket | #ifdef __STDC__ | # include | #else | # include | #endif | #undef IoctlSocket | #ifdef __cplusplus | extern "C" | #endif | char IoctlSocket (); | #if defined __stub_IoctlSocket || defined __stub___IoctlSocket | choke me | #endif | | int main (void) | { | return IoctlSocket (); | ; | return 0; | } | configure:22615: result: no configure:22700: checking if IoctlSocket might be used configure:22789: result: no configure:22801: checking if setsockopt can be linked configure:22821: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22821: $? = 0 configure:22823: result: yes configure:22838: checking if setsockopt is prototyped configure:22850: result: yes configure:22866: checking if setsockopt is compilable configure:22886: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:22886: $? = 0 configure:22888: result: yes configure:22903: checking if setsockopt usage allowed configure:22906: result: yes configure:22916: checking if setsockopt might be used configure:22922: result: yes configure:22936: checking if setsockopt SO_NONBLOCK is compilable configure:22956: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:178:43: error: 'SO_NONBLOCK' undeclared (first use in this function) conftest.c:178:43: note: each undeclared identifier is reported only once for each function it appears in configure:22956: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_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:22964: result: no configure:22986: checking if setsockopt SO_NONBLOCK might be used configure:22999: result: no configure:23017: checking if socket can be linked configure:23038: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:23038: $? = 0 configure:23040: result: yes configure:23055: checking if socket is prototyped configure:23068: result: yes configure:23084: checking if socket is compilable configure:23105: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:23105: $? = 0 configure:23107: result: yes configure:23122: checking if socket usage allowed configure:23125: result: yes configure:23135: checking if socket might be used configure:23141: result: yes configure:23162: checking if strcasecmp can be linked configure:23191: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:162:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default] configure:23191: $? = 0 configure:23193: result: yes configure:23208: checking if strcasecmp is prototyped configure:23219: result: yes configure:23235: checking if strcasecmp is compilable configure:23254: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:23254: $? = 0 configure:23256: result: yes configure:23271: checking if strcasecmp usage allowed configure:23274: result: yes configure:23284: checking if strcasecmp might be used configure:23290: result: yes configure:23311: checking if strcmpi can be linked configure:23340: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/ccPoyHnW.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strcmpi' collect2: error: ld returned 1 exit status configure:23340: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 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:23348: result: no configure:23433: checking if strcmpi might be used configure:23448: result: no configure:23460: checking if strdup can be linked configure:23489: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:163:6: warning: conflicting types for built-in function 'strdup' [enabled by default] configure:23489: $? = 0 configure:23491: result: yes configure:23506: checking if strdup is prototyped configure:23517: result: yes configure:23533: checking if strdup is compilable configure:23552: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:23552: $? = 0 configure:23554: result: yes configure:23569: checking if strdup usage allowed configure:23572: result: yes configure:23582: checking if strdup might be used configure:23588: result: yes configure:23609: checking if stricmp can be linked configure:23638: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cchnQCjL.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `stricmp' collect2: error: ld returned 1 exit status configure:23638: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | /* 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:23646: result: no configure:23731: checking if stricmp might be used configure:23746: result: no configure:23758: checking if strncasecmp can be linked configure:23787: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:164:6: warning: conflicting types for built-in function 'strncasecmp' [enabled by default] configure:23787: $? = 0 configure:23789: result: yes configure:23804: checking if strncasecmp is prototyped configure:23815: result: yes configure:23831: checking if strncasecmp is compilable configure:23850: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:23850: $? = 0 configure:23852: result: yes configure:23867: checking if strncasecmp usage allowed configure:23870: result: yes configure:23880: checking if strncasecmp might be used configure:23886: result: yes configure:23907: checking if strncmpi can be linked configure:23936: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cc3WKWUH.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strncmpi' collect2: error: ld returned 1 exit status configure:23936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 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:23944: result: no configure:24029: checking if strncmpi might be used configure:24044: result: no configure:24056: checking if strnicmp can be linked configure:24085: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cc3wydnT.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `strnicmp' collect2: error: ld returned 1 exit status configure:24085: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 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:24093: result: no configure:24178: checking if strnicmp might be used configure:24193: result: no configure:24211: checking for sys/types.h configure:24211: result: yes configure:24211: checking for sys/uio.h configure:24211: result: yes configure:24230: checking if writev can be linked configure:24259: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24259: $? = 0 configure:24261: result: yes configure:24276: checking if writev is prototyped configure:24287: result: yes configure:24303: checking if writev is compilable configure:24322: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24322: $? = 0 configure:24324: result: yes configure:24339: checking if writev usage allowed configure:24342: result: yes configure:24352: checking if writev might be used configure:24358: result: yes configure:24375: checking for PF_INET6 configure:24417: result: yes configure:24433: checking for AF_INET6 configure:24475: result: yes configure:24492: checking for struct in6_addr configure:24527: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24527: $? = 0 configure:24534: result: yes configure:24550: checking for struct sockaddr_in6 configure:24585: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24585: $? = 0 configure:24592: result: yes configure:24607: checking for struct sockaddr_in6.sin6_scope_id configure:24607: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24607: $? = 0 configure:24607: result: yes configure:24640: checking for struct addrinfo.ai_flags configure:24640: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24640: $? = 0 configure:24640: result: yes configure:24686: checking for bitncmp configure:24686: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/ccAAlpbt.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `bitncmp' collect2: error: ld returned 1 exit status configure:24686: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | /* end confdefs.h. */ | | #define bitncmp innocuous_bitncmp | #ifdef __STDC__ | # include | #else | # include | #endif | #undef bitncmp | #ifdef __cplusplus | extern "C" | #endif | char bitncmp (); | #if defined __stub_bitncmp || defined __stub___bitncmp | choke me | #endif | | int main (void) | { | return bitncmp (); | ; | return 0; | } configure:24686: result: no configure:24696: checking deeper for bitncmp configure:24713: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/cc0wLICK.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `bitncmp' collect2: error: ld returned 1 exit status configure:24713: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | /* end confdefs.h. */ | | | | int main (void) | { | | bitncmp (); | | ; | return 0; | } | configure:24726: result: but still no configure:24686: checking for gettimeofday configure:24686: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24686: $? = 0 configure:24686: result: yes configure:24686: checking for if_indextoname configure:24686: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24686: $? = 0 configure:24686: result: yes configure:24740: checking for inet_net_pton configure:24740: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 /tmp/ccojnOWB.o: In function `main': conftest.c:(.text.startup+0x7): undefined reference to `inet_net_pton' collect2: error: ld returned 1 exit status configure:24740: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | /* end confdefs.h. */ | | #define inet_net_pton innocuous_inet_net_pton | #ifdef __STDC__ | # include | #else | # include | #endif | #undef inet_net_pton | #ifdef __cplusplus | extern "C" | #endif | char inet_net_pton (); | #if defined __stub_inet_net_pton || defined __stub___inet_net_pton | choke me | #endif | | int main (void) | { | return inet_net_pton (); | ; | return 0; | } configure:24740: result: no configure:24803: checking size of struct in6_addr configure:24808: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24808: $? = 0 configure:24808: ./conftest configure:24808: $? = 0 configure:24848: result: 16 configure:24863: checking size of struct in_addr configure:24868: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24868: $? = 0 configure:24868: ./conftest configure:24868: $? = 0 configure:24908: result: 4 configure:24924: checking for sys/types.h configure:24924: result: yes configure:24924: checking for sys/socket.h configure:24924: result: yes configure:24924: checking for netdb.h configure:24924: result: yes configure:24935: checking for getnameinfo configure:24964: gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5 configure:24964: $? = 0 configure:24966: result: yes configure:25074: checking types of arguments for getnameinfo configure:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:200:44: error: conflicting types for 'getnameinfo' In file included from conftest.c:196:0: /usr/include/netdb.h:677:12: note: previous declaration of 'getnameinfo' was here configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:201:52: error: unknown type name 'DWORD' conftest.c:202:52: error: unknown type name 'DWORD' conftest.c: In function 'main': conftest.c:209:21: error: unknown type name 'DWORD' conftest.c:210:21: error: unknown type name 'DWORD' configure:25138: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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:25138: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:25138: $? = 0 configure:25151: result: const struct sockaddr *,socklen_t,size_t,int configure:25233: checking whether byte ordering is bigendian configure:25248: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c:176:9: error: unknown type name 'not' conftest.c:176:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal' conftest.c:176:15: error: unknown type name 'universal' configure:25248: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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 | /* end confdefs.h. */ | #ifndef __APPLE_CC__ | not a universal capable compiler | #endif | typedef int dummy; | configure:25292: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 configure:25292: $? = 0 configure:25309: gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5 conftest.c: In function 'main': conftest.c:181:4: error: unknown type name 'not' conftest.c:181:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian' configure:25309: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "c-ares" | #define PACKAGE_TARNAME "c-ares" | #define PACKAGE_VERSION "1.7.3" | #define PACKAGE_STRING "c-ares 1.7.3" | #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" | #define PACKAGE_URL "" | #define PACKAGE "c-ares" | #define VERSION "1.7.3" | #define OS "i686-pc-linux-gnu" | #define _FILE_OFFSET_BITS 64 | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_TIME_H 1 | #define HAVE_CLOCK_GETTIME_MONOTONIC 1 | #define STDC_HEADERS 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_SELECT_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_ASSERT_H 1 | #define HAVE_NETDB_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_NETINET_TCP_H 1 | #define HAVE_NET_IF_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_STDBOOL_H 1 | #define HAVE_TIME_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_ARPA_NAMESER_H 1 | #define HAVE_ARPA_NAMESER_COMPAT_H 1 | #define HAVE_ARPA_INET_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_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_INT 4 | #define SIZEOF_LONG 4 | #define CARES_SIZEOF_LONG 4 | #define SIZEOF_TIME_T 4 | #define HAVE_LONGLONG 1 | #define HAVE_LL 1 | #define HAVE_BOOL_T 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define CARES_PULL_SYS_TYPES_H 1 | #define CARES_PULL_SYS_SOCKET_H 1 | #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t | #define CARES_SIZEOF_ARES_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_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define 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 socklen_t | #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 | #define HAVE_FREEADDRINFO 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETADDRINFO_THREADSAFE 1 | #define HAVE_GETHOSTBYADDR 1 | #define HAVE_GETHOSTBYNAME 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_GETHOSTNAME 1 | #define HAVE_GETSERVBYPORT_R 1 | #define GETSERVBYPORT_R_ARGS 6 | #define GETSERVBYPORT_R_BUFSIZE 4096 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_NETINET_IN_H 1 | #define HAVE_ARPA_INET_H 1 | #define HAVE_INET_NTOP 1 | #define HAVE_INET_PTON 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SYS_SOCKET_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_STROPTS_H 1 | #define HAVE_IOCTL 1 | #define HAVE_IOCTL_FIONBIO 1 | #define HAVE_IOCTL_SIOCGIFADDR 1 | #define HAVE_SETSOCKOPT 1 | #define HAVE_SOCKET 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRDUP 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define HAVE_PF_INET6 1 | #define HAVE_AF_INET6 1 | #define HAVE_STRUCT_IN6_ADDR 1 | #define HAVE_STRUCT_SOCKADDR_IN6 1 | #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_IF_INDEXTONAME 1 | #define SIZEOF_STRUCT_IN6_ADDR 16 | #define SIZEOF_STRUCT_IN_ADDR 4 | #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 | /* end confdefs.h. */ | #include | #include | | int main (void) | { | #if BYTE_ORDER != BIG_ENDIAN | not big endian | #endif | | ; | return 0; | } configure:25433: result: no configure:25462: checking for "/dev/urandom" configure:25476: result: yes configure:25501: checking whether to enable non-blocking communications configure:25520: result: yes configure:25527: checking how to set a socket into non-blocking mode configure:25540: result: fcntl O_NONBLOCK configure:25559: checking whether hiding of library internal symbols will actually happen configure:25575: result: yes configure:25740: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by c-ares config.status 1.7.3, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on bitcoinshell config.status:1250: creating Makefile config.status:1250: creating libcares.pc config.status:1250: creating ares_config.h config.status:1431: ares_config.h is unchanged config.status:1250: creating ares_build.h config.status:1479: executing depfiles commands config.status:1479: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_file__dev_urandom=yes ac_cv_func_bitncmp=no 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_freeaddrinfo=yes ac_cv_func_getaddrinfo=yes ac_cv_func_getaddrinfo_threadsafe=yes ac_cv_func_gethostbyaddr=yes ac_cv_func_gethostbyname=yes ac_cv_func_gethostname=yes ac_cv_func_getnameinfo=yes ac_cv_func_getservbyport_r=yes ac_cv_func_gettimeofday=yes ac_cv_func_if_indextoname=yes ac_cv_func_inet_net_pton=no ac_cv_func_inet_ntop=yes ac_cv_func_inet_pton=yes ac_cv_func_ioctl=yes ac_cv_func_ioctl_fionbio=yes ac_cv_func_ioctl_siocgifaddr=yes ac_cv_func_ioctlsocket=no ac_cv_func_ioctlsocket_camel=no ac_cv_func_recv=yes ac_cv_func_recvfrom=yes ac_cv_func_send=yes ac_cv_func_setsockopt=yes ac_cv_func_setsockopt_so_nonblock=no ac_cv_func_socket=yes ac_cv_func_strcasecmp=yes ac_cv_func_strcmpi=no ac_cv_func_strdup=yes ac_cv_func_stricmp=no ac_cv_func_strncasecmp=yes ac_cv_func_strncmpi=no ac_cv_func_strnicmp=no ac_cv_func_writev=yes ac_cv_header_arpa_inet_h=yes ac_cv_header_arpa_nameser_compat_h=yes ac_cv_header_arpa_nameser_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_inttypes_h=yes ac_cv_header_limits_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_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_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_ioctl_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_select_h=yes ac_cv_header_sys_socket_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_time=yes ac_cv_header_time_h=yes ac_cv_header_unistd_h=yes ac_cv_header_windows_h=no ac_cv_header_winsock2_h=no ac_cv_header_winsock_h=no ac_cv_header_ws2tcpip_h=no ac_cv_host=i686-pc-linux-gnu ac_cv_member_struct_addrinfo_ai_flags=yes ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes ac_cv_msg_nosignal=yes ac_cv_native_windows=no ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_ac_pt_AR=/usr/bin/ar ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_DLLTOOL=dlltool 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_cc_gcc_c_o=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_size_t=4 ac_cv_sizeof_struct_in6_addr=16 ac_cv_sizeof_struct_in_addr=4 ac_cv_sizeof_time_t=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 am_cv_CC_dependencies_compiler_type=gcc3 cares_cv_PATH_SEPARATOR=: 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 *,socklen_t *,int' curl_cv_func_send_args='int,const void *,size_t,int,int' curl_cv_gclk_LIBS= curl_cv_getnameinfo=yes curl_cv_have_def__COMPILER_VERSION=no curl_cv_have_def__SGI_COMPILER_VERSION=no curl_cv_have_def___DECC=no curl_cv_have_def___DECC_VER=no curl_cv_have_def___GNUC__=yes curl_cv_have_def___HP_cc=no curl_cv_have_def___IBMC__=no curl_cv_have_def___INTEL_COMPILER=no curl_cv_have_def___LCC__=no curl_cv_have_def___SUNPRO_C=no curl_cv_have_def___TINYC__=no curl_cv_have_def___WATCOMC__=no curl_cv_have_def___clang__=no curl_cv_have_def___sgi=no curl_cv_have_def_h_errno=yes curl_cv_need_header_malloc_h=no curl_cv_need_header_memory_h=no curl_cv_recv=yes curl_cv_recvfrom=yes curl_cv_save_LIBS= curl_cv_send=yes lt_cv_ar_at_file=@ 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/i686-pc-linux-gnu/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AR='/usr/bin/ar' AS='as' AUTOCONF='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/missing --run autoconf' AUTOHEADER='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/missing --run autoheader' AUTOMAKE='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/missing --run automake-1.11' AWK='gawk' CARES_PRIVATE_LIBS='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g0 -O2 -Wno-system-headers -fvisibility=hidden' CPP='gcc -E' CPPFLAGS='' CURLDEBUG_FALSE='' CURLDEBUG_TRUE='#' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='dlltool' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/i686-pc-linux-gnu/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' NO_UNDEFINED_FALSE='' NO_UNDEFINED_TRUE='#' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='c-ares' PACKAGE_BUGREPORT='c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares' PACKAGE_NAME='c-ares' PACKAGE_STRING='c-ares 1.7.3' PACKAGE_TARNAME='c-ares' PACKAGE_URL='' PACKAGE_VERSION='1.7.3' PATH='/home/paimo/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.7.3:/usr/i486-pc-linux-gnu/gcc-bin/4.1.2:/usr/lib/subversion/bin:/usr/games/bin' PATH_SEPARATOR=':' RANDOM_FILE='/dev/urandom' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='1.7.3' ac_ct_AR='' ac_ct_CC='gcc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/paimo/http_root/sbnc-1.3beta7/third-party/c-ares/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='${HOME}/sbnc' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "c-ares" #define PACKAGE_TARNAME "c-ares" #define PACKAGE_VERSION "1.7.3" #define PACKAGE_STRING "c-ares 1.7.3" #define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares" #define PACKAGE_URL "" #define PACKAGE "c-ares" #define VERSION "1.7.3" #define OS "i686-pc-linux-gnu" #define _FILE_OFFSET_BITS 64 #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_TIME_H 1 #define HAVE_CLOCK_GETTIME_MONOTONIC 1 #define STDC_HEADERS 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_ASSERT_H 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_NETINET_TCP_H 1 #define HAVE_NET_IF_H 1 #define HAVE_ERRNO_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STDBOOL_H 1 #define HAVE_TIME_H 1 #define HAVE_LIMITS_H 1 #define HAVE_ARPA_NAMESER_H 1 #define HAVE_ARPA_NAMESER_COMPAT_H 1 #define HAVE_ARPA_INET_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_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_INT 4 #define SIZEOF_LONG 4 #define CARES_SIZEOF_LONG 4 #define SIZEOF_TIME_T 4 #define HAVE_LONGLONG 1 #define HAVE_LL 1 #define HAVE_BOOL_T 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define CARES_PULL_SYS_TYPES_H 1 #define CARES_PULL_SYS_SOCKET_H 1 #define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t #define CARES_SIZEOF_ARES_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_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define 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 socklen_t #define RECVFROM_TYPE_ARG2_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_MSG_NOSIGNAL 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_NETDB_H 1 #define HAVE_FREEADDRINFO 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STDLIB_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_GETADDRINFO 1 #define HAVE_GETADDRINFO_THREADSAFE 1 #define HAVE_GETHOSTBYADDR 1 #define HAVE_GETHOSTBYNAME 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_GETHOSTNAME 1 #define HAVE_GETSERVBYPORT_R 1 #define GETSERVBYPORT_R_ARGS 6 #define GETSERVBYPORT_R_BUFSIZE 4096 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_NETINET_IN_H 1 #define HAVE_ARPA_INET_H 1 #define HAVE_INET_NTOP 1 #define HAVE_INET_PTON 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 #define HAVE_SYS_SOCKET_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_STROPTS_H 1 #define HAVE_IOCTL 1 #define HAVE_IOCTL_FIONBIO 1 #define HAVE_IOCTL_SIOCGIFADDR 1 #define HAVE_SETSOCKOPT 1 #define HAVE_SOCKET 1 #define HAVE_STRCASECMP 1 #define HAVE_STRDUP 1 #define HAVE_STRNCASECMP 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_WRITEV 1 #define HAVE_PF_INET6 1 #define HAVE_AF_INET6 1 #define HAVE_STRUCT_IN6_ADDR 1 #define HAVE_STRUCT_SOCKADDR_IN6 1 #define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1 #define HAVE_STRUCT_ADDRINFO 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_IF_INDEXTONAME 1 #define SIZEOF_STRUCT_IN6_ADDR 16 #define SIZEOF_STRUCT_IN_ADDR 4 #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 RANDOM_FILE "/dev/urandom" #define CARES_SYMBOL_HIDING 1 #define CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((visibility ("default"))) configure: exit 0