Issue #998 has been updated by Luis Lavena.


I'm updating this, since seems didn't complete fixing:

<pre><code>
compiling socket
make[1]: Entering directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-trunk/ext/socket'
generating constants.h
i586-mingw32msvc-gcc -I. -I../../.ext/include/i386-mingw32 -I/home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/include -I/home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I.    -O2 -g -Wall -Wno-parentheses   -o socket.o -c /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/socket.c
i586-mingw32msvc-gcc -I. -I../../.ext/include/i386-mingw32 -I/home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/include -I/home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket -DRUBY_EXTCONF_H=\"extconf.h\" -I.    -O2 -g -Wall -Wno-parentheses   -o getaddrinfo.o -c /home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/getaddrinfo.c
/home/luislavena/.rake-compiler/sources/ruby-1.9.1-trunk/ext/socket/getaddrinfo.c:204: error: redefinition of 'gai_strerrorA'
/usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/include/ws2tcpip.h:309: error: previous definition of 'gai_strerrorA' was here
make[1]: *** [getaddrinfo.o] Error 1
make[1]: Leaving directory `/home/luislavena/.rake-compiler/builds/ruby-1.9.1-trunk/ext/socket'
make: *** [exts] Error 1
</code></pre>

Subversion revision used: 

Last Changed Author: akr
Last Changed Rev: 21497
Last Changed Date: 2009-01-13 11:57:53 -0200 (Tue, 13 Jan 2009)

------------------------------------------------------------------------
r21497 | akr | 2009-01-13 11:57:53 -0200 (Tue, 13 Jan 2009) | 6 lines

* ext/socket/addrinfo.h (AI_NUMERICSERV): defined.
  (AI_MASK): add AI_NUMERICSERV.

* ext/socket/getaddrinfo.c (getaddrinfo): support AI_NUMERICSERV.

----------------------------------------
http://redmine.ruby-lang.org/issues/show/998

----------------------------------------
http://redmine.ruby-lang.org