Project

General

Profile

Bug #1834 » mkmf-enable-wide-getaddrinfo.log

luislavena (Luis Lavena), 07/30/2009 10:29 AM

 
have_library: checking for WSACleanup() in -lws2_32... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))WSACleanup; return 0; }
/* end */

--------------------

have_header: checking for arpa/inet.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <arpa/inet.h>
/* end */

--------------------

<top (required)>: checking for ipv6... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/types.h>
6: #ifndef _WIN32
7: #include <sys/socket.h>
8: #endif
9: int
10: main()
11: {
12: socket(AF_INET6, SOCK_STREAM, 0);
13: }
/* end */

--------------------

<top (required)>: checking for ipv6 type... -------------------- unknown

have_macro: checking for IPV6_INRIA_VERSION in netinet/in.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <netinet/in.h>
6: /*top*/
7: #ifndef IPV6_INRIA_VERSION
8: # error
9: >>>>>> IPV6_INRIA_VERSION undefined <<<<<<
10: #endif
/* end */

--------------------

have_macro: checking for __KAME__ in netinet/in.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <netinet/in.h>
6: /*top*/
7: #ifndef __KAME__
8: # error
9: >>>>>> __KAME__ undefined <<<<<<
10: #endif
/* end */

--------------------

have_macro: checking for _TOSHIBA_INET6 in sys/param.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/param.h>
6: /*top*/
7: #ifndef _TOSHIBA_INET6
8: # error
9: >>>>>> _TOSHIBA_INET6 undefined <<<<<<
10: #endif
/* end */

--------------------

have_macro: checking for __V6D__ in sys/v6config.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/v6config.h>
6: /*top*/
7: #ifndef __V6D__
8: # error
9: >>>>>> __V6D__ undefined <<<<<<
10: #endif
/* end */

--------------------

have_macro: checking for _ZETA_MINAMI_INET6 in sys/param.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/param.h>
6: /*top*/
7: #ifndef _ZETA_MINAMI_INET6
8: # error
9: >>>>>> _ZETA_MINAMI_INET6 undefined <<<<<<
10: #endif
/* end */

--------------------

have_library: checking for main() in -linet6... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -linet6 -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -linet6 -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { main(); return 0; }
/* end */

--------------------

--------------------

have_struct_member: checking for struct sockaddr_in.sin_len... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((struct sockaddr_in*)0)->sin_len - (char *)0;
/* end */

--------------------

have_struct_member: checking for struct sockaddr_storage.ss_family... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((struct sockaddr_storage*)0)->ss_family - (char *)0;
/* end */

--------------------

have_struct_member: checking for struct sockaddr.sa_len... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((struct sockaddr*)0)->sa_len - (char *)0;
/* end */

--------------------

have_header: checking for netinet/tcp.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <netinet/tcp.h>
/* end */

--------------------

have_header: checking for netinet/udp.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <netinet/udp.h>
/* end */

--------------------

have_func: checking for sendmsg()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))sendmsg; return 0; }
/* end */

--------------------

have_func: checking for recvmsg()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))recvmsg; return 0; }
/* end */

--------------------

have_struct_member: checking for struct msghdr.msg_control in sys/types.h,sys/socket.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/types.h>
6: #include <sys/socket.h>
7:
8: /*top*/
9: int main() {return 0;}
10: int s = (char *)&((struct msghdr*)0)->msg_control - (char *)0;
/* end */

--------------------

have_struct_member: checking for struct msghdr.msg_accrights in sys/types.h,sys/socket.h... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/types.h>
6: #include <sys/socket.h>
7:
8: /*top*/
9: int main() {return 0;}
10: int s = (char *)&((struct msghdr*)0)->msg_accrights - (char *)0;
/* end */

--------------------

have_func: checking for getnameinfo()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getnameinfo; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { getnameinfo(); return 0; }
/* end */

--------------------

have_struct_member: checking for struct in6_addr.s6_addr8... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((struct in6_addr*)0)->s6_addr8 - (char *)0;
/* end */

--------------------

have_func: checking for inet_ntop()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))inet_ntop; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { inet_ntop(); return 0; }
/* end */

--------------------

have_func: checking for inet_ntoa()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))inet_ntoa; return 0; }
/* end */

--------------------

have_func: checking for inet_pton()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))inet_pton; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { inet_pton(); return 0; }
/* end */

--------------------

have_func: checking for inet_aton()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))inet_aton; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { inet_aton(); return 0; }
/* end */

--------------------

have_func: checking for getservbyport()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getservbyport; return 0; }
/* end */

--------------------

have_func: checking for gai_strerror()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))gai_strerror; return 0; }
/* end */

--------------------

<top (required)>: checking for gai_strerror() returns const pointer... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: #include <stdlib.h>
7: void
8: conftest_gai_strerror_is_const()
9: {
10: *gai_strerror(0) = 0;
11: }
/* end */

--------------------

have_header: checking for arpa/nameser.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <arpa/nameser.h>
/* end */

--------------------

have_header: checking for resolv.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <resolv.h>
/* end */

--------------------

have_header: checking for ifaddrs.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ifaddrs.h>
/* end */

--------------------

have_func: checking for getifaddrs()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getifaddrs; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { getifaddrs(); return 0; }
/* end */

--------------------

have_header: checking for sys/ioctl.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/ioctl.h>
/* end */

--------------------

have_header: checking for sys/sockio.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/sockio.h>
/* end */

--------------------

have_header: checking for net/if.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <net/if.h>
/* end */

--------------------

have_header: checking for sys/param.h... -------------------- yes

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/param.h>
/* end */

--------------------

have_header: checking for sys/ucred.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/ucred.h>
/* end */

--------------------

have_type: checking for socklen_t... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: typedef socklen_t conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_header: checking for sys/un.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/un.h>
/* end */

--------------------

have_header: checking for sys/uio.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <sys/uio.h>
/* end */

--------------------

have_type: checking for struct in_pktinfo... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: #if defined(IPPROTO_IP) && defined(IP_PKTINFO)
7: typedef struct in_pktinfo conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
9: #else
10: #error
11: >>>>>> no in_pktinfo <<<<<<
12: #endif
/* end */

--------------------

have_type: checking for struct in6_pktinfo... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: #if defined(IPPROTO_IPV6) && defined(IPV6_PKTINFO)
7: typedef struct in6_pktinfo conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
9: #else
10: #error
11: >>>>>> no in6_pktinfo <<<<<<
12: #endif
/* end */

--------------------

have_struct_member: checking for struct in_pktinfo.ipi_spec_dst... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int s = (char *)&((struct in_pktinfo*)0)->ipi_spec_dst - (char *)0;
/* end */

--------------------

have_type: checking for struct sockcred... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: typedef struct sockcred conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_type: checking for struct cmsgcred... -------------------- no

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: typedef struct cmsgcred conftest_type;
8: int conftestval[sizeof(conftest_type)?1:-1];
/* end */

--------------------

have_func: checking for getpeereid()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getpeereid; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { getpeereid(); return 0; }
/* end */

--------------------

have_header: checking for ucred.h... -------------------- no

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <ucred.h>
/* end */

--------------------

have_func: checking for getpeerucred()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getpeerucred; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { getpeerucred(); return 0; }
/* end */

--------------------

have_const: checking for IPPROTO_IPV6... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: typedef int conftest_type;
8: conftest_type conftestval = (int)IPPROTO_IPV6;
/* end */

--------------------

have_macro: checking for IPPROTO_IPV6... -------------------- yes

"gcc -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: /*top*/
6: #ifndef IPPROTO_IPV6
7: # error
8: >>>>>> IPPROTO_IPV6 undefined <<<<<<
9: #endif
/* end */

--------------------

have_func: checking for WSACleanup()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))WSACleanup; return 0; }
/* end */

--------------------

have_func: checking for hsterror()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))hsterror; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { hsterror(); return 0; }
/* end */

--------------------

have_func: checking for getipnodebyname()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))getipnodebyname; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { getipnodebyname(); return 0; }
/* end */

--------------------

have_func: checking for gethostbyname2()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))gethostbyname2; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { gethostbyname2(); return 0; }
/* end */

--------------------

have_func: checking for socketpair()... -------------------- no

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))socketpair; return 0; }
/* end */

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { socketpair(); return 0; }
/* end */

--------------------

have_func: checking for gethostname()... -------------------- yes

"gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../ruby_1_9/include -I../../../ruby_1_9/ext/socket -I. -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings conftest.c -L. -L../.. -L. -lws2_32 -lmsvcrt-ruby191-static -lws2_32 -lshell32 -lws2_32 "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: int main() {return 0;}
8: int t() { void ((*volatile p)()); p = (void ((*)()))gethostname; return 0; }
/* end */

--------------------

(2-2/3)