[Bug 758911] New: libgio-2.0-0.dll does not work on Windows 2000

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 30 23:25:25 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: libgio-2.0-0.dll does not work on Windows 2000

https://bugzilla.redhat.com/show_bug.cgi?id=758911

           Summary: libgio-2.0-0.dll does not work on Windows 2000
           Product: Fedora
           Version: 16
          Platform: i386
        OS/Version: Windows
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: mingw32-glib2
        AssignedTo: rjones at redhat.com
        ReportedBy: t.sailer at alumni.ethz.ch
         QAContact: extras-qa at fedoraproject.org
                CC: lfarkas at lfarkas.org, t.sailer at alumni.ethz.ch,
                    rjones at redhat.com, kalevlember at gmail.com,
                    erik-fedora at vanpienbroek.nl,
                    fedora-mingw at lists.fedoraproject.org
    Classification: Fedora
      Story Points: ---
              Type: ---


Description of problem:
libgio-2.0-0.dll is not usable on Windows 2000.

Version-Release number of selected component (if applicable):
mingw32-glib2-2.30.1-1.fc16.noarch

How reproducible:
always

Steps to Reproduce:
1.try to run a program that uses libgio-2.0-0.dll on Windows 2000

Actual results:
a dialog box pops up stating that freeaddrinfo was not defined.

Expected results:
program runs

Additional info:
the reason for this is that freeaddrinfo is not present in the Windows 2000
version of ws2_32.dll. MS has a work around provided in wspiapi.h; wspiapi.h
uses freeaddrinfo from ws2_32.dll if available, otherwise provides its own
implementation. But mingw32 (unlike mingw w64) does not provide wspiapi.h.
Therefore, gio...dll directly links to freeaddrinfo from ws2_32.dll, which does
not work on Windows 2000.

I created a quick&dirty workaround by just including wspiapi from mingw w64:
http://sailer.fedorapeople.org/mingw32-glib2-2.30.1-2.fc16.src.rpm

A better fix might be to add wspiapi from w64 to mingw32, and then recompile
mingw32-glib2 (glib2 should autodetect the presence of wspiapi.h).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the mingw mailing list