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 */
http://bugs.winehq.org/show_bug.cgi?id=17459
--- Comment #1 from Austin English austinenglish@gmail.com 2009-02-18 15:49:37 --- See http://wiki.winehq.org/OpenBSD
This is probably a dupe of bug 16660.
http://bugs.winehq.org/show_bug.cgi?id=17459
sebastian sebastia@l00-bugdead-prods.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from sebastian sebastia@l00-bugdead-prods.de 2009-02-18 16:37:03 --- uh, I was not aware of the wiki page, thanks for pointing out.
Actually my goal is to be able to compile some gnustep apps I developed using mingw on windows for some friends to provide them with some binaries. I just saw that the port was sooo old, that I tried to compile from source.
I took a look at the bug 16660, and yes, it I think you are right and it is probably a dupe. I'll take a look at the patches uploaded there, and at the build instructions for openbsd 4.4 on the wiki page.
I'll probably add more bug reports here, or comment to existing ones, in case I found problems/solutions, but don't expect too much, I'm not a C guru ;)
I'll start on creating an account on the wine-wiki (:
thanks Sebastian
*** This bug has been marked as a duplicate of bug 16660 ***
http://bugs.winehq.org/show_bug.cgi?id=17459
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2009-02-18 20:12:41 --- Closing.