http://bugs.winehq.org/show_bug.cgi?id=16660
David Gerard dgerard@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dgerard@gmail.com
--- Comment #2 from David Gerard dgerard@gmail.com 2009-01-06 16:16:26 --- May or may not be related: make on Cygwin also bombs out in internettransport.c with a similar error - see http://wiki.winehq.org/WineOnWindows?action=recall&rev=60
internettransport.c: In function `InternetTransport_WndProc': internettransport.c:348: error: `Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library' undeclared (first use in this function) internettransport.c:348: error: (Each undeclared identifier is reported only once internettransport.c:348: error: for each function it appears in.) internettransport.c:348: error: parse error before "infd" internettransport.c:379: warning: implicit declaration of function `Include_winock_h_before_stdlib_h_or_use_the_MSVCRT_library' internettransport.c:379: error: `infd' undeclared (first use in this function) make[2]: *** [internettransport.o] Error 1 make[2]: Leaving directory `/cygdrive/d/wine-1.1.12/dlls/inetcomm' make[1]: *** [inetcomm] Error 2 make[1]: Leaving directory `/cygdrive/d/wine-1.1.12/dlls' make: *** [dlls] Error 2
Applying attachment 18288 gives:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o internettransport.o internettransport.c In file included from internettransport.c:31: ../../include/ws2tcpip.h:238: error: parse error before "socklen_t" ../../include/ws2tcpip.h:240: error: parse error before "socklen_t" make[2]: *** [internettransport.o] Error 1 make[2]: Leaving directory `/home/fun/wine-1.1.11/dlls/inetcomm' make[1]: *** [inetcomm] Error 2 make[1]: Leaving directory `/home/fun/wine-1.1.11/dlls' make: *** [dlls] Error 2
I suspect the real problem is indeed way back in ./configure .