The build took 00h 01m 51s and was SUCCESSFUL.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
22,307 |
ansic |
6,395 |
cpp |
4,568 |
sh |
1,769 |
makefile |
48 |
perl |
18 |
awk |
35,105 |
total |
The process tree of the build process is here.
To avoid scrolling, you may jump to the last line of the
invocation of makepkg
that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
/toolchain_root/sysroot --> /sysroot/sysroot
/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
/toolchain_root/lib --> /sysroot/lib
/toolchain_root/SOURCES --> /sysroot/SOURCES
/toolchain_root/lib64 --> /sysroot/lib64
/toolchain_root/share --> /sysroot/share
/toolchain_root/bin --> /sysroot/bin
/toolchain_root/COPYING --> /sysroot/COPYING
/toolchain_root/COPYING3 --> /sysroot/COPYING3
/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
/toolchain_root/include --> /sysroot/include
/toolchain_root/libexec --> /sysroot/libexec
CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: c-ares 1.11.0-1 (Tue Apr 4 20:43:59 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... not specified (assuming yes)
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to expose internal static functions for testing... no
checking for path separator... :
checking for sed... /usr/sbin/sed
checking for grep... /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
checking for arm-linux-androideabi-ar... /sysroot/bin/arm-linux-androideabi-ar
checking for a sed that does not truncate output... (cached) /usr/sbin/sed
checking whether to build with code coverage support... no
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-androideabi-gcc accepts -g... yes
checking for arm-linux-androideabi-gcc option to accept ISO C89... none needed
checking whether arm-linux-androideabi-gcc understands -c and -o together... yes
checking how to run the C preprocessor... arm-linux-androideabi-gcc -E
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of arm-linux-androideabi-gcc... gcc3
checking for grep that handles long lines and -e... (cached) /usr/sbin/grep
checking for egrep... /usr/sbin/grep -E
checking if OS is AIX (to define _ALL_SOURCE)... no
checking if _THREAD_SAFE is already defined... no
checking if _THREAD_SAFE is actually needed... no
checking if _THREAD_SAFE is onwards defined... no
checking if _REENTRANT is already defined... no
checking if _REENTRANT is actually needed... no
checking if _REENTRANT is onwards defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/sbin/sed
checking for fgrep... /usr/sbin/grep -F
checking for ld used by arm-linux-androideabi-gcc... /sysroot/arm-linux-androideabi/bin/ld
checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /sysroot/bin/arm-linux-androideabi-nm -B
checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files... -r
checking for arm-linux-androideabi-objdump... arm-linux-androideabi-objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-androideabi-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-androideabi-ar... /sysroot/bin/arm-linux-androideabi-ar
checking for archiver @FILE support... @
checking for arm-linux-androideabi-strip... (cached) arm-linux-androideabi-strip
checking for arm-linux-androideabi-ranlib... arm-linux-androideabi-ranlib
checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/sbin/dd
checking how to truncate binary pipes... /usr/sbin/dd bs=4096 count=1
checking for arm-linux-androideabi-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions... no
checking for arm-linux-androideabi-gcc option to produce PIC... -fPIC -DPIC
checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works... yes
checking if arm-linux-androideabi-gcc static flag -static works... yes
checking if arm-linux-androideabi-gcc supports -c -o file.o... yes
checking if arm-linux-androideabi-gcc supports -c -o file.o... (cached) yes
checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether to build shared libraries with -version-info... no
checking whether to build shared libraries with -no-undefined... no
checking whether to build shared libraries with -mimpure-text... no
checking whether to build shared libraries with PIC... yes
checking whether to build static libraries with PIC... no
checking whether to build shared libraries only... no
checking whether to build static libraries only... no
checking if compiler is DEC/Compaq/HP C... no
checking if compiler is HP-UX C... no
checking if compiler is IBM C... no
checking if compiler is Intel C... no
checking if compiler is clang... no
checking if compiler is GNU C... yes
checking if compiler is LCC... no
checking if compiler is SGI MIPSpro C... no
checking if compiler is SGI MIPS C... no
checking if compiler is SunPro C... no
checking if compiler is Tiny C... no
checking if compiler is Watcom C... no
checking if compiler accepts debug disabling options... yes
configure: compiler options added: -g0
checking if compiler optimizer assumed setting might be used... yes
checking if compiler accepts optimizer enabling options... yes
configure: compiler options added: -O2
checking if compiler accepts strict warning options... yes
configure: compiler options added: -Wno-system-headers
checking if compiler halts on compilation errors... yes
checking if compiler halts on negative sized arrays... yes
checking if compiler halts on function prototype mismatch... yes
checking if compiler supports hiding library internal symbols... yes
checking for windows.h... no
checking whether build target is a native Windows one... no
checking if X/Open network library is required... no
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for windows.h... (cached) no
checking for winsock.h... (cached) no
checking for winsock2.h... (cached) no
checking for connect in libraries... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for monotonic clock_gettime... yes
checking for clock_gettime in libraries... no additional lib required
checking whether to use libgcc... no
checking for ANSI C header files... (cached) yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/uio.h... yes
checking for assert.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for net/if.h... yes
checking for errno.h... yes
checking for socket.h... no
checking for strings.h... (cached) yes
checking for stdbool.h... yes
checking for time.h... (cached) yes
checking for limits.h... yes
checking for arpa/nameser.h... yes
checking for arpa/nameser_compat.h... yes
checking for arpa/inet.h... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for struct timeval... yes
checking size of size_t... 4
checking size of long... 4
checking size of int... 4
checking size of short... 2
checking size of time_t... 4
checking for long long... yes
checking if numberLL works... yes
checking for ssize_t... yes
checking for bool... yes
checking for windows.h... (cached) no
checking for winsock2.h... (cached) no
checking for ws2tcpip.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for ares_socklen_t data type... socklen_t
checking size of ares_socklen_t... 4
checking for in_addr_t... yes
checking for struct sockaddr_storage... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sig_atomic_t... yes
checking if sig_atomic_t is already defined as volatile... no
checking return type of signal handlers... void
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recv... yes
checking types of args and return type for recv... int,void *,size_t,int,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for recvfrom... yes
checking types of args and return type for recvfrom... int,void *,size_t,int,const struct sockaddr *,socklen_t *,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for send... yes
checking types of args and return type for send... int,const void *,size_t,int,int
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for MSG_NOSIGNAL... yes
checking for sys/types.h... (cached) yes
checking for socket.h... (cached) no
checking if closesocket can be linked... no
checking if closesocket might be used... no
checking if CloseSocket can be linked... no
checking if CloseSocket might be used... no
checking if connect can be linked... yes
checking if connect is prototyped... yes
checking if connect is compilable... yes
checking if connect usage allowed... yes
checking if connect might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... yes
checking if fcntl can be linked... yes
checking if fcntl is prototyped... yes
checking if fcntl is compilable... yes
checking if fcntl usage allowed... yes
checking if fcntl might be used... yes
checking if fcntl O_NONBLOCK is compilable... yes
checking if fcntl O_NONBLOCK usage allowed... yes
checking if fcntl O_NONBLOCK might be used... yes
checking for sys/types.h... (cached) yes
checking for netdb.h... (cached) yes
checking if freeaddrinfo can be linked... yes
checking if freeaddrinfo is prototyped... yes
checking if freeaddrinfo is compilable... yes
checking if freeaddrinfo usage allowed... yes
checking if freeaddrinfo might be used... yes
checking for sys/types.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking if getaddrinfo can be linked... yes
checking if getaddrinfo is prototyped... yes
checking if getaddrinfo is compilable... yes
checking if getaddrinfo usage allowed... yes
checking if getaddrinfo might be used... yes
checking if getaddrinfo is threadsafe... yes
checking if getenv can be linked... yes
checking if getenv is prototyped... yes
checking if getenv is compilable... yes
checking if getenv usage allowed... yes
checking if getenv might be used... yes
checking if gethostbyaddr can be linked... yes
checking if gethostbyaddr is prototyped... yes
checking if gethostbyaddr is compilable... yes
checking if gethostbyaddr usage allowed... yes
checking if gethostbyaddr might be used... yes
checking if gethostbyname can be linked... yes
checking if gethostbyname is prototyped... yes
checking if gethostbyname is compilable... yes
checking if gethostbyname usage allowed... yes
checking if gethostbyname might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking if gethostname can be linked... yes
checking if gethostname is prototyped... yes
checking if gethostname is compilable... yes
checking for gethostname arg 2 data type... unsigned int
checking if gethostname usage allowed... yes
checking if gethostname might be used... yes
checking if getservbyport_r can be linked... no
checking if getservbyport_r might be used... no
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for arpa/inet.h... (cached) yes
checking if inet_net_pton can be linked... no
checking if inet_net_pton might be used... no
checking if inet_ntop can be linked... yes
checking if inet_ntop is prototyped... yes
checking if inet_ntop is compilable... yes
checking if inet_ntop usage allowed... yes
checking if inet_ntop might be used... yes
checking if inet_pton can be linked... yes
checking if inet_pton is prototyped... yes
checking if inet_pton is compilable... yes
checking if inet_pton usage allowed... yes
checking if inet_pton might be used... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for stropts.h... no
checking if ioctl can be linked... yes
checking if ioctl is prototyped... yes
checking if ioctl is compilable... yes
checking if ioctl usage allowed... yes
checking if ioctl might be used... yes
checking if ioctl FIONBIO is compilable... yes
checking if ioctl FIONBIO usage allowed... yes
checking if ioctl FIONBIO might be used... yes
checking if ioctl SIOCGIFADDR is compilable... yes
checking if ioctl SIOCGIFADDR usage allowed... yes
checking if ioctl SIOCGIFADDR might be used... yes
checking if ioctlsocket can be linked... no
checking if ioctlsocket might be used... no
checking if IoctlSocket can be linked... no
checking if IoctlSocket might be used... no
checking if setsockopt can be linked... yes
checking if setsockopt is prototyped... yes
checking if setsockopt is compilable... yes
checking if setsockopt usage allowed... yes
checking if setsockopt might be used... yes
checking if setsockopt SO_NONBLOCK is compilable... no
checking if setsockopt SO_NONBLOCK might be used... no
checking if socket can be linked... yes
checking if socket is prototyped... yes
checking if socket is compilable... yes
checking if socket usage allowed... yes
checking if socket might be used... yes
checking if strcasecmp can be linked... yes
checking if strcasecmp is prototyped... yes
checking if strcasecmp is compilable... yes
checking if strcasecmp usage allowed... yes
checking if strcasecmp might be used... yes
checking if strcmpi can be linked... no
checking if strcmpi might be used... no
checking if strdup can be linked... yes
checking if strdup is prototyped... yes
checking if strdup is compilable... yes
checking if strdup usage allowed... yes
checking if strdup might be used... yes
checking if stricmp can be linked... no
checking if stricmp might be used... no
checking if strncasecmp can be linked... yes
checking if strncasecmp is prototyped... yes
checking if strncasecmp is compilable... yes
checking if strncasecmp usage allowed... yes
checking if strncasecmp might be used... yes
checking if strncmpi can be linked... no
checking if strncmpi might be used... no
checking if strnicmp can be linked... no
checking if strnicmp might be used... no
checking for sys/types.h... (cached) yes
checking for sys/uio.h... (cached) yes
checking if writev can be linked... yes
checking if writev is prototyped... yes
checking if writev is compilable... yes
checking if writev usage allowed... yes
checking if writev might be used... yes
checking for PF_INET6... yes
checking for AF_INET6... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct addrinfo.ai_flags... yes
checking for bitncmp... no
checking deeper for bitncmp... but still no
checking for gettimeofday... yes
checking for if_indextoname... yes
checking size of struct in6_addr... 16
checking size of struct in_addr... 4
checking for sys/types.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for netdb.h... (cached) yes
checking for getnameinfo... yes
checking types of arguments for getnameinfo... const struct sockaddr *,socklen_t,size_t,int
checking whether byte ordering is bigendian... no
configure: WARNING: cannot check for /dev/urandom while cross compiling; assuming none
checking whether to enable non-blocking communications... yes
checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK
checking whether hiding of library internal symbols will actually happen... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libcares.pc
config.status: creating ares_config.h
config.status: creating ares_build.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: amending ./Makefile
make all-recursive
make[1]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
make[2]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
CC libcares_la-ares__close_sockets.lo
CC libcares_la-ares__get_hostent.lo
CC libcares_la-ares__read_line.lo
CC libcares_la-ares__timeval.lo
CC libcares_la-ares_cancel.lo
CC libcares_la-ares_data.lo
CC libcares_la-ares_destroy.lo
CC libcares_la-ares_expand_name.lo
CC libcares_la-ares_expand_string.lo
CC libcares_la-ares_fds.lo
CC libcares_la-ares_free_hostent.lo
CC libcares_la-ares_free_string.lo
CC libcares_la-ares_getenv.lo
CC libcares_la-ares_gethostbyaddr.lo
CC libcares_la-ares_gethostbyname.lo
CC libcares_la-ares_getnameinfo.lo
CC libcares_la-ares_getsock.lo
CC libcares_la-ares_init.lo
CC libcares_la-ares_library_init.lo
CC libcares_la-ares_llist.lo
CC libcares_la-ares_mkquery.lo
CC libcares_la-ares_create_query.lo
CC libcares_la-ares_nowarn.lo
CC libcares_la-ares_options.lo
CC libcares_la-ares_parse_a_reply.lo
CC libcares_la-ares_parse_aaaa_reply.lo
CC libcares_la-ares_parse_mx_reply.lo
CC libcares_la-ares_parse_naptr_reply.lo
CC libcares_la-ares_parse_ns_reply.lo
CC libcares_la-ares_parse_ptr_reply.lo
CC libcares_la-ares_parse_soa_reply.lo
CC libcares_la-ares_parse_srv_reply.lo
CC libcares_la-ares_parse_txt_reply.lo
CC libcares_la-ares_platform.lo
CC libcares_la-ares_process.lo
CC libcares_la-ares_query.lo
CC libcares_la-ares_search.lo
CC libcares_la-ares_send.lo
CC libcares_la-ares_strcasecmp.lo
CC libcares_la-ares_strdup.lo
CC libcares_la-ares_strerror.lo
CC libcares_la-ares_timeout.lo
CC libcares_la-ares_version.lo
CC libcares_la-ares_writev.lo
CC libcares_la-bitncmp.lo
CC libcares_la-inet_net_pton.lo
CC libcares_la-inet_ntop.lo
CC libcares_la-windows_port.lo
CC ahost-ahost.o
CC ahost-ares_getopt.o
CC ahost-ares_nowarn.o
CC ahost-ares_strcasecmp.o
CC adig-adig.o
CC adig-ares_getopt.o
CC adig-ares_nowarn.o
CC adig-ares_strcasecmp.o
CC acountry-acountry.o
CC acountry-ares_getopt.o
CC acountry-ares_nowarn.o
CC acountry-ares_strcasecmp.o
CCLD libcares.la
CCLD ahost
CCLD adig
CCLD acountry
make[2]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
make[1]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
==> Entering fakeroot environment...
==> Starting package()...
make[1]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
make[2]: Entering directory '/tmp/c-ares/src/c-ares-1.11.0'
/usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/lib/pkgconfig'
/usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
/usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/lib'
/usr/sbin/mkdir -p '/tmp/c-ares/pkg/c-ares/usr/include'
/usr/bin/install -c -m 644 libcares.pc '/tmp/c-ares/pkg/c-ares/usr/lib/pkgconfig'
/bin/sh ./libtool --mode=install /usr/bin/install -c libcares.la '/tmp/c-ares/pkg/c-ares/usr/lib'
/usr/bin/install -c -m 644 ares.h ares_version.h ares_dns.h ares_build.h ares_rules.h '/tmp/c-ares/pkg/c-ares/usr/include'
/usr/bin/install -c -m 644 ares_cancel.3 ares_destroy.3 ares_destroy_options.3 ares_dup.3 ares_expand_name.3 ares_expand_string.3 ares_fds.3 ares_free_data.3 ares_free_hostent.3 ares_free_string.3 ares_get_servers.3 ares_get_servers_ports.3 ares_gethostbyaddr.3 ares_gethostbyname.3 ares_gethostbyname_file.3 ares_getnameinfo.3 ares_getsock.3 ares_init.3 ares_init_options.3 ares_library_cleanup.3 ares_library_init.3 ares_mkquery.3 ares_create_query.3 ares_parse_a_reply.3 ares_parse_aaaa_reply.3 ares_parse_mx_reply.3 ares_parse_naptr_reply.3 ares_parse_ns_reply.3 ares_parse_ptr_reply.3 ares_parse_soa_reply.3 ares_parse_srv_reply.3 ares_parse_txt_reply.3 ares_process.3 ares_query.3 ares_save_options.3 ares_search.3 ares_send.3 ares_set_local_dev.3 ares_set_local_ip4.3 ares_set_local_ip6.3 '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
/usr/bin/install -c -m 644 ares_set_servers.3 ares_set_servers_csv.3 ares_set_servers_ports.3 ares_set_servers_ports_csv.3 ares_set_socket_callback.3 ares_set_socket_configure_callback.3 ares_set_sortlist.3 ares_strerror.3 ares_timeout.3 ares_version.3 ares_inet_pton.3 ares_inet_ntop.3 '/tmp/c-ares/pkg/c-ares/usr/share/man/man3'
libtool: install: /usr/bin/install -c .libs/libcares.so /tmp/c-ares/pkg/c-ares/usr/lib/libcares.so
libtool: install: /usr/bin/install -c .libs/libcares.lai /tmp/c-ares/pkg/c-ares/usr/lib/libcares.la
libtool: install: /usr/bin/install -c .libs/libcares.a /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
libtool: install: chmod 644 /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
libtool: install: arm-linux-androideabi-ranlib /tmp/c-ares/pkg/c-ares/usr/lib/libcares.a
libtool: warning: remember to run 'libtool --finish /usr/lib'
make[2]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
make[1]: Leaving directory '/tmp/c-ares/src/c-ares-1.11.0'
==> Tidying install...
-> Removing doc files...
-> Purging unwanted files...
==> Checking for packaging issue...
==> Creating package "c-ares"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
error: invalid option '--noprogressbar'
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: c-ares 1.11.0-1 (Tue Apr 4 20:44:22 UTC 2017)
CMD: pacman --query --file c-ares-1.11.0-1-x86_64.pkg.tar.xz
Creating hybrid package for 'c-ares'
Trying to find vanilla package 'c-ares'...
CMD: pacman --query --file /mirror/c-ares-1.11.0-1.pkg.tar.xz
Package file has the following structure:
/.PKGINFO
/.BUILDINFO
/.MTREE
/usr/lib/libcares.so.2
/usr/lib/libcares.so
/usr/lib/libcares.so.2.1.0
/usr/lib/pkgconfig/libcares.pc
/usr/share/man/man3/ares_cancel.3.gz
/usr/share/man/man3/ares_destroy.3.gz
/usr/share/man/man3/ares_destroy_options.3.gz
/usr/share/man/man3/ares_dup.3.gz
/usr/share/man/man3/ares_expand_name.3.gz
/usr/share/man/man3/ares_expand_string.3.gz
/usr/share/man/man3/ares_fds.3.gz
/usr/share/man/man3/ares_free_data.3.gz
/usr/share/man/man3/ares_free_hostent.3.gz
/usr/share/man/man3/ares_free_string.3.gz
/usr/share/man/man3/ares_get_servers.3.gz
/usr/share/man/man3/ares_get_servers_ports.3.gz
/usr/share/man/man3/ares_gethostbyaddr.3.gz
/usr/share/man/man3/ares_gethostbyname.3.gz
/usr/share/man/man3/ares_gethostbyname_file.3.gz
/usr/share/man/man3/ares_getnameinfo.3.gz
/usr/share/man/man3/ares_getsock.3.gz
/usr/share/man/man3/ares_init.3.gz
/usr/share/man/man3/ares_init_options.3.gz
/usr/share/man/man3/ares_library_cleanup.3.gz
/usr/share/man/man3/ares_library_init.3.gz
/usr/share/man/man3/ares_mkquery.3.gz
/usr/share/man/man3/ares_create_query.3.gz
/usr/share/man/man3/ares_parse_a_reply.3.gz
/usr/share/man/man3/ares_parse_aaaa_reply.3.gz
/usr/share/man/man3/ares_parse_mx_reply.3.gz
/usr/share/man/man3/ares_parse_naptr_reply.3.gz
/usr/share/man/man3/ares_parse_ns_reply.3.gz
/usr/share/man/man3/ares_parse_ptr_reply.3.gz
/usr/share/man/man3/ares_parse_soa_reply.3.gz
/usr/share/man/man3/ares_parse_srv_reply.3.gz
/usr/share/man/man3/ares_parse_txt_reply.3.gz
/usr/share/man/man3/ares_process.3.gz
/usr/share/man/man3/ares_query.3.gz
/usr/share/man/man3/ares_save_options.3.gz
/usr/share/man/man3/ares_search.3.gz
/usr/share/man/man3/ares_send.3.gz
/usr/share/man/man3/ares_set_local_dev.3.gz
/usr/share/man/man3/ares_set_local_ip4.3.gz
/usr/share/man/man3/ares_set_local_ip6.3.gz
/usr/share/man/man3/ares_set_servers.3.gz
/usr/share/man/man3/ares_set_servers_csv.3.gz
/usr/share/man/man3/ares_set_servers_ports.3.gz
/usr/share/man/man3/ares_set_servers_ports_csv.3.gz
/usr/share/man/man3/ares_set_socket_callback.3.gz
/usr/share/man/man3/ares_set_socket_configure_callback.3.gz
/usr/share/man/man3/ares_set_sortlist.3.gz
/usr/share/man/man3/ares_strerror.3.gz
/usr/share/man/man3/ares_timeout.3.gz
/usr/share/man/man3/ares_version.3.gz
/usr/share/man/man3/ares_inet_pton.3.gz
/usr/share/man/man3/ares_inet_ntop.3.gz
/usr/share/licenses/c-ares/LICENSE
/usr/include/ares.h
/usr/include/ares_version.h
/usr/include/ares_dns.h
/usr/include/ares_build.h
/usr/include/ares_rules.h
/sysroot/sysroot/usr/lib/libcares.so
/sysroot/sysroot/usr/lib/libcares.la
/sysroot/sysroot/usr/lib/libcares.a
/sysroot/sysroot/usr/lib/pkgconfig/libcares.pc
/sysroot/sysroot/usr/include/ares.h
/sysroot/sysroot/usr/include/ares_version.h
/sysroot/sysroot/usr/include/ares_dns.h
/sysroot/sysroot/usr/include/ares_build.h
/sysroot/sysroot/usr/include/ares_rules.h
Generating .MTREE
CMD: bsdtar -czf .MTREE --format=mtree --options=!all,use-set,type,uid,mode,time,size,md5,sha256,link .PKGINFO .BUILDINFO usr sysroot
Tar-ing up files
CMD: bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE
CMD: xz -c -z
Successfully ran bsdtar -cf - .PKGINFO .BUILDINFO usr sysroot .MTREE | xz -c -z
CMD: bsdtar -tqf c-ares.pkg.tar.xz .PKGINFO
Created package at path /var/cache/pacman/pkg/c-ares.pkg.tar.xz
Attempting to access local repository, attempt 1
CMD: repo-add /var/cache/pacman/pkg/tuscan.db.tar /var/cache/pacman/pkg/c-ares.pkg.tar.xz
==> Extracting database to a temporary location...
==> Extracting database to a temporary location...
==> Adding package '/var/cache/pacman/pkg/c-ares.pkg.tar.xz'
-> Computing checksums...
-> Creating 'desc' db entry...
-> Creating 'files' db entry...
==> Creating updated database file '/var/cache/pacman/pkg/tuscan.db.tar'
Printing config logfiles
CMD: config logfiles '/tmp/c-ares/src/c-ares-1.11.0/config.log'
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.11.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --build=x86_64-unknown-linux --host=arm-linux-androideabi --prefix=/usr --enable-shared
## --------- ##
## Platform. ##
## --------- ##
hostname = e9f6bb53a27e
uname -m = x86_64
uname -r = 4.10.6-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon Mar 27 08:28:22 CEST 2017
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sysroot/bin
PATH: /sysroot/libexec/gcc/arm-linux-androideabi/4.8
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2815: checking whether to enable maintainer-specific portions of Makefiles
configure:2824: result: no
configure:2848: checking whether make supports nested variables
configure:2865: result: yes
configure:2878: checking whether to enable debug build options
configure:2897: result: no
configure:2901: checking whether to enable compiler optimizer
configure:2922: result: not specified (assuming yes)
configure:2934: checking whether to enable strict compiler warnings
configure:2953: result: no
configure:2957: checking whether to enable compiler warnings as errors
configure:2976: result: no
configure:2980: checking whether to enable curl debug memory tracking
configure:2999: result: no
configure:3003: checking whether to enable hiding of library internal symbols
configure:3019: result: yes
configure:3030: checking whether to expose internal static functions for testing
configure:3046: result: no
configure:3082: checking for path separator
configure:3084: result: :
configure:3097: checking for sed
configure:3116: found /usr/sbin/sed
configure:3129: result: /usr/sbin/sed
configure:3144: checking for grep
configure:3163: found /usr/sbin/grep
configure:3176: result: /usr/sbin/grep
configure:3190: checking for egrep
configure:3193: result: /usr/sbin/grep -E
configure:3247: checking for arm-linux-androideabi-ar
configure:3266: found /sysroot/bin/arm-linux-androideabi-ar
configure:3278: result: /sysroot/bin/arm-linux-androideabi-ar
configure:3349: checking for a sed that does not truncate output
configure:3413: result: /usr/sbin/sed
configure:3431: checking whether to build with code coverage support
configure:3451: result: no
configure:3799: checking build system type
configure:3813: result: x86_64-unknown-linux-gnu
configure:3833: checking host system type
configure:3846: result: arm-unknown-linux-androideabi
configure:4059: checking for a BSD-compatible install
configure:4127: result: /usr/bin/install -c
configure:4149: checking for arm-linux-androideabi-gcc
configure:4176: result: arm-linux-androideabi-gcc
configure:4445: checking for C compiler version
configure:4454: arm-linux-androideabi-gcc --version >&5
arm-linux-androideabi-gcc (GCC) 4.8
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:4465: $? = 0
configure:4454: arm-linux-androideabi-gcc -v >&5
Using built-in specs.
COLLECT_GCC=arm-linux-androideabi-gcc
COLLECT_LTO_WRAPPER=/sysroot/bin/../libexec/gcc/arm-linux-androideabi/4.8/lto-wrapper
Target: arm-linux-androideabi
Configured with: /s/ndk-toolchain/src/build/../gcc/gcc-4.8/configure --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --target=arm-linux-androideabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpfr=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-mpc=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-cloog=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-isl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --with-ppl=/tmp/ndk-andrewhsieh/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --enable-initfini-array --disable-nls --prefix=/tmp/ndk-andrewhsieh/build/toolchain/prefix --with-sysroot=/tmp/ndk-andrewhsieh/build/toolchain/prefix/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.8 --with-gdb-version=7.7 --with-python=/usr/local/google/home/andrewhsieh/mydroid/ndk/prebuilt/linux-x86_64/bin/python-config.sh --with-gxx-include-dir=/tmp/ndk-andrewhsieh/build/toolchain/prefix/include/c++/4.8 --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-threads --enable-graphite=yes --with-cloog-version=0.18.0 --with-isl-version=0.11.1 --enable-eh-frame-hdr-for-static --with-arch=armv5te --program-transform-name='s&^&arm-linux-androideabi-&' --enable-gold=default
Thread model: posix
gcc version 4.8 (GCC)
configure:4465: $? = 0
configure:4454: arm-linux-androideabi-gcc -V >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-V'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:4465: $? = 1
configure:4454: arm-linux-androideabi-gcc -qversion >&5
arm-linux-androideabi-gcc: error: unrecognized command line option '-qversion'
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
configure:4465: $? = 1
configure:4484: checking whether the C compiler works
configure:4506: arm-linux-androideabi-gcc conftest.c >&5
configure:4510: $? = 0
configure:4558: result: yes
configure:4561: checking for C compiler default output file name
configure:4563: result: a.out
configure:4569: checking for suffix of executables
configure:4576: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:4580: $? = 0
configure:4602: result:
configure:4623: checking whether we are cross compiling
configure:4661: result: yes
configure:4666: checking for suffix of object files
configure:4687: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4691: $? = 0
configure:4712: result: o
configure:4716: checking whether we are using the GNU C compiler
configure:4734: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4734: $? = 0
configure:4743: result: yes
configure:4752: checking whether arm-linux-androideabi-gcc accepts -g
configure:4771: arm-linux-androideabi-gcc -c -g conftest.c >&5
configure:4771: $? = 0
configure:4810: result: yes
configure:4827: checking for arm-linux-androideabi-gcc option to accept ISO C89
configure:4889: arm-linux-androideabi-gcc -c conftest.c >&5
configure:4889: $? = 0
configure:4902: result: none needed
configure:4927: checking whether arm-linux-androideabi-gcc understands -c and -o together
configure:4948: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:4951: $? = 0
configure:4948: arm-linux-androideabi-gcc -c conftest.c -o conftest2.o
configure:4951: $? = 0
configure:4963: result: yes
configure:4986: checking how to run the C preprocessor
configure:5017: arm-linux-androideabi-gcc -E conftest.c
configure:5017: $? = 0
configure:5031: arm-linux-androideabi-gcc -E conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:5031: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| /* end confdefs.h. */
| #include
configure:5056: result: arm-linux-androideabi-gcc -E
configure:5076: arm-linux-androideabi-gcc -E conftest.c
configure:5076: $? = 0
configure:5090: arm-linux-androideabi-gcc -E conftest.c
conftest.c:10:28: fatal error: ac_nonexistent.h: No such file or directory
#include
^
compilation terminated.
configure:5090: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| /* end confdefs.h. */
| #include
configure:5132: checking whether build environment is sane
configure:5187: result: yes
configure:5243: checking for arm-linux-androideabi-strip
configure:5259: found /sysroot/bin/arm-linux-androideabi-strip
configure:5270: result: arm-linux-androideabi-strip
configure:5335: checking for a thread-safe mkdir -p
configure:5374: result: /usr/sbin/mkdir -p
configure:5381: checking for gawk
configure:5397: found /usr/sbin/gawk
configure:5408: result: gawk
configure:5419: checking whether make sets $(MAKE)
configure:5441: result: yes
configure:5471: checking for style of include used by make
configure:5499: result: GNU
configure:5600: checking dependency style of arm-linux-androideabi-gcc
configure:5711: result: gcc3
configure:5777: checking for grep that handles long lines and -e
configure:5835: result: /usr/sbin/grep
configure:5840: checking for egrep
configure:5902: result: /usr/sbin/grep -E
configure:5909: checking if OS is AIX (to define _ALL_SOURCE)
configure:5929: result: no
configure:5939: checking if _THREAD_SAFE is already defined
configure:5960: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:21:7: error: unknown type name 'force'
force compilation error
^
conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
force compilation error
^
configure:5960: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
|
|
|
| int main (void)
| {
|
| #ifdef _THREAD_SAFE
| int dummy=1;
| #else
| force compilation error
| #endif
|
| ;
| return 0;
| }
|
configure:5968: result: no
configure:5976: checking if _THREAD_SAFE is actually needed
configure:5995: result: no
configure:6000: checking if _THREAD_SAFE is onwards defined
configure:6017: result: no
configure:6024: checking if _REENTRANT is already defined
configure:6045: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c: In function 'main':
conftest.c:21:7: error: unknown type name 'force'
force compilation error
^
conftest.c:21:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
force compilation error
^
configure:6045: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
|
|
|
| int main (void)
| {
|
| #ifdef _REENTRANT
| int dummy=1;
| #else
| force compilation error
| #endif
|
| ;
| return 0;
| }
|
configure:6053: result: no
configure:6061: checking if _REENTRANT is actually needed
configure:6092: arm-linux-androideabi-gcc -c conftest.c >&5
configure:6092: $? = 0
configure:6123: arm-linux-androideabi-gcc -c conftest.c >&5
configure:6123: $? = 0
configure:6194: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:6194: $? = 0
configure:6273: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:6273: $? = 0
configure:6352: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:6352: $? = 0
configure:6431: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:6431: $? = 0
configure:6510: arm-linux-androideabi-gcc -o conftest conftest.c >&5
/tmp/ccWq3AbK.o:conftest.c:function main: error: undefined reference to 'inet_ntoa_r'
collect2: error: ld returned 1 exit status
configure:6510: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* 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:6593: arm-linux-androideabi-gcc -o conftest conftest.c >&5
/tmp/ccU1t16M.o:conftest.c:function main: error: undefined reference to 'gethostbyaddr_r'
collect2: error: ld returned 1 exit status
configure:6593: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
|
|
| #define gethostbyaddr_r innocuous_gethostbyaddr_r
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| #undef gethostbyaddr_r
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyaddr_r ();
| #if defined __stub_gethostbyaddr_r || defined __stub___gethostbyaddr_r
| choke me
| #endif
|
| int main (void)
| {
| return gethostbyaddr_r ();
| ;
| return 0;
| }
|
configure:6672: arm-linux-androideabi-gcc -o conftest conftest.c >&5
configure:6672: $? = 0
configure:6751: arm-linux-androideabi-gcc -o conftest conftest.c >&5
/tmp/ccUBPvj0.o:conftest.c:function main: error: undefined reference to 'getprotobyname_r'
collect2: error: ld returned 1 exit status
configure:6751: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
|
|
| #define getprotobyname_r innocuous_getprotobyname_r
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| #undef getprotobyname_r
| #ifdef __cplusplus
| extern "C"
| #endif
| char getprotobyname_r ();
| #if defined __stub_getprotobyname_r || defined __stub___getprotobyname_r
| choke me
| #endif
|
| int main (void)
| {
| return getprotobyname_r ();
| ;
| return 0;
| }
|
configure:6830: arm-linux-androideabi-gcc -o conftest conftest.c >&5
/tmp/ccsNdc85.o:conftest.c:function main: error: undefined reference to 'getservbyport_r'
collect2: error: ld returned 1 exit status
configure:6830: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
|
|
| #define getservbyport_r innocuous_getservbyport_r
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| #undef getservbyport_r
| #ifdef __cplusplus
| extern "C"
| #endif
| char getservbyport_r ();
| #if defined __stub_getservbyport_r || defined __stub___getservbyport_r
| choke me
| #endif
|
| int main (void)
| {
| return getservbyport_r ();
| ;
| return 0;
| }
|
configure:6886: result: no
configure:6891: checking if _REENTRANT is onwards defined
configure:6908: result: no
configure:6921: checking for special C compiler options needed for large files
configure:6965: result: no
configure:6971: checking for _FILE_OFFSET_BITS value needed for large files
configure:6995: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c:18:7: error: size of array 'off_t_is_large' is negative
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^
configure:6995: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* 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 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int main (void)
| {
|
| ;
| return 0;
| }
configure:7018: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c:19:7: error: size of array 'off_t_is_large' is negative
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^
configure:7018: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
| #define _FILE_OFFSET_BITS 64
| #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 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int main (void)
| {
|
| ;
| return 0;
| }
configure:7026: result: unknown
configure:7038: checking for _LARGE_FILES value needed for large files
configure:7062: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c:18:7: error: size of array 'off_t_is_large' is negative
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^
configure:7062: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* 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 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int main (void)
| {
|
| ;
| return 0;
| }
configure:7085: arm-linux-androideabi-gcc -c conftest.c >&5
conftest.c:19:7: error: size of array 'off_t_is_large' is negative
int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
^
configure:7085: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| /* end confdefs.h. */
| #define _LARGE_FILES 1
| #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 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
| int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
| && LARGE_OFF_T % 2147483647 == 1)
| ? 1 : -1];
| int main (void)
| {
|
| ;
| return 0;
| }
configure:7093: result: unknown
configure:7164: checking how to print strings
configure:7191: result: printf
configure:7212: checking for a sed that does not truncate output
configure:7276: result: /usr/sbin/sed
configure:7294: checking for fgrep
configure:7356: result: /usr/sbin/grep -F
configure:7391: checking for ld used by arm-linux-androideabi-gcc
configure:7458: result: /sysroot/arm-linux-androideabi/bin/ld
configure:7465: checking if the linker (/sysroot/arm-linux-androideabi/bin/ld) is GNU ld
configure:7480: result: yes
configure:7492: checking for BSD- or MS-compatible name lister (nm)
configure:7546: result: /sysroot/bin/arm-linux-androideabi-nm -B
configure:7676: checking the name lister (/sysroot/bin/arm-linux-androideabi-nm -B) interface
configure:7683: arm-linux-androideabi-gcc -c conftest.c >&5
configure:7686: /sysroot/bin/arm-linux-androideabi-nm -B "conftest.o"
configure:7689: output
00000000 B some_variable
configure:7696: result: BSD nm
configure:7699: checking whether ln -s works
configure:7703: result: yes
configure:7711: checking the maximum length of command line arguments
configure:7842: result: 1572864
configure:7890: checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-androideabi format
configure:7930: result: func_convert_file_noop
configure:7937: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
configure:7957: result: func_convert_file_noop
configure:7964: checking for /sysroot/arm-linux-androideabi/bin/ld option to reload object files
configure:7971: result: -r
configure:8005: checking for arm-linux-androideabi-objdump
configure:8021: found /sysroot/bin/arm-linux-androideabi-objdump
configure:8032: result: arm-linux-androideabi-objdump
configure:8101: checking how to recognize dependent libraries
configure:8301: result: pass_all
configure:8346: checking for arm-linux-androideabi-dlltool
configure:8376: result: no
configure:8386: checking for dlltool
configure:8416: result: no
configure:8443: checking how to associate runtime and link libraries
configure:8470: result: printf %s\n
configure:8486: checking for arm-linux-androideabi-ar
configure:8513: result: /sysroot/bin/arm-linux-androideabi-ar
configure:8594: checking for archiver @FILE support
configure:8610: arm-linux-androideabi-gcc -c conftest.c >&5
configure:8610: $? = 0
configure:8613: /sysroot/bin/arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
configure:8616: $? = 0
configure:8621: /sysroot/bin/arm-linux-androideabi-ar cru libconftest.a @conftest.lst >&5
/sysroot/bin/arm-linux-androideabi-ar: conftest.o: No such file or directory
configure:8624: $? = 1
configure:8636: result: @
configure:8654: checking for arm-linux-androideabi-strip
configure:8681: result: arm-linux-androideabi-strip
configure:8753: checking for arm-linux-androideabi-ranlib
configure:8769: found /sysroot/bin/arm-linux-androideabi-ranlib
configure:8780: result: arm-linux-androideabi-ranlib
configure:8922: checking command to parse /sysroot/bin/arm-linux-androideabi-nm -B output from arm-linux-androideabi-gcc object
configure:9075: arm-linux-androideabi-gcc -c conftest.c >&5
configure:9078: $? = 0
configure:9082: /sysroot/bin/arm-linux-androideabi-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:9085: $? = 0
configure:9151: arm-linux-androideabi-gcc -o conftest conftest.c conftstm.o >&5
configure:9154: $? = 0
configure:9192: result: ok
configure:9239: checking for sysroot
configure:9269: result: no
configure:9276: checking for a working dd
configure:9314: result: /usr/sbin/dd
configure:9318: checking how to truncate binary pipes
configure:9333: result: /usr/sbin/dd bs=4096 count=1
configure:9621: checking for arm-linux-androideabi-mt
configure:9651: result: no
configure:9661: checking for mt
configure:9691: result: no
configure:9711: checking if : is a manifest tool
configure:9717: : '-?'
configure:9725: result: no
configure:10396: checking for ANSI C header files
configure:10415: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10415: $? = 0
configure:10499: result: yes
configure:10512: checking for sys/types.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for sys/stat.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for stdlib.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for string.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for memory.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for strings.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for inttypes.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for stdint.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10512: checking for unistd.h
configure:10512: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10512: $? = 0
configure:10512: result: yes
configure:10526: checking for dlfcn.h
configure:10526: arm-linux-androideabi-gcc -c conftest.c >&5
configure:10526: $? = 0
configure:10526: result: yes
configure:11187: checking for objdir
configure:11202: result: .libs
configure:11466: checking if arm-linux-androideabi-gcc supports -fno-rtti -fno-exceptions
configure:11484: arm-linux-androideabi-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:11488: $? = 0
configure:11501: result: no
configure:11859: checking for arm-linux-androideabi-gcc option to produce PIC
configure:11866: result: -fPIC -DPIC
configure:11874: checking if arm-linux-androideabi-gcc PIC flag -fPIC -DPIC works
configure:11892: arm-linux-androideabi-gcc -c -fPIC -DPIC -DPIC conftest.c >&5
configure:11896: $? = 0
configure:11909: result: yes
configure:11938: checking if arm-linux-androideabi-gcc static flag -static works
configure:11966: result: yes
configure:11981: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:12002: arm-linux-androideabi-gcc -c -o out/conftest2.o conftest.c >&5
configure:12006: $? = 0
configure:12028: result: yes
configure:12036: checking if arm-linux-androideabi-gcc supports -c -o file.o
configure:12083: result: yes
configure:12116: checking whether the arm-linux-androideabi-gcc linker (/sysroot/arm-linux-androideabi/bin/ld) supports shared libraries
configure:13377: result: yes
configure:13414: checking whether -lc should be explicitly linked in
configure:13422: arm-linux-androideabi-gcc -c conftest.c >&5
configure:13425: $? = 0
configure:13440: arm-linux-androideabi-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/sbin/grep -lc \>/dev/null 2\>\&1
configure:13443: $? = 0
configure:13457: result: no
configure:13617: checking dynamic linker characteristics
configure:14446: result: Android linker
configure:14568: checking how to hardcode library paths into programs
configure:14593: result: immediate
configure:15126: checking whether stripping libraries is possible
configure:15131: result: yes
configure:15166: checking if libtool supports shared libraries
configure:15168: result: yes
configure:15171: checking whether to build shared libraries
configure:15196: result: yes
configure:15199: checking whether to build static libraries
configure:15203: result: yes
configure:15274: checking whether to build shared libraries with -version-info
configure:15285: result: no
configure:15292: checking whether to build shared libraries with -no-undefined
configure:15305: result: no
configure:15312: checking whether to build shared libraries with -mimpure-text
configure:15322: result: no
configure:15349: checking whether to build shared libraries with PIC
configure:15351: result: yes
configure:15353: checking whether to build static libraries with PIC
configure:15355: result: no
configure:15362: checking whether to build shared libraries only
configure:15370: result: no
configure:15377: checking whether to build static libraries only
configure:15385: result: no
configure:15473: checking if compiler is DEC/Compaq/HP C
configure:15494: arm-linux-androideabi-gcc -E conftest.c
configure:15494: $? = 0
configure:15534: arm-linux-androideabi-gcc -E conftest.c
configure:15534: $? = 0
configure:15567: result: no
configure:15572: checking if compiler is HP-UX C
configure:15593: arm-linux-androideabi-gcc -E conftest.c
configure:15593: $? = 0
configure:15625: result: no
configure:15630: checking if compiler is IBM C
configure:15651: arm-linux-androideabi-gcc -E conftest.c
configure:15651: $? = 0
configure:15691: result: no
configure:15696: checking if compiler is Intel C
configure:15717: arm-linux-androideabi-gcc -E conftest.c
configure:15717: $? = 0
configure:15807: result: no
configure:15812: checking if compiler is clang
configure:15833: arm-linux-androideabi-gcc -E conftest.c
configure:15833: $? = 0
configure:15876: result: no
configure:15881: checking if compiler is GNU C
configure:15902: arm-linux-androideabi-gcc -E conftest.c
configure:15902: $? = 0
configure:15925: result: yes
configure:15964: arm-linux-androideabi-gcc -E conftest.c
configure:15964: $? = 0
configure:15991: checking if compiler is LCC
configure:16012: arm-linux-androideabi-gcc -E conftest.c
configure:16012: $? = 0
configure:16044: result: no
configure:16049: checking if compiler is SGI MIPSpro C
configure:16070: arm-linux-androideabi-gcc -E conftest.c
configure:16070: $? = 0
configure:16110: arm-linux-androideabi-gcc -E conftest.c
configure:16110: $? = 0
configure:16150: arm-linux-androideabi-gcc -E conftest.c
configure:16150: $? = 0
configure:16184: result: no
configure:16189: checking if compiler is SGI MIPS C
configure:16210: arm-linux-androideabi-gcc -E conftest.c
configure:16210: $? = 0
configure:16250: arm-linux-androideabi-gcc -E conftest.c
configure:16250: $? = 0
configure:16284: result: no
configure:16289: checking if compiler is SunPro C
configure:16310: arm-linux-androideabi-gcc -E conftest.c
configure:16310: $? = 0
configure:16342: result: no
configure:16347: checking if compiler is Tiny C
configure:16368: arm-linux-androideabi-gcc -E conftest.c
configure:16368: $? = 0
configure:16400: result: no
configure:16405: checking if compiler is Watcom C
configure:16426: arm-linux-androideabi-gcc -E conftest.c
configure:16426: $? = 0
configure:16508: result: no
configure:16862: checking if compiler accepts debug disabling options
configure:16894: arm-linux-androideabi-gcc -c -g0 conftest.c >&5
configure:16894: $? = 0
configure:16924: arm-linux-androideabi-gcc -o conftest -g0 conftest.c >&5
configure:16924: $? = 0
configure:16985: result: yes
configure:16987: compiler options added: -g0
configure:17019: checking if compiler optimizer assumed setting might be used
configure:17057: result: yes
configure:17103: checking if compiler accepts optimizer enabling options
configure:17139: arm-linux-androideabi-gcc -c -g0 -O2 conftest.c >&5
configure:17139: $? = 0
configure:17169: arm-linux-androideabi-gcc -o conftest -g0 -O2 conftest.c >&5
configure:17169: $? = 0
configure:17230: result: yes
configure:17232: compiler options added: -O2
configure:17485: checking if compiler accepts strict warning options
configure:17509: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:17509: $? = 0
configure:17539: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:17539: $? = 0
configure:17600: result: yes
configure:17602: compiler options added: -Wno-system-headers
configure:17632: checking if compiler halts on compilation errors
configure:17649: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:30:7: error: unknown type name 'force'
force compilation error
^
conftest.c:30:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
force compilation error
^
configure:17649: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:17657: result: yes
configure:17664: checking if compiler halts on negative sized arrays
configure:17682: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:26:20: error: size of array 'bad_t' is negative
typedef char bad_t[sizeof(char) == sizeof(int) ? -1 : -1 ];
^
configure:17682: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:17690: result: yes
configure:17697: checking if compiler halts on function prototype mismatch
configure:17726: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:27:11: error: conflicting types for 'rand'
int rand(int n);
^
In file included from conftest.c:26:0:
/sysroot/sysroot/usr/include/stdlib.h:114:5: note: previous declaration of 'rand' was here
int rand(void);
^
conftest.c:28:11: error: conflicting types for 'rand'
int rand(int n)
^
In file included from conftest.c:26:0:
/sysroot/sysroot/usr/include/stdlib.h:114:5: note: previous declaration of 'rand' was here
int rand(void);
^
configure:17726: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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. */
|
|
| # include
| int rand(int n);
| int rand(int n)
| {
| if(n)
| return ++n;
| else
| return n;
| }
|
| int main (void)
| {
|
| int i[2];
| int j = rand(i[0]);
| if(j)
| return j;
|
| ;
| return 0;
| }
|
configure:17734: result: yes
configure:17741: checking if compiler supports hiding library internal symbols
configure:17835: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers -fvisibility=hidden conftest.c >&5
configure:17835: $? = 0
configure:17858: result: yes
configure:17970: checking for windows.h
configure:18000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:30:21: fatal error: windows.h: No such file or directory
#include
^
compilation terminated.
configure:18000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:18012: result: no
configure:18030: checking whether build target is a native Windows one
configure:18072: result: no
configure:18264: checking if X/Open network library is required
configure:18284: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:33:3: error: unknown type name 'force'
force compilation error
^
conftest.c:33:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
force compilation error
^
conftest.c:35:1: error: expected declaration or statement at end of input
}
^
configure:18284: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:18291: result: no
configure:18295: checking for gethostbyname
configure:18295: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:18295: $? = 0
configure:18295: result: yes
configure:18714: checking for strcasecmp
configure:18714: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:35:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default]
char strcasecmp ();
^
configure:18714: $? = 0
configure:18714: result: yes
configure:18822: checking for windows.h
configure:18864: result: no
configure:18882: checking for winsock.h
configure:18925: result: no
configure:18938: checking for winsock2.h
configure:18981: result: no
configure:18995: checking for connect in libraries
configure:19022: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19022: $? = 0
configure:19040: result: yes
configure:19051: checking whether time.h and sys/time.h may both be included
configure:19070: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19070: $? = 0
configure:19077: result: yes
configure:19089: checking for sys/types.h
configure:19089: result: yes
configure:19089: checking sys/time.h usability
configure:19089: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19089: $? = 0
configure:19089: result: yes
configure:19089: checking sys/time.h presence
configure:19089: arm-linux-androideabi-gcc -E conftest.c
configure:19089: $? = 0
configure:19089: result: yes
configure:19089: checking for sys/time.h
configure:19089: result: yes
configure:19089: checking time.h usability
configure:19089: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19089: $? = 0
configure:19089: result: yes
configure:19089: checking time.h presence
configure:19089: arm-linux-androideabi-gcc -E conftest.c
configure:19089: $? = 0
configure:19089: result: yes
configure:19089: checking for time.h
configure:19089: result: yes
configure:19099: checking for monotonic clock_gettime
configure:19130: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19130: $? = 0
configure:19132: result: yes
configure:19149: checking for clock_gettime in libraries
configure:19191: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19191: $? = 0
configure:19212: result: no additional lib required
configure:19308: checking whether to use libgcc
configure:19323: result: no
configure:19333: checking for ANSI C header files
configure:19436: result: yes
configure:19446: checking for malloc.h
configure:19471: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19471: $? = 0
configure:19483: result: yes
configure:19511: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19511: $? = 0
configure:19534: checking for memory.h
configure:19571: result: yes
configure:19599: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19599: $? = 0
configure:19645: checking for sys/types.h
configure:19645: result: yes
configure:19645: checking for sys/time.h
configure:19645: result: yes
configure:19645: checking for sys/select.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for sys/socket.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for sys/ioctl.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for sys/param.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for sys/uio.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for assert.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for netdb.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for netinet/in.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for netinet/tcp.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for net/if.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for errno.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for socket.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:65:20: fatal error: socket.h: No such file or directory
#include
^
compilation terminated.
configure:19645: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:19645: result: no
configure:19645: checking for strings.h
configure:19645: result: yes
configure:19645: checking for stdbool.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for time.h
configure:19645: result: yes
configure:19645: checking for limits.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for arpa/nameser.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for arpa/nameser_compat.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19645: checking for arpa/inet.h
configure:19645: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19645: $? = 0
configure:19645: result: yes
configure:19675: checking for an ANSI C-conforming const
configure:19740: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19740: $? = 0
configure:19747: result: yes
configure:19755: checking for size_t
configure:19755: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19755: $? = 0
configure:19755: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:87:21: error: expected expression before ')' token
if (sizeof ((size_t)))
^
configure:19755: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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:19755: result: yes
configure:19766: checking whether time.h and sys/time.h may both be included
configure:19792: result: yes
configure:19804: checking for sys/types.h
configure:19804: result: yes
configure:19804: checking for sys/time.h
configure:19804: result: yes
configure:19804: checking for time.h
configure:19804: result: yes
configure:19804: checking for sys/socket.h
configure:19804: result: yes
configure:19814: checking for struct timeval
configure:19867: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19867: $? = 0
configure:19879: result: yes
configure:19896: checking size of size_t
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19901: $? = 0
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:93:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
^
configure:19901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:93:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
^
configure:19901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:93:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
^
configure:19901: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (size_t))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19901: $? = 0
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19901: $? = 0
configure:19901: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19901: $? = 0
configure:19915: result: 4
configure:19929: checking size of long
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19934: $? = 0
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:94:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
^
configure:19934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:94:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
^
configure:19934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:94:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
^
configure:19934: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19934: $? = 0
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19934: $? = 0
configure:19934: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19934: $? = 0
configure:19948: result: 4
configure:19962: checking size of int
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19967: $? = 0
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:95:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
^
configure:19967: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:95:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
^
configure:19967: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:95:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
^
configure:19967: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19967: $? = 0
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19967: $? = 0
configure:19967: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:19967: $? = 0
configure:19981: result: 4
configure:19995: checking size of short
configure:20000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20000: $? = 0
configure:20000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:96:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
^
configure:20000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:20000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:96:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
^
configure:20000: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:20000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20000: $? = 0
configure:20000: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20000: $? = 0
configure:20014: result: 2
configure:20028: checking size of time_t
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20033: $? = 0
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:97:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
^
configure:20033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:97:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
^
configure:20033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:97:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
^
configure:20033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| /* 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)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (time_t))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20033: $? = 0
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20033: $? = 0
configure:20033: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20033: $? = 0
configure:20047: result: 4
configure:20058: checking for long long
configure:20058: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20058: $? = 0
configure:20058: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:98:24: error: expected expression before ')' token
if (sizeof ((long long)))
^
configure:20058: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20058: result: yes
configure:20069: checking if numberLL works
configure:20086: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20086: $? = 0
configure:20088: result: yes
configure:20105: checking for ssize_t
configure:20105: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20105: $? = 0
configure:20105: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:100:22: error: expected expression before ')' token
if (sizeof ((ssize_t)))
^
configure:20105: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20105: result: yes
configure:20116: checking for bool
configure:20116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20116: $? = 0
configure:20116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:76:19: error: expected expression before ')' token
if (sizeof ((bool)))
^
configure:20116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20116: result: yes
configure:20151: checking for windows.h
configure:20193: result: no
configure:20211: checking for winsock2.h
configure:20254: result: no
configure:20267: checking for ws2tcpip.h
configure:20311: result: no
configure:20337: checking for sys/types.h
configure:20337: result: yes
configure:20337: checking for sys/socket.h
configure:20337: result: yes
configure:20361: checking for ares_socklen_t data type
configure:20389: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20389: $? = 0
configure:20426: result: socklen_t
configure:20433: checking size of ares_socklen_t
configure:20479: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:71:13: error: unknown type name 'socklen_t'
typedef socklen_t ares_socklen_t;
^
configure:20479: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20479: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:71:13: error: unknown type name 'socklen_t'
typedef socklen_t ares_socklen_t;
^
configure:20479: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20479: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20479: $? = 0
configure:20489: result: 4
configure:20536: checking for in_addr_t
configure:20536: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20536: $? = 0
configure:20536: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:104:24: error: expected expression before ')' token
if (sizeof ((in_addr_t)))
^
configure:20536: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20536: result: yes
configure:20652: checking for struct sockaddr_storage
configure:20652: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20652: $? = 0
configure:20652: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:100:38: error: expected expression before ')' token
if (sizeof ((struct sockaddr_storage)))
^
configure:20652: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20652: result: yes
configure:20689: checking signal.h usability
configure:20689: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20689: $? = 0
configure:20689: result: yes
configure:20689: checking signal.h presence
configure:20689: arm-linux-androideabi-gcc -E conftest.c
configure:20689: $? = 0
configure:20689: result: yes
configure:20689: checking for signal.h
configure:20689: result: yes
configure:20699: checking for sig_atomic_t
configure:20699: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20699: $? = 0
configure:20699: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:82:27: error: expected expression before ')' token
if (sizeof ((sig_atomic_t)))
^
configure:20699: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20699: result: yes
configure:20716: checking if sig_atomic_t is already defined as volatile
configure:20736: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20736: $? = 0
configure:20738: result: no
configure:20761: checking return type of signal handlers
configure:20778: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:80:1: error: void value not ignored as it ought to be
return *(signal (0, 0)) (0) == 1;
^
configure:20778: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20785: result: void
configure:20798: checking for sys/types.h
configure:20798: result: yes
configure:20798: checking for sys/socket.h
configure:20798: result: yes
configure:20809: checking for recv
configure:20847: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20847: $? = 0
configure:20849: result: yes
configure:20864: checking types of args and return type for recv
configure:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, size_t, int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, size_t, unsigned int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, int, int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, int, unsigned int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, socklen_t, int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, socklen_t, unsigned int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, unsigned int, int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:104:23: error: conflicting types for 'recv'
recv(int, char *, unsigned int, unsigned int);
^
In file included from conftest.c:99:0:
/sysroot/sysroot/usr/include/sys/socket.h:289:16: note: previous declaration of 'recv' was here
extern ssize_t recv(int, void*, size_t, int);
^
configure:20921: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:20921: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:20921: $? = 0
configure:20935: result: int,void *,size_t,int,int
configure:20986: checking for sys/types.h
configure:20986: result: yes
configure:20986: checking for sys/socket.h
configure:20986: result: yes
configure:20997: checking for recvfrom
configure:21035: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21035: $? = 0
configure:21037: result: yes
configure:21052: checking types of args and return type for recvfrom
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| size_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| socklen_t len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, char *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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,
| const struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| char * buf=0;
| unsigned int len=0;
| unsigned int flags=0;
| const struct sockaddr * addr=0;
| void * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| struct sockaddr *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| void * buf=0;
| size_t len=0;
| int flags=0;
| struct sockaddr * addr=0;
| socklen_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| struct sockaddr *, int *);
|
| int main (void)
| {
|
| int s=0;
| void * buf=0;
| size_t len=0;
| int flags=0;
| struct sockaddr * addr=0;
| int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| struct sockaddr *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| void * buf=0;
| size_t len=0;
| int flags=0;
| struct sockaddr * addr=0;
| unsigned int * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| struct sockaddr *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| void * buf=0;
| size_t len=0;
| int flags=0;
| struct sockaddr * addr=0;
| size_t * addrlen=0;
| int res=0;
| res = recvfrom(s, buf, len, flags, addr, addrlen);
|
| ;
| return 0;
| }
|
configure:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| struct sockaddr *, void *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| void *, socklen_t *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| void *, int *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| void *, unsigned int *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| void *, size_t *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:112:27: error: conflicting types for 'recvfrom'
recvfrom(int, void *,
^
In file included from conftest.c:107:0:
/sysroot/sysroot/usr/include/sys/socket.h:292:22: note: previous declaration of 'recvfrom' was here
__socketcall ssize_t recvfrom(int, void*, size_t, int, const struct sockaddr*, socklen_t*);
^
configure:21116: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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, void *,
| size_t, int,
| void *, void *);
|
| int main (void)
| {
|
| int s=0;
| void * 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:21116: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21116: $? = 0
configure:21132: result: int,void *,size_t,int,const struct sockaddr *,socklen_t *,int
configure:21270: checking for sys/types.h
configure:21270: result: yes
configure:21270: checking for sys/socket.h
configure:21270: result: yes
configure:21281: checking for send
configure:21319: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21319: $? = 0
configure:21321: result: yes
configure:21336: checking types of args and return type for send
configure:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, size_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, size_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, socklen_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, socklen_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, unsigned int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, char *, unsigned int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, size_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, size_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, socklen_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, socklen_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, unsigned int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, void *, unsigned int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, size_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, size_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, socklen_t, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, socklen_t, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, unsigned int, int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:125:23: error: conflicting types for 'send'
send(int, const char *, unsigned int, unsigned int);
^
In file included from conftest.c:120:0:
/sysroot/sysroot/usr/include/sys/socket.h:288:16: note: previous declaration of 'send' was here
extern ssize_t send(int, const void*, size_t, int);
^
configure:21392: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21392: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21392: $? = 0
configure:21406: result: int,const void *,size_t,int,int
configure:21494: checking for sys/types.h
configure:21494: result: yes
configure:21494: checking for sys/socket.h
configure:21494: result: yes
configure:21504: checking for MSG_NOSIGNAL
configure:21546: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21546: $? = 0
configure:21558: result: yes
configure:21584: checking for sys/types.h
configure:21584: result: yes
configure:21584: checking for socket.h
configure:21584: result: no
configure:21603: checking if closesocket can be linked
configure:21623: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/cc2bRDSW.o:conftest.c:function main: error: undefined reference to 'closesocket'
collect2: error: ld returned 1 exit status
configure:21623: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21631: result: no
configure:21718: checking if closesocket might be used
configure:21733: result: no
configure:21745: checking if CloseSocket can be linked
configure:21764: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccUFZoj2.o:conftest.c:function main: error: undefined reference to 'CloseSocket'
collect2: error: ld returned 1 exit status
configure:21764: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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:21772: result: no
configure:21857: checking if CloseSocket might be used
configure:21872: result: no
configure:21884: checking if connect can be linked
configure:21905: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21905: $? = 0
configure:21907: result: yes
configure:21922: checking if connect is prototyped
configure:21935: result: yes
configure:21951: checking if connect is compilable
configure:21972: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:21972: $? = 0
configure:21974: result: yes
configure:21989: checking if connect usage allowed
configure:21992: result: yes
configure:22002: checking if connect might be used
configure:22008: result: yes
configure:22038: checking for sys/types.h
configure:22038: result: yes
configure:22038: checking for unistd.h
configure:22038: result: yes
configure:22038: checking for fcntl.h
configure:22038: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22038: $? = 0
configure:22038: result: yes
configure:22057: checking if fcntl can be linked
configure:22086: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22086: $? = 0
configure:22088: result: yes
configure:22103: checking if fcntl is prototyped
configure:22114: result: yes
configure:22130: checking if fcntl is compilable
configure:22149: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22149: $? = 0
configure:22151: result: yes
configure:22166: checking if fcntl usage allowed
configure:22169: result: yes
configure:22179: checking if fcntl might be used
configure:22185: result: yes
configure:22205: checking if fcntl O_NONBLOCK is compilable
configure:22225: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22225: $? = 0
configure:22227: result: yes
configure:22242: checking if fcntl O_NONBLOCK usage allowed
configure:22245: result: yes
configure:22255: checking if fcntl O_NONBLOCK might be used
configure:22259: result: yes
configure:22292: checking for sys/types.h
configure:22292: result: yes
configure:22292: checking for netdb.h
configure:22292: result: yes
configure:22311: checking if freeaddrinfo can be linked
configure:22331: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22331: $? = 0
configure:22333: result: yes
configure:22348: checking if freeaddrinfo is prototyped
configure:22361: result: yes
configure:22377: checking if freeaddrinfo is compilable
configure:22397: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22397: $? = 0
configure:22399: result: yes
configure:22414: checking if freeaddrinfo usage allowed
configure:22417: result: yes
configure:22427: checking if freeaddrinfo might be used
configure:22433: result: yes
configure:22460: checking for sys/types.h
configure:22460: result: yes
configure:22460: checking for stdlib.h
configure:22460: result: yes
configure:22488: checking for sys/types.h
configure:22488: result: yes
configure:22488: checking for string.h
configure:22488: result: yes
configure:22488: checking for strings.h
configure:22488: result: yes
configure:22509: checking if getaddrinfo can be linked
configure:22530: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22530: $? = 0
configure:22532: result: yes
configure:22547: checking if getaddrinfo is prototyped
configure:22560: result: yes
configure:22576: checking if getaddrinfo is compilable
configure:22597: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22597: $? = 0
configure:22599: result: yes
configure:22676: checking if getaddrinfo usage allowed
configure:22679: result: yes
configure:22689: checking if getaddrinfo might be used
configure:22696: result: yes
configure:22712: checking if getaddrinfo is threadsafe
configure:22777: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22777: $? = 0
configure:22819: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22819: $? = 0
configure:22850: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:136:11: error: unknown type name 'force'
force compilation error
^
conftest.c:136:29: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'error'
force compilation error
^
configure:22850: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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
| /* end confdefs.h. */
|
|
|
| int main (void)
| {
|
| #if defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L)
| return 0;
| #elif defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700)
| return 0;
| #else
| force compilation error
| #endif
|
| ;
| return 0;
| }
|
configure:22868: result: yes
configure:22889: checking if getenv can be linked
configure:22918: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22918: $? = 0
configure:22920: result: yes
configure:22935: checking if getenv is prototyped
configure:22946: result: yes
configure:22962: checking if getenv is compilable
configure:22981: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:22981: $? = 0
configure:22983: result: yes
configure:22998: checking if getenv usage allowed
configure:23001: result: yes
configure:23011: checking if getenv might be used
configure:23017: result: yes
configure:23038: checking if gethostbyaddr can be linked
configure:23058: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23058: $? = 0
configure:23060: result: yes
configure:23075: checking if gethostbyaddr is prototyped
configure:23087: result: yes
configure:23103: checking if gethostbyaddr is compilable
configure:23123: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23123: $? = 0
configure:23125: result: yes
configure:23140: checking if gethostbyaddr usage allowed
configure:23143: result: yes
configure:23153: checking if gethostbyaddr might be used
configure:23159: result: yes
configure:23180: checking if gethostbyname can be linked
configure:23200: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23200: $? = 0
configure:23202: result: yes
configure:23217: checking if gethostbyname is prototyped
configure:23229: result: yes
configure:23245: checking if gethostbyname is compilable
configure:23265: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23265: $? = 0
configure:23267: result: yes
configure:23282: checking if gethostbyname usage allowed
configure:23285: result: yes
configure:23295: checking if gethostbyname might be used
configure:23301: result: yes
configure:23328: checking for sys/types.h
configure:23328: result: yes
configure:23328: checking for unistd.h
configure:23328: result: yes
configure:23347: checking if gethostname can be linked
configure:23367: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23367: $? = 0
configure:23369: result: yes
configure:23384: checking if gethostname is prototyped
configure:23396: result: yes
configure:23412: checking if gethostname is compilable
configure:23432: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23432: $? = 0
configure:23434: result: yes
configure:23449: checking for gethostname arg 2 data type
configure:23475: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:163:38: error: conflicting types for 'gethostname'
extern int FUNCALLCONV gethostname(char *, int);
^
In file included from conftest.c:153:0:
/sysroot/sysroot/usr/include/unistd.h:162:12: note: previous declaration of 'gethostname' was here
extern int gethostname(char *, size_t);
^
configure:23475: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_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_UNISTD_H
| # include
| #endif
| /* includes end */
| /* preprocess start */
| #ifdef HAVE_WINDOWS_H
| # define FUNCALLCONV __stdcall
| #else
| # define FUNCALLCONV
| #endif
| /* preprocess end */
| extern int FUNCALLCONV gethostname(char *, int);
|
| int main (void)
| {
|
| if(0 != gethostname(0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:23475: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:23475: $? = 0
configure:23484: result: unsigned int
configure:23496: checking if gethostname usage allowed
configure:23499: result: yes
configure:23509: checking if gethostname might be used
configure:23515: result: yes
configure:23537: checking if getservbyport_r can be linked
configure:23566: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/cc8mbiAn.o:conftest.c:function main: error: undefined reference to 'getservbyport_r'
collect2: error: ld returned 1 exit status
configure:23566: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| /* end confdefs.h. */
|
|
| #define getservbyport_r innocuous_getservbyport_r
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| #undef getservbyport_r
| #ifdef __cplusplus
| extern "C"
| #endif
| char getservbyport_r ();
| #if defined __stub_getservbyport_r || defined __stub___getservbyport_r
| choke me
| #endif
|
| int main (void)
| {
| return getservbyport_r ();
| ;
| return 0;
| }
|
configure:23574: result: no
configure:23743: checking if getservbyport_r might be used
configure:23772: result: no
configure:23796: checking for sys/types.h
configure:23796: result: yes
configure:23796: checking for sys/socket.h
configure:23796: result: yes
configure:23796: checking for netinet/in.h
configure:23796: result: yes
configure:23796: checking for arpa/inet.h
configure:23796: result: yes
configure:23816: checking if inet_net_pton can be linked
configure:23845: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/cci8ZSDw.o:conftest.c:function main: error: undefined reference to 'inet_net_pton'
collect2: error: ld returned 1 exit status
configure:23845: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| /* end confdefs.h. */
|
|
| #define inet_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:23853: result: no
configure:24101: checking if inet_net_pton might be used
configure:24117: result: no
configure:24130: checking if inet_ntop can be linked
configure:24159: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24159: $? = 0
configure:24161: result: yes
configure:24176: checking if inet_ntop is prototyped
configure:24187: result: yes
configure:24203: checking if inet_ntop is compilable
configure:24222: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24222: $? = 0
configure:24224: result: yes
configure:24335: checking if inet_ntop usage allowed
configure:24338: result: yes
configure:24348: checking if inet_ntop might be used
configure:24355: result: yes
configure:24377: checking if inet_pton can be linked
configure:24406: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24406: $? = 0
configure:24408: result: yes
configure:24423: checking if inet_pton is prototyped
configure:24434: result: yes
configure:24450: checking if inet_pton is compilable
configure:24469: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24469: $? = 0
configure:24471: result: yes
configure:24575: checking if inet_pton usage allowed
configure:24578: result: yes
configure:24588: checking if inet_pton might be used
configure:24595: result: yes
configure:24631: checking for sys/types.h
configure:24631: result: yes
configure:24631: checking for unistd.h
configure:24631: result: yes
configure:24631: checking for sys/socket.h
configure:24631: result: yes
configure:24631: checking for sys/ioctl.h
configure:24631: result: yes
configure:24631: checking for stropts.h
configure:24631: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:161:21: fatal error: stropts.h: No such file or directory
#include
^
compilation terminated.
configure:24631: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| /* end confdefs.h. */
| /* includes start */
| #ifdef HAVE_SYS_TYPES_H
| # include
| #endif
| #ifdef HAVE_UNISTD_H
| # include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| # include
| #endif
| #ifdef HAVE_SYS_IOCTL_H
| # include
| #endif
| #ifdef HAVE_STROPTS_H
| # include
| #endif
| /* includes end */
|
| #include
configure:24631: result: no
configure:24650: checking if ioctl can be linked
configure:24679: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24679: $? = 0
configure:24681: result: yes
configure:24696: checking if ioctl is prototyped
configure:24707: result: yes
configure:24723: checking if ioctl is compilable
configure:24742: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24742: $? = 0
configure:24744: result: yes
configure:24759: checking if ioctl usage allowed
configure:24762: result: yes
configure:24772: checking if ioctl might be used
configure:24778: result: yes
configure:24792: checking if ioctl FIONBIO is compilable
configure:24812: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24812: $? = 0
configure:24814: result: yes
configure:24829: checking if ioctl FIONBIO usage allowed
configure:24832: result: yes
configure:24842: checking if ioctl FIONBIO might be used
configure:24846: result: yes
configure:24866: checking if ioctl SIOCGIFADDR is compilable
configure:24887: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:24887: $? = 0
configure:24889: result: yes
configure:24904: checking if ioctl SIOCGIFADDR usage allowed
configure:24907: result: yes
configure:24917: checking if ioctl SIOCGIFADDR might be used
configure:24921: result: yes
configure:24948: checking if ioctlsocket can be linked
configure:24967: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/cckl2mzn.o:conftest.c:function main: error: undefined reference to 'ioctlsocket'
collect2: error: ld returned 1 exit status
configure:24967: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| /* end confdefs.h. */
|
|
| /* includes start */
| #ifdef HAVE_WINDOWS_H
| # ifndef WIN32_LEAN_AND_MEAN
| # define WIN32_LEAN_AND_MEAN
| # endif
| # include
| # ifdef HAVE_WINSOCK2_H
| # include
| # else
| # ifdef HAVE_WINSOCK_H
| # include
| # endif
| # endif
| #endif
| /* includes end */
|
| int main (void)
| {
|
| if(0 != ioctlsocket(0, 0, 0))
| return 1;
|
| ;
| return 0;
| }
|
configure:24975: result: no
configure:25060: checking if ioctlsocket might be used
configure:25149: result: no
configure:25161: checking if IoctlSocket can be linked
configure:25190: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/cctyivUm.o:conftest.c:function main: error: undefined reference to 'IoctlSocket'
collect2: error: ld returned 1 exit status
configure:25190: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| /* end confdefs.h. */
|
|
| #define IoctlSocket innocuous_IoctlSocket
| #ifdef __STDC__
| # include
| #else
| # include
| #endif
| #undef IoctlSocket
| #ifdef __cplusplus
| extern "C"
| #endif
| char IoctlSocket ();
| #if defined __stub_IoctlSocket || defined __stub___IoctlSocket
| choke me
| #endif
|
| int main (void)
| {
| return IoctlSocket ();
| ;
| return 0;
| }
|
configure:25198: result: no
configure:25283: checking if IoctlSocket might be used
configure:25372: result: no
configure:25384: checking if setsockopt can be linked
configure:25404: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:25404: $? = 0
configure:25406: result: yes
configure:25421: checking if setsockopt is prototyped
configure:25433: result: yes
configure:25449: checking if setsockopt is compilable
configure:25469: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:25469: $? = 0
configure:25471: result: yes
configure:25486: checking if setsockopt usage allowed
configure:25489: result: yes
configure:25499: checking if setsockopt might be used
configure:25505: result: yes
configure:25519: checking if setsockopt SO_NONBLOCK is compilable
configure:25539: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:176:43: error: 'SO_NONBLOCK' undeclared (first use in this function)
if(0 != setsockopt(0, SOL_SOCKET, SO_NONBLOCK, 0, 0))
^
conftest.c:176:43: note: each undeclared identifier is reported only once for each function it appears in
configure:25539: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:25547: result: no
configure:25569: checking if setsockopt SO_NONBLOCK might be used
configure:25582: result: no
configure:25600: checking if socket can be linked
configure:25621: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:25621: $? = 0
configure:25623: result: yes
configure:25638: checking if socket is prototyped
configure:25651: result: yes
configure:25667: checking if socket is compilable
configure:25688: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:25688: $? = 0
configure:25690: result: yes
configure:25705: checking if socket usage allowed
configure:25708: result: yes
configure:25718: checking if socket might be used
configure:25724: result: yes
configure:25745: checking if strcasecmp can be linked
configure:25774: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:160:6: warning: conflicting types for built-in function 'strcasecmp' [enabled by default]
char strcasecmp ();
^
configure:25774: $? = 0
configure:25776: result: yes
configure:25791: checking if strcasecmp is prototyped
configure:25802: result: yes
configure:25818: checking if strcasecmp is compilable
configure:25837: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:25837: $? = 0
configure:25839: result: yes
configure:25854: checking if strcasecmp usage allowed
configure:25857: result: yes
configure:25867: checking if strcasecmp might be used
configure:25873: result: yes
configure:25894: checking if strcmpi can be linked
configure:25923: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccucT6O0.o:conftest.c:function main: error: undefined reference to 'strcmpi'
collect2: error: ld returned 1 exit status
configure:25923: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:25931: result: no
configure:26016: checking if strcmpi might be used
configure:26031: result: no
configure:26043: checking if strdup can be linked
configure:26072: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:161:6: warning: conflicting types for built-in function 'strdup' [enabled by default]
char strdup ();
^
configure:26072: $? = 0
configure:26074: result: yes
configure:26089: checking if strdup is prototyped
configure:26100: result: yes
configure:26116: checking if strdup is compilable
configure:26135: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:26135: $? = 0
configure:26137: result: yes
configure:26152: checking if strdup usage allowed
configure:26155: result: yes
configure:26165: checking if strdup might be used
configure:26171: result: yes
configure:26192: checking if stricmp can be linked
configure:26221: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccg6rmbf.o:conftest.c:function main: error: undefined reference to 'stricmp'
collect2: error: ld returned 1 exit status
configure:26221: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:26229: result: no
configure:26314: checking if stricmp might be used
configure:26329: result: no
configure:26341: checking if strncasecmp can be linked
configure:26370: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:162:6: warning: conflicting types for built-in function 'strncasecmp' [enabled by default]
char strncasecmp ();
^
configure:26370: $? = 0
configure:26372: result: yes
configure:26387: checking if strncasecmp is prototyped
configure:26398: result: yes
configure:26414: checking if strncasecmp is compilable
configure:26433: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:26433: $? = 0
configure:26435: result: yes
configure:26450: checking if strncasecmp usage allowed
configure:26453: result: yes
configure:26463: checking if strncasecmp might be used
configure:26469: result: yes
configure:26490: checking if strncmpi can be linked
configure:26519: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccDMw51l.o:conftest.c:function main: error: undefined reference to 'strncmpi'
collect2: error: ld returned 1 exit status
configure:26519: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:26527: result: no
configure:26612: checking if strncmpi might be used
configure:26627: result: no
configure:26639: checking if strnicmp can be linked
configure:26668: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccgmkADf.o:conftest.c:function main: error: undefined reference to 'strnicmp'
collect2: error: ld returned 1 exit status
configure:26668: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:26676: result: no
configure:26761: checking if strnicmp might be used
configure:26776: result: no
configure:26794: checking for sys/types.h
configure:26794: result: yes
configure:26794: checking for sys/uio.h
configure:26794: result: yes
configure:26813: checking if writev can be linked
configure:26842: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:26842: $? = 0
configure:26844: result: yes
configure:26859: checking if writev is prototyped
configure:26870: result: yes
configure:26886: checking if writev is compilable
configure:26905: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:26905: $? = 0
configure:26907: result: yes
configure:26922: checking if writev usage allowed
configure:26925: result: yes
configure:26935: checking if writev might be used
configure:26941: result: yes
configure:26958: checking for PF_INET6
configure:27000: result: yes
configure:27016: checking for AF_INET6
configure:27058: result: yes
configure:27075: checking for struct in6_addr
configure:27110: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27110: $? = 0
configure:27117: result: yes
configure:27133: checking for struct sockaddr_in6
configure:27168: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27168: $? = 0
configure:27175: result: yes
configure:27190: checking for struct sockaddr_in6.sin6_scope_id
configure:27190: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27190: $? = 0
configure:27190: result: yes
configure:27223: checking for struct addrinfo.ai_flags
configure:27223: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27223: $? = 0
configure:27223: result: yes
configure:27269: checking for bitncmp
configure:27269: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccMihmxt.o:conftest.c:function main: error: undefined reference to 'bitncmp'
collect2: error: ld returned 1 exit status
configure:27269: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27269: result: no
configure:27279: checking deeper for bitncmp
configure:27296: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
/tmp/ccUakQCy.o:conftest.c:function main: error: undefined reference to 'bitncmp'
collect2: error: ld returned 1 exit status
configure:27296: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27309: result: but still no
configure:27269: checking for gettimeofday
configure:27269: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27269: $? = 0
configure:27269: result: yes
configure:27269: checking for if_indextoname
configure:27269: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27269: $? = 0
configure:27269: result: yes
configure:27325: checking size of struct in6_addr
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:191:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 0)];
^
configure:27330: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:191:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 1)];
^
configure:27330: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:191:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 3)];
^
configure:27330: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:191:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 7)];
^
configure:27330: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 7)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:191:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 15)];
^
configure:27330: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in6_addr))) <= 15)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27330: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27330: $? = 0
configure:27370: result: 16
configure:27385: checking size of struct in_addr
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27390: $? = 0
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:192:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 0)];
^
configure:27390: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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
| /* end confdefs.h. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 0)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:192:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 1)];
^
configure:27390: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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
| /* end confdefs.h. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 1)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:192:12: error: size of array 'test_array' is negative
static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 3)];
^
configure:27390: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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
| /* end confdefs.h. */
|
| #undef inline
| #ifdef HAVE_WINDOWS_H
| #ifndef WIN32_LEAN_AND_MEAN
| #define WIN32_LEAN_AND_MEAN
| #endif
| #include
| #ifdef HAVE_WINSOCK2_H
| #include
| #ifdef HAVE_WS2TCPIP_H
| #include
| #endif
| #endif
| #else
| #ifdef HAVE_SYS_TYPES_H
| #include
| #endif
| #ifdef HAVE_SYS_SOCKET_H
| #include
| #endif
| #ifdef HAVE_NETINET_IN_H
| #include
| #endif
| #endif
|
|
|
| int main (void)
| {
| static int test_array [1 - 2 * !(((long int) (sizeof (struct in_addr))) <= 3)];
| test_array [0] = 0;
| return test_array [0];
|
| ;
| return 0;
| }
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27390: $? = 0
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27390: $? = 0
configure:27390: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27390: $? = 0
configure:27430: result: 4
configure:27446: checking for sys/types.h
configure:27446: result: yes
configure:27446: checking for sys/socket.h
configure:27446: result: yes
configure:27446: checking for netdb.h
configure:27446: result: yes
configure:27457: checking for getnameinfo
configure:27486: arm-linux-androideabi-gcc -o conftest -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27486: $? = 0
configure:27488: result: yes
configure:27596: checking types of arguments for getnameinfo
configure:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, socklen_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, size_t,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:198:44: error: conflicting types for 'getnameinfo'
extern int GNICALLCONV getnameinfo(struct sockaddr *, int,
^
In file included from conftest.c:194:0:
/sysroot/sysroot/usr/include/netdb.h:244:5: note: previous declaration of 'getnameinfo' was here
int getnameinfo(const struct sockaddr *, socklen_t, char *, size_t, char *, size_t, int);
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:199:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c:200:52: error: unknown type name 'DWORD'
char *, DWORD,
^
conftest.c: In function 'main':
conftest.c:207:21: error: unknown type name 'DWORD'
DWORD hostlen=0;
^
conftest.c:208:21: error: unknown type name 'DWORD'
DWORD servlen=0;
^
configure:27660: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27660: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27660: $? = 0
configure:27673: result: const struct sockaddr *,socklen_t,size_t,int
configure:27755: checking whether byte ordering is bigendian
configure:27770: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c:174:9: error: unknown type name 'not'
not a universal capable compiler
^
conftest.c:174:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
not a universal capable compiler
^
conftest.c:174:15: error: unknown type name 'universal'
configure:27770: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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:27814: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:179:8: error: unknown type name 'bogus'
bogus endian macros
^
conftest.c:179:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'macros'
bogus endian macros
^
configure:27814: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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 ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:27856: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
conftest.c: In function 'main':
conftest.c:178:8: error: unknown type name 'bogus'
bogus endian macros
^
conftest.c:178:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'macros'
bogus endian macros
^
configure:27856: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "c-ares"
| #define PACKAGE_TARNAME "c-ares"
| #define PACKAGE_VERSION "1.11.0"
| #define PACKAGE_STRING "c-ares 1.11.0"
| #define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
| #define PACKAGE_URL ""
| #define OS "arm-unknown-linux-androideabi"
| #define PACKAGE "c-ares"
| #define VERSION "1.11.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_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_LONG 4
| #define SIZEOF_INT 4
| #define SIZEOF_SHORT 2
| #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_QUAL_ARG5 const
| #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_GETENV 1
| #define HAVE_GETHOSTBYADDR 1
| #define HAVE_GETHOSTBYNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define GETHOSTNAME_TYPE_ARG2 unsigned int
| #define HAVE_GETHOSTNAME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_INET_NTOP 1
| #define HAVE_INET_PTON 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_IOCTL 1
| #define HAVE_IOCTL_FIONBIO 1
| #define HAVE_IOCTL_SIOCGIFADDR 1
| #define HAVE_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
|
| int main (void)
| {
| #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
| bogus endian macros
| #endif
|
| ;
| return 0;
| }
configure:27910: arm-linux-androideabi-gcc -c -g0 -O2 -Wno-system-headers conftest.c >&5
configure:27910: $? = 0
configure:27955: result: no
configure:28005: WARNING: cannot check for /dev/urandom while cross compiling; assuming none
configure:28023: checking whether to enable non-blocking communications
configure:28042: result: yes
configure:28049: checking how to set a socket into non-blocking mode
configure:28062: result: fcntl O_NONBLOCK
configure:28081: checking whether hiding of library internal symbols will actually happen
configure:28095: result: yes
configure:28431: checking that generated files are newer than configure
configure:28437: result: done
configure:28489: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by c-ares config.status 1.11.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on e9f6bb53a27e
config.status:1264: creating Makefile
config.status:1264: creating libcares.pc
config.status:1264: creating ares_config.h
config.status:1264: creating ares_build.h
config.status:1493: executing depfiles commands
config.status:1493: executing libtool commands
configure:30799: amending ./Makefile
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_const=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=arm-linux-androideabi-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=arm-linux-androideabi
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
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_getenv=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=no
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=no
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=arm-unknown-linux-androideabi
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_AR=/sysroot/bin/arm-linux-androideabi-ar
ac_cv_path_EGREP='/usr/sbin/grep -E'
ac_cv_path_FGREP='/usr/sbin/grep -F'
ac_cv_path_GREP=/usr/sbin/grep
ac_cv_path_SED=/usr/sbin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/sbin/dd
ac_cv_path_mkdir=/usr/sbin/mkdir
ac_cv_prog_AR=/sysroot/bin/arm-linux-androideabi-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=arm-linux-androideabi-gcc
ac_cv_prog_CPP='arm-linux-androideabi-gcc -E'
ac_cv_prog_OBJDUMP=arm-linux-androideabi-objdump
ac_cv_prog_RANLIB=arm-linux-androideabi-ranlib
ac_cv_prog_STRIP=arm-linux-androideabi-strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_sig_atomic_t_volatile=no
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_short=2
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=unknown
ac_cv_sys_large_files=unknown
ac_cv_sys_largefile_CC=no
ac_cv_type_bool=yes
ac_cv_type_in_addr_t=yes
ac_cv_type_long_long=yes
ac_cv_type_sig_atomic_t=yes
ac_cv_type_signal=void
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_struct_sockaddr_storage=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
curl_cv_def___GNUC__=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,const 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__WIN32=no
curl_cv_have_def___DECC=no
curl_cv_have_def___DECC_VER=no
curl_cv_have_def___GNUC__=yes
curl_cv_have_def___HP_cc=no
curl_cv_have_def___IBMC__=no
curl_cv_have_def___INTEL_COMPILER=no
curl_cv_have_def___LCC__=no
curl_cv_have_def___SUNPRO_C=no
curl_cv_have_def___TINYC__=no
curl_cv_have_def___WATCOMC__=no
curl_cv_have_def___clang__=no
curl_cv_have_def___sgi=no
curl_cv_have_def_h_errno=yes
curl_cv_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_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/sysroot/arm-linux-androideabi/bin/ld
lt_cv_path_NM='/sysroot/bin/arm-linux-androideabi-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_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/sbin/dd bs=4096 count=1'
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='/sysroot/bin/arm-linux-androideabi-ar'
AS='as'
AUTOCONF='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing autoconf'
AUTOHEADER='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing autoheader'
AUTOMAKE='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing automake-1.15'
AWK='gawk'
CARES_CFLAG_EXTRAS=''
CARES_LT_SHLIB_USE_MIMPURE_TEXT_FALSE=''
CARES_LT_SHLIB_USE_MIMPURE_TEXT_TRUE='#'
CARES_LT_SHLIB_USE_NO_UNDEFINED_FALSE=''
CARES_LT_SHLIB_USE_NO_UNDEFINED_TRUE='#'
CARES_LT_SHLIB_USE_VERSION_INFO_FALSE=''
CARES_LT_SHLIB_USE_VERSION_INFO_TRUE='#'
CARES_PRIVATE_LIBS=''
CC='arm-linux-androideabi-gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g0 -O2 -Wno-system-headers'
CFLAG_CARES_SYMBOL_HIDING='-fvisibility=hidden'
CODE_COVERAGE_CFLAGS=''
CODE_COVERAGE_ENABLED='no'
CODE_COVERAGE_ENABLED_FALSE=''
CODE_COVERAGE_ENABLED_TRUE='#'
CODE_COVERAGE_LDFLAGS=''
CODE_COVERAGE_RULES=''
CPP='arm-linux-androideabi-gcc -E'
CPPFLAGS=''
CPPFLAG_CARES_STATICLIB=''
CURLDEBUG_FALSE=''
CURLDEBUG_TRUE='#'
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DOING_CARES_SYMBOL_HIDING_FALSE='#'
DOING_CARES_SYMBOL_HIDING_TRUE=''
DOING_NATIVE_WINDOWS_FALSE=''
DOING_NATIVE_WINDOWS_TRUE='#'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/sbin/grep -E'
EXEEXT=''
FGREP='/usr/sbin/grep -F'
GCOV=''
GENHTML=''
GREP='/usr/sbin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LCOV=''
LD='/sysroot/arm-linux-androideabi/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/sbin/mkdir -p'
NM='/sysroot/bin/arm-linux-androideabi-nm -B'
NMEDIT=''
OBJDUMP='arm-linux-androideabi-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.11.0'
PACKAGE_TARNAME='c-ares'
PACKAGE_URL=''
PACKAGE_VERSION='1.11.0'
PATH_SEPARATOR=':'
RANDOM_FILE=''
RANLIB='arm-linux-androideabi-ranlib'
SED='/usr/sbin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='arm-linux-androideabi-strip'
USE_CPPFLAG_CARES_STATICLIB_FALSE=''
USE_CPPFLAG_CARES_STATICLIB_TRUE='#'
VERSION='1.11.0'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='arm-unknown-linux-androideabi'
host_alias='arm-linux-androideabi'
host_cpu='arm'
host_os='linux-androideabi'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /tmp/c-ares/src/c-ares-1.11.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "c-ares"
#define PACKAGE_TARNAME "c-ares"
#define PACKAGE_VERSION "1.11.0"
#define PACKAGE_STRING "c-ares 1.11.0"
#define PACKAGE_BUGREPORT "c-ares mailing list: http://cool.haxx.se/mailman/listinfo/c-ares"
#define PACKAGE_URL ""
#define OS "arm-unknown-linux-androideabi"
#define PACKAGE "c-ares"
#define VERSION "1.11.0"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_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_LONG 4
#define SIZEOF_INT 4
#define SIZEOF_SHORT 2
#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_QUAL_ARG5 const
#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_GETENV 1
#define HAVE_GETHOSTBYADDR 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define GETHOSTNAME_TYPE_ARG2 unsigned int
#define HAVE_GETHOSTNAME 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_IOCTL 1
#define HAVE_IOCTL_FIONBIO 1
#define HAVE_IOCTL_SIOCGIFADDR 1
#define HAVE_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 CARES_SYMBOL_SCOPE_EXTERN __attribute__ ((__visibility__ ("default")))
#define CARES_SYMBOL_HIDING 1
configure: exit 0