Setting environment for using Microsoft Visual Studio 2008 x86 tools. cl.exe @C:\Users\Samuli\AppData\Local\Temp\nm6C59.tmp base64.c buffer.c clinat.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' crypto.c cryptoapi.c dhcp.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' error.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' event.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' fdmisc.c forward.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' fragment.c gremlin.c helper.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' httpdigest.c ieproxy.c init.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' interval.c list.c lladdr.c lzo.c Generating Code... Compiling... manage.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' mbuf.c misc.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' mroute.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' mss.c mtcp.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' mtu.c mudp.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' multi.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' ntlm.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' occ.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' openvpn.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' options.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' otime.c packet_id.c perf.c pf.c ping.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' pkcs11.c plugin.c Generating Code... Compiling... pool.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' proto.c proxy.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' ps.c push.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' reliable.c route.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' schedule.c session_id.c shaper.c sig.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' socket.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' socks.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' ssl.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' status.c tun.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' win32.c c:\users\samuli\openvpn-build\openvpn-testing\win32.h(276) : error C2373: 'inet_ntop' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(595) : see declaration of 'inet_ntop' c:\users\samuli\openvpn-build\openvpn-testing\win32.h(277) : error C2373: 'inet_pton' : redefinition; different type modifiers C:\Program Files\\Microsoft SDKs\Windows\v6.0A\include\ws2tcpip.h(579) : see declaration of 'inet_pton' Generating Code... Setting environment for using Microsoft Visual Studio 2008 x86 tools. cl.exe @C:\Users\Samuli\AppData\Local\Temp\nmB0C5.tmp openvpnserv.c service.c Generating Code... link.exe @C:\Users\Samuli\AppData\Local\Temp\nmB24C.tmp Doing an unsigned build as requested RUN: cmd /c "vcvarsall.bat x86 && nmake /f c:\Users\Samuli\openvpn-build\openvpn-testing\msvc.mak" RUN: cmd /c "vcvarsall.bat x86 && nmake /f msvc.mak" Using prebuilt TAP driver MKDIR c:\Users\Samuli\openvpn-build\openvpn-testing\dist MKDIR c:\Users\Samuli\openvpn-build\openvpn-testing\dist\bin MKDIR c:\Users\Samuli\openvpn-build\openvpn-testing\dist\i386 MKDIR c:\Users\Samuli\openvpn-build\openvpn-testing\dist\amd64 MKDIR c:\Users\Samuli\openvpn-build\openvpn-testing\dist\samples COPY c:\Users\Samuli\openvpn-build\openvpn-testing\openvpn.exe c:\Users\Samuli\openvpn-build\openvpn-testing\dist\bin\openvpn.exe