http://bugs.winehq.org/show_bug.cgi?id=25900
--- Comment #7 from Christopher Nitta cjnitta@gmail.com 2011-01-27 12:24:31 CST --- I applied the " Be more careful about defining socklen_t" patch and removed the other three and it seems to have fixed the initial problem. The build proceeds past the dlls/httpapi and dlls/inetcomm, but now fails at dlls/ws2_32/tests with:
gcc -m32 -c -I. -I. -I../../../include -I../../../include -DWINE_STRICT_PROTOTYPES -DWINE_NO_NAMELESS_EXTENSION -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -o sock.o sock.c sock.c: In function 'test_ip_pktinfo': sock.c:1159: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness sock.c: At top level: sock.c:2524: error: conflicting types for 'gethostname' /usr/include/unistd.h:845: error: previous declaration of 'gethostname' was here make[1]: *** [sock.o] Error 1 make[1]: Leaving directory `/home/cnitta/wine-1.3.12/dlls/ws2_32/tests' make: *** [dlls/ws2_32/tests] Error 2