http://bugs.winehq.org/show_bug.cgi?id=17459
Summary: compilation of wine doesn't work Product: Wine Version: 1.1.15 Platform: PC OS/Version: OpenBSD Status: UNCONFIRMED Severity: normal Priority: P2 Component: winhttp AssignedTo: wine-bugs@winehq.org ReportedBy: sebastia@l00-bugdead-prods.de
compilation of wine on OpenBSD 4.4 i386 fails at the following point:
gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wwrite-strings -Wpointer-arith -I/usr/local/include -I/usr/include/ssl -I/usr/include -g -O2 -o httpapi_main.o httpapi_main.c In file included from ../../include/http.h:25, from httpapi_main.c:27: ../../include/ws2tcpip.h:60: error: conflicting types for `socklen_t' /usr/include/sys/types.h:163: error: previous declaration of `socklen_t'
I used the following parameters to configure:
CPPFLAGS="-I/usr/local/include -I/usr/include/ssl -I/usr/include" LDFLAGS="-L/usr/local/lib" ./configure --without-alsa --without-capi --without-hal make depend && make
in /usr/include/sys/types.h on line 163 socklen_t is defined this way: typedef __socklen_t socklen_t; /* length type for network syscalls */