[Bug 17459] New: compilation of wine doesn't work

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Feb 18 13:29:56 CST 2009


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 at winehq.org
        ReportedBy: sebastia at 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 */


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list