[#22684] [Bug #1247] YAML::load converts some dates into strings — Matthew Wilson <redmine@...>

Bug #1247: YAML::load converts some dates into strings

10 messages 2009/03/05

[#22725] [Bug #1253] Fix MSVC Build Issues — Charlie Savage <redmine@...>

Bug #1253: Fix MSVC Build Issues

13 messages 2009/03/07

[#22727] Moving ruby 1.9.1 forward on windows — Charlie Savage <cfis@...>

Hi everyone,

14 messages 2009/03/08

[#22731] [Bug #1255] += for large strings egrigiously slow — James Lee <redmine@...>

Bug #1255: += for large strings egrigiously slow

11 messages 2009/03/08

[#22736] Ruby 1.9.1 and tail recursion optimization — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Moin, moin!

13 messages 2009/03/08
[#22739] Re: Ruby 1.9.1 and tail recursion optimization — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...> 2009/03/08

Wolfgang N疆asi-Donner schrieb:

[#22748] [Feature #1256] Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented — Wolfgang Nádasi-Donner <redmine@...>

Feature #1256: Add constant TAILRECURSION to let a program recognize if tail recursion optimization is implemented

7 messages 2009/03/08

[#22803] Relegate 1.8.6 to Engine Yard, part II — Urabe Shyouhei <shyouhei@...>

Hello and sorry for my being slow for this issue. It's OK now for me to pass

21 messages 2009/03/10

[#22812] [Bug #1261] cross-compiling Ruby extensions using mkmf doesn't fully respect DESTDIR — Daniel Golle <redmine@...>

Bug #1261: cross-compiling Ruby extensions using mkmf doesn't fully respect DESTDIR

8 messages 2009/03/10

[#22892] Ruby Time — valodzka <valodzka@...>

Got tired of current ruby Time limitation, I have written this -

24 messages 2009/03/14
[#22949] Re: Ruby Time — Tanaka Akira <akr@...> 2009/03/19

In article <9e19ed87-9d12-4f98-af3c-bd49a71b0bd4@p11g2000yqe.googlegroups.com>,

[#22974] Re: Ruby Time — valodzka <valodzka@...> 2009/03/20

[#22977] Re: Ruby Time — Urabe Shyouhei <shyouhei@...> 2009/03/20

valodzka wrote:

[#22981] Re: Ruby Time — valodzka <valodzka@...> 2009/03/21

> I bet you'll get tired of updating that database. There's a major difference

[#22893] [Feature #1291] O_CLOEXEC flag missing for Kernel::open — David Martin <redmine@...>

Feature #1291: O_CLOEXEC flag missing for Kernel::open

10 messages 2009/03/15

[#22939] [Bug #1303] A name considered a local variable on RHS of an assignment that defines it — Tomas Matousek <redmine@...>

Bug #1303: A name considered a local variable on RHS of an assignment that defines it

8 messages 2009/03/19

[#23063] [Bug #1332] Reading file on Windows is 500x slower then with previous Ruby version — Damjan Rems <redmine@...>

Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version

11 messages 2009/03/30

[#23075] [Bug #1336] Change in string representation of Floats — Brian Ford <redmine@...>

Bug #1336: Change in string representation of Floats

37 messages 2009/03/31
[#23179] [Bug #1336] Change in string representation of Floats — Roger Pack <redmine@...> 2009/04/11

Issue #1336 has been updated by Roger Pack.

[#23181] Re: [Bug #1336] Change in string representation of Floats — Brent Roman <brent@...> 2009/04/11

[#23186] Re: [Bug #1336] Change in string representation of Floats — Yukihiro Matsumoto <matz@...> 2009/04/12

Hi,

[#23187] Re: [Bug #1336] Change in string representation of Floats — Brent Roman <brent@...> 2009/04/13

[#23188] Re: [Bug #1336] Change in string representation of Floats — Yukihiro Matsumoto <matz@...> 2009/04/13

Hi,

[ruby-core:22898] Re: [Bug #1292] 1.8 compile time error with mingw gcc 4.3

From: Roger Pack <rogerdpack@...>
Date: 2009-03-15 04:46:42 UTC
List: ruby-core #22898
> Seems extconf.rb failed to detect socklen_t. ould you show
> the mkmf.log?


This part seems to be relevant:

have_type: checking for socklen_t... -------------------- no

"gcc -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.
-g -O2    -c conftest.c"
conftest.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'conftest_type'
conftest.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'conftestval'
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: typedef socklen_t conftest_type;
6: static conftest_type conftestval[sizeof(conftest_type)?1:-1];
/* end */

Thanks!
-=r

Attachments (1)

mkmf.log (23.4 KB, text/x-log)
have_library: checking for WSACleanup() in -lws2_32... -------------------- yes

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.      -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))WSACleanup; return 0; }
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2   conftest.c -o conftest.i"
conftest.c:1:23: error: arpa/inet.h: No such file or directory
checked program was:
/* begin */
1: #include <arpa/inet.h>
/* end */

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

checking for ipv6... -------------------- no

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static  -lshell32 -lws2_32  "
conftest.c:2:24: error: sys/socket.h: No such file or directory
conftest.c: In function 'main':
conftest.c:5: error: 'AF_INET6' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
conftest.c:5: error: 'SOCK_STREAM' undeclared (first use in this function)
checked program was:
/* begin */
1: #include <sys/types.h>
2: #include <sys/socket.h>
3: main()
4: {
5:   socket(AF_INET6, SOCK_STREAM, 0);
6: }
/* end */

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

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

"gcc -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2    -c conftest.c"
conftest.c:6: error: 'struct sockaddr_in' has no member named 'sin_len'
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: 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../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2    -c conftest.c"
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int s = (char *)&((struct sockaddr_storage*)0)->ss_family - (char *)0;
/* end */

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

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

"gcc -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2    -c conftest.c"
conftest.c:6: error: 'struct sockaddr' has no member named 'sa_len'
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int s = (char *)&((struct sockaddr*)0)->sa_len - (char *)0;
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2   conftest.c -o conftest.i"
conftest.c:1:25: error: netinet/tcp.h: No such file or directory
checked program was:
/* begin */
1: #include <netinet/tcp.h>
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2   conftest.c -o conftest.i"
conftest.c:1:25: error: netinet/udp.h: No such file or directory
checked program was:
/* begin */
1: #include <netinet/udp.h>
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'sendmsg' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))sendmsg; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/cchVN3jt.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `sendmsg'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { sendmsg(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'recvmsg' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))recvmsg; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccqaMqVs.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `recvmsg'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { recvmsg(); return 0; }
/* end */

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

checking for wide getaddrinfo... -------------------- no

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static  -lshell32 -lws2_32  "
conftest.c: In function 'main':
conftest.c:17: error: storage size of 'hints' isn't known
conftest.c:18: error: 'INET6_ADDRSTRLEN' undeclared (first use in this function)
conftest.c:18: error: (Each undeclared identifier is reported only once
conftest.c:18: error: for each function it appears in.)
conftest.c:21: warning: incompatible implicit declaration of built-in function 'memset'
conftest.c:22: error: 'AF_UNSPEC' undeclared (first use in this function)
conftest.c:23: error: 'IPPROTO_TCP' undeclared (first use in this function)
conftest.c:24: error: 'AI_PASSIVE' undeclared (first use in this function)
conftest.c:25: error: 'SOCK_STREAM' undeclared (first use in this function)
conftest.c:30: error: dereferencing pointer to incomplete type
conftest.c:31: error: dereferencing pointer to incomplete type
conftest.c:31: error: 'AF_UNIX' undeclared (first use in this function)
conftest.c:32: error: dereferencing pointer to incomplete type
conftest.c:42: error: dereferencing pointer to incomplete type
conftest.c:43: error: dereferencing pointer to incomplete type
conftest.c:43: error: dereferencing pointer to incomplete type
conftest.c:45: error: 'NI_NUMERICHOST' undeclared (first use in this function)
conftest.c:45: error: 'NI_NUMERICSERV' undeclared (first use in this function)
conftest.c:51: error: dereferencing pointer to incomplete type
conftest.c:52: error: 'AF_INET' undeclared (first use in this function)
conftest.c:64: error: 'AF_INET6' undeclared (first use in this function)
checked program was:
/* begin */
 1: #include <stdlib.h>
 2: 
 3: #ifndef EXIT_SUCCESS
 4: #define EXIT_SUCCESS 0
 5: #endif
 6: #ifndef EXIT_FAILURE
 7: #define EXIT_FAILURE 1
 8: #endif
 9: 
10: #ifndef AF_LOCAL
11: #define AF_LOCAL AF_UNIX
12: #endif
13: 
14: main()
15: {
16:   int passive, gaierr, inet4 = 0, inet6 = 0;
17:   struct addrinfo hints, *ai, *aitop;
18:   char straddr[INET6_ADDRSTRLEN], strport[16];
19: 
20:   for (passive = 0; passive <= 1; passive++) {
21:     memset(&hints, 0, sizeof(hints));
22:     hints.ai_family = AF_UNSPEC;
23:     hints.ai_protocol = IPPROTO_TCP;
24:     hints.ai_flags = passive ? AI_PASSIVE : 0;
25:     hints.ai_socktype = SOCK_STREAM;
26:     if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
27:       (void)gai_strerror(gaierr);
28:       goto bad;
29:     }
30:     for (ai = aitop; ai; ai = ai->ai_next) {
31:       if (ai->ai_family == AF_LOCAL) continue;
32:       if (ai->ai_addr == NULL)
33:         goto bad;
34: #if defined(_AIX)
35:       if (ai->ai_family == AF_INET6 && passive) {
36:         inet6++;
37:         continue;
38:       }
39:       ai->ai_addr->sa_len = ai->ai_addrlen;
40:       ai->ai_addr->sa_family = ai->ai_family;
41: #endif
42:       if (ai->ai_addrlen == 0 ||
43:           getnameinfo(ai->ai_addr, ai->ai_addrlen,
44:                       straddr, sizeof(straddr), strport, sizeof(strport),
45:                       NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
46:         goto bad;
47:       }
48:       if (strcmp(strport, "54321") != 0) {
49:         goto bad;
50:       }
51:       switch (ai->ai_family) {
52:       case AF_INET:
53:         if (passive) {
54:           if (strcmp(straddr, "0.0.0.0") != 0) {
55:             goto bad;
56:           }
57:         } else {
58:           if (strcmp(straddr, "127.0.0.1") != 0) {
59:             goto bad;
60:           }
61:         }
62:         inet4++;
63:         break;
64:       case AF_INET6:
65:         if (passive) {
66:           if (strcmp(straddr, "::") != 0) {
67:             goto bad;
68:           }
69:         } else {
70:           if (strcmp(straddr, "::1") != 0) {
71:             goto bad;
72:           }
73:         }
74:         inet6++;
75:         break;
76:       case AF_UNSPEC:
77:         goto bad;
78:         break;
79:       default:
80:         /* another family support? */
81:         break;
82:       }
83:     }
84:   }
85: 
86:   if (!(inet4 == 0 || inet4 == 2))
87:     goto bad;
88:   if (!(inet6 == 0 || inet6 == 2))
89:     goto bad;
90: 
91:   if (aitop)
92:     freeaddrinfo(aitop);
93:   exit(EXIT_SUCCESS);
94: 
95:  bad:
96:   if (aitop)
97:     freeaddrinfo(aitop);
98:   exit(EXIT_FAILURE);
99: }
/* end */

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

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

"gcc -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket   -g -O2    -c conftest.c"
conftest.c:6: error: dereferencing pointer to incomplete type
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int s = (char *)&((struct in6_addr*)0)->s6_addr8 - (char *)0;
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'inet_ntop' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))inet_ntop; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/cckKufcJ.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `inet_ntop'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { inet_ntop(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))inet_ntoa; return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'inet_pton' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))inet_pton; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccybwOMS.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `inet_pton'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { inet_pton(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'inet_aton' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))inet_aton; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccA9AXFV.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `inet_aton'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { inet_aton(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))getservbyport; return 0; }
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2   conftest.c -o conftest.i"
conftest.c:1:26: error: arpa/nameser.h: No such file or directory
checked program was:
/* begin */
1: #include <arpa/nameser.h>
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2   conftest.c -o conftest.i"
conftest.c:1:20: error: resolv.h: No such file or directory
checked program was:
/* begin */
1: #include <resolv.h>
/* end */

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

have_type: checking for socklen_t... -------------------- no

"gcc -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2    -c conftest.c"
conftest.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'conftest_type'
conftest.c:6: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'conftestval'
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: typedef socklen_t conftest_type;
6: static conftest_type conftestval[sizeof(conftest_type)?1:-1];
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2   conftest.c -o conftest.i"
conftest.c:1:20: error: sys/un.h: No such file or directory
checked program was:
/* begin */
1: #include <sys/un.h>
/* end */

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

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

"gcc -E -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2   conftest.c -o conftest.i"
conftest.c:1:21: error: sys/uio.h: No such file or directory
checked program was:
/* begin */
1: #include <sys/uio.h>
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))WSACleanup; return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'hsterror' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))hsterror; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccpspnVm.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `hsterror'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { hsterror(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'getipnodebyname' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))getipnodebyname; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/cce4b7Jd.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `getipnodebyname'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { getipnodebyname(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'gethostbyname2' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))gethostbyname2; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccGV2j49.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `gethostbyname2'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { gethostbyname2(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
conftest.c: In function 't':
conftest.c:6: error: 'socketpair' undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))socketpair; return 0; }
/* end */

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
C:/Users/Home/AppData/Local/Temp/ccCoRj0T.o: In function `t':
c:\dev\rubyi_43\sandbox\ruby_build\ext\socket/conftest.c:3: undefined reference to `socketpair'
collect2: ld returned 1 exit status
checked program was:
/* begin */
1: /*top*/
2: int main() { return 0; }
3: int t() { socketpair(); return 0; }
/* end */

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

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

"gcc -o conftest -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -I.   -g -O2  conftest.c  -L. -L../.. -L.     -lws2_32  -lmsvcrt-ruby18-static -lws2_32  -lshell32 -lws2_32  "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: 
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))gethostname; return 0; }
/* end */

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

In This Thread