[Top][All Lists]

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

Re: [Linphone-users] Request for Win32 binaries compiled for Win2k

From: Simon Morlat
Subject: Re: [Linphone-users] Request for Win32 binaries compiled for Win2k
Date: Thu, 11 Sep 2008 14:39:30 +0200
User-agent: KMail/1.9.9

Hi Michael,

The problem is that the mingw32 environment used to build linphone on windows 
does not provide *addrinfo functions at all for windows2000.
Peter Moulding sent a solution on this mailing some time ago (see below), 
unfortunately it is not applicable with mingw32 since Wspiapi.h doesn't 
declare the addrinfo methods at all.

A possible solution would work if it was built with Visual C++ compiler. 
However I don't want to restart from scratch a new build system (I already 
spent weeks on the current one).

Another solution would be to re-implement those functions inside a special dll 
that would be used only in the win2k build. Running two build and then two 
package isn't a good solution though...
I'm trying to think about other solutions. Ideas are welcome.


-------------Peter's solution-----------------

**Possible solution:
*"This happened to me when I compiled my app on WinXP (which used the Winsock2 
*addrinfo functions via Ws2tcpip.h) and then tried running the resulting 
binary on Win2k.  According to the freeaddrinfo page on MSDN 
the *addrinfo functions moved from Wspiapi.h in Win2k to Ws2tcpip.h starting 
with Win2k server. The solution is to #include <Wspiapi.h> after #include 
<Ws2tcpip.h>. When compiled on WinXP seems to play nice on Win2k."
 Peter Moulding

Le Tuesday 09 September 2008 04:31:54 Michael Grigoni, vous avez écrit :
> Greetings,
> I would like to try a Win32 version on Windows 2000; the binaries available
> from Simon's site seem to require XP or newer (WS2_32.DLL function
> freeaddrinfo()) According to MSDN:
>     "The freeaddrinfo function was added to the Ws2_32.dll on Windows XP
> and later."
> Although I have cygwin installed on various machines, I don't have the
> development environment specified to build linphone and would like to avoid
> having to set it up in order to do a preliminary trial of the program. Has
> anyone built it for Win2k and would care to provide the binaries?
> Regards,
> Michael
> _______________________________________________
> Linphone-users mailing list
> address@hidden

reply via email to

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