Opened 6 years ago

Closed 5 years ago

#169 closed Bug / Defect (fixed)

OpenVPN built from "master" does not work on WinXP

Reported by: samuli Owned by:
Priority: blocker Milestone:
Component: Generic / unclassified Version: 2.3-beta / 2.3-RC
Severity: Not set (if unsure, select this one) Keywords:
Cc: cron2


When trying to launch the new OpenVPN-GUI on Windows XP (32-bit), the following error message is displayed and the GUI does not launch:

The procedure entry point inet_ntop could not be
located in the dynamic link library WS2_32.dll

The service does not work, either. OpenVPN code is based on "master" + andj's latest patches (excluding 3/8, which has been merged to "master" already).

Same OpenVPN version works correctly on Windows 7 (64-bit).

Attachments (2)

0001-Attempt-to-fix-ticket-169.patch (1.2 KB) - added by samuli 6 years ago.
Partial fix to ticket #169
0001-work-around-inet_ntop-inet_pton-problems-for-MSVC-bu.patch (1.8 KB) - added by cron2 6 years ago.
this should fix it - see discussion on the list

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by samuli

Partial fix to ticket #169

comment:1 Changed 6 years ago by samuli

Attempted to fix the issue according to Heiko's suggestions. Did not look into the final suggestion ("check <Ws2tcpip.h>") yet. Builds fine but still gives the same error message on WinXP during OpenVPN startup.

Attached a patch containing modifications done so far. Due build issues in "master" make sure andj's patches (look above) are applied on top of if you want help fix this.

Changed 6 years ago by cron2

this should fix it - see discussion on the list

comment:2 Changed 6 years ago by cron2

  • Cc cron2 added

comment:3 Changed 6 years ago by samuli

Fixed in this installer.

comment:4 Changed 5 years ago by samuli

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.