curl-library
Re: VS2008 build issues
Date: Thu, 08 Apr 2010 20:21:43 +0400
* Daniel Stenberg <daniel_at_haxx.se> [Thu, 8 Apr 2010 14:36:42 +0200
(CEST)]:
> On Wed, 7 Apr 2010, Ruslan Gazizov wrote:
>
> > curl_addrinfo.obj : error LNK2019: unresolved external symbol
> > __imp__getaddrinfo_at_16 referenced in function _Curl_getaddrinfo_ex
>
> > I fixed this winsock link error by replacing wsock32.lib with
> ws2_32.lib in
> > Makefile.VC6 WINLIBS macro.
>
> Strange. Why did you get this problem and how come others have managed
> to
> build libcurl without this change? Is it related to what VS or Windows
> version
> you run?
>
> (And yes, I know very little about windows building in general.)
>
MSDN reference states that (get|free)addrinfo functions are implemented
in Ws2_32.dll so I have no idea how the library could be built without
ws2_32.lib (which is its import library). My system:
Vista SP2
VS 2008 (VC9)
Windows SDK 6.0A
wsock32.dll is present in system32 but it does not export these
functions. Here are some links -
http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx
http://support.microsoft.com/kb/124876
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-08