[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pan-devel] Made 0.99 work under Windows 2000!

From: Mike Houwers
Subject: [Pan-devel] Made 0.99 work under Windows 2000!
Date: Wed, 31 May 2006 21:45:32 -0400

(First post to the mailing list; hopefully don't screw anything up...)

I seem to have managed to get Pan 0.99 working under Windows 2000. I, like
everyone else who tried, ran into the freeaddrinfo not found when trying the newer
versions. I spent a few hours getting the mingw etc. set up and installed. Got
0.99 successfully built (only a few deviations from the README.mingw). Of course,
ran into the same old freeaddrinfo error.

After a bit of Googling, I ran into
which looked promising. So, I modified to include
<WSPiApi.h>, which I apparently have since I have Visual Studio .NET 2005
installed. After a strange looking compile error, I messed around for a bit and
got everything to compile. In, I changed the line

#include <WS2tcpip.h>

to be

#define __inline extern inline
#include <WS2tcpip.h>
#include <WSPiApi.h>

(the #define seemed to be the key to get the WSPiApi.h file to include successfully.
I also had to throw the WSPiApi.h file somewhere in the include path.)

Now, I can compile and run Pan 0.99 under Windows 2000. Haven't done much,
but it runs and it gets the list of groups from the server. The WSPiApi.h file appears
to implement the freeaddrinfo/getaddrinfo routines inline, which gets around the
functions not existing in ws2_32.dll in Windows 2000 (and presumably NT).

I realize this isn't a real solution since it needs a header file from VS.NET in order
to work, but someone smarter than me may be able to get it into the MinGW arena,
as it appears other header files based on MS files have been.

Again, I apologize if this is out of line, but perhaps this will be of some use in the
effort to get newer versions of Pan running under non-Windows XP OSes.

If I can be of any further help, please feel free to ask. I'll help out in any way I can.

mike houwers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]