Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 4176] freeaddrinfo not in ws2_32.dll

Date: Wed, 3 Feb 2010 07:45:58 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4176

Jaap Keuter <jaap.keuter@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.gnome.org/
                   |                            |show_bug.cgi?id=603527

--- Comment #12 from Jaap Keuter <jaap.keuter@xxxxxxxxx> 2010-02-03 16:45:51 CET ---
(In reply to comment #11)
> (In reply to comment #8)
> > dumpbin thinks libwireshark.dll imports freeaddrinfo().
> > 
> > However, *none* of the object files used to build it refer to freeaddrinfo().
> 
> GeoIP.lib does, although we don't appear to depend on it. We call
> GeoIP_record_by_ipnum and GeoIP_country_name_by_ipnum and but not
> GeoIP_record_by_ipnum_v6 or GeoIP_country_name_by_ipnum_v6. (Not *yet*, at
> least.)

The patch for GeoIP is simple, based on the link provided by the OP:

GeoIP-1.4.6-win32ws\libGeoIP\GeoIP.h
@@ -34,6 +34,7 @@
 #else /* !defined(_WIN32) */ 
 #include <winsock2.h> 
 #include <ws2tcpip.h> 
+#include <wspiapi.h>
 #include <windows.h> 
 #define snprintf _snprintf 

The libgio.dll problem was addressed in:
https://bugzilla.gnome.org/show_bug.cgi?id=603527
and solved with this commit:
http://git.gnome.org/browse/glib/commit/?id=3d546303e87bc3b95a4c1124079a1ea6090f569b

So it seems we need to go one point release forward to Glib 2.22.4

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.