libgio-2.0-0.dll is not compatible with Windows 2000
Submitted by Dieter Verfaillie
Link to original bug (#637565)
Description
Hi,
On http://www.gtk.org/download-windows.html the following is stated: "The current GTK+ stack uses APIs that are available only on Windows 2000 or later."
A bit further on that page a download link is provided for GLib 2.26.0: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.26/glib_2.26.0-2_win32.zip
However, the libgio-2.0-0.dll from that zip uses the freeaddrinfo() function that is only available starting with windows xp [1]. Luckily, on [1] we learn that there's a workaround for earlier versions of windows in the form of wspiapi.h. Sadly, wspiapi.h is not freely available for MinGW (the one from http://mingw.org). There seems to be a copy from the mingw64 project (but it looks like it's provenance is under suspicion [2]).
So, is this a bug in the documentation in that Windows 2000 is no longer supported for the official windows binaries? Or is this a bug with how the official 32bit windows binaries are built that can be fixed?
Reproducing:
- on a windows 2000 system
- download and extract [3] to C:\gtk+-bundle\
- cd C:\gtk+-bundle\bin\
- gtk-demo.exe Result: A messagebox with the following error appears: "The procedure entry point freeaddrinfo could not be located in the dynamic link library WS2_32.dll"
Thanks, Dieter
[1] http://msdn.microsoft.com/en-us/library/ms737931%28v=vs.85%29.aspx, especially the "Support for freeaddrinfo on earlier versions of Windows" section. [2] http://permalink.gmane.org/gmane.comp.gnu.mingw.user/34741 [3] http://ftp.gnome.org/pub/GNOME/binaries/win32/gtk+/2.22/gtk+-bundle_2.22.0-20101016_win32.zip
Version: 2.26.x