Il 26/09/2011 15:37, Heiko Hund ha scritto: > On Monday 26 September 2011 14:13:30 Samuli Seppänen wrote: >> Ok, did as suggested for socket.c and win32.h and got the following >> build failure using MSVC: >> >> <http://pastebin.com/xZ8J2yrq> > ---8<------------------------------------------------------------------ > c:\users\samuli\openvpn-build\openvpn\win32.h(282) : > error C2373: 'inet_ntop' : redefinition; different type modifiers > ---8<------------------------------------------------------------------ > > This is hopefully just because MSVC still believes it's building for Vista or > later. Does the message disappear if you include syshead.h in win32.h? In > there WINVER is already defined to signal building for XP. If that doesn't > help, you should also check in <Ws2tcpip.h> if the declaration of inet_ntop > is > #ifdef'd taking WINVER into account. > > Heiko Hi Heiko,
Took a while, but I finally managed to debug the WinXP inet_ntop issue somewhat. The results are here: <https://community.openvpn.net/openvpn/ticket/169> In a nutshell, OpenVPN builds ok, but does not launch. Did not look into <Ws2tcpip.h> yet. -- Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock