On Sun, Mar 15, 2009 at 8:02 AM, Nobuyoshi Nakada <nobu / ruby-lang.org> wrot=
e:
> Hi,
>
> At Sun, 15 Mar 2009 13:46:42 +0900,
> Roger Pack wrote in [ruby-core:22898]:
>> have_type: checking for socklen_t... -------------------- no
>
>> /* begin */
>> 1: #include <windows.h>
>> 2: #include <winsock.h>
>
> Testing with winsock 1, RbConfig::CONFIG["COMMON_HEADERS"]
> should be "windows.h winsock.h", but
>
>
> At Sun, 15 Mar 2009 12:23:38 +0900,
> Roger Pack wrote in [ruby-core:22894]:
>> gcc -I. -I../.. -I../../../ruby_1_8 -I../../../ruby_1_8/ext/socket -DHAV=
E_SOCKADDR_STORAGE -DHAVE_INET_NTOA -DHAVE_GETSERVBYPORT -Dsocklen_t=3Dint =
-DHAVE_WSACLEANUP -DHAVE_GETHOSTNAME -I. =A0 -g -O2 =A0 -c ../../../ruby_1_=
8/ext/socket/socket.c
>> In file included from ../../../ruby_1_8/win32/win32.h:30,
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from ../../../ruby_1_8/defines.h:183,
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from ../../../ruby_1_8/ruby.h:37,
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0from ../../../ruby_1_8/ext/socket/soc=
ket.c:13:
>> c:\dev\rubyi_43\sandbox\mingw\bin\../lib/gcc/mingw32/4.3.3/../../../../i=
nclude/ws2tcpip.h:272: error: two or more data types in declaration specifi=
ers
>
> Compiling with winsock 2.
>
> How did you run configure.bat?

This was using ./configure with MSYS.  It worked fine with GCC 3.4 so
that's why I mention it.  If interested you can recreate it by running
rake in the gcc43 branch of
http://github.com/rogerdpack/rubyinstaller/tree/master
Thanks!
-=3Dr