http://bugs.winehq.org/show_bug.cgi?id=16833
Summary: Build fails in Cygwin at dlls/inetcomm/internettransport.c Product: Wine Version: 1.1.12 Platform: PC OS/Version: other Status: UNCONFIRMED Severity: blocker Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: dgerard@gmail.com
./configure --without-freetype (Cygwin freetype isn't detected) make depend make
bombs out in the "make" with:
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 from bug 16660 (a failure in the same file on OpenBSD) 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