curl-library
VS2008 build issues
Date: Wed, 07 Apr 2010 20:02:52 +0400
Hello!
I just built recent libcurl using VS2008 command line tools. There were
several problems I wanted to mention:
1. I had this build error
Creating library release-dll\libcurl_imp.lib and object
release-dll\libcurl_imp.exp
curl_addrinfo.obj : error LNK2019: unresolved external symbol
__imp__freeaddrinfo_at_4 referenced in function _Curl_getaddrinfo_ex
curl_addrinfo.obj : error LNK2019: unresolved external symbol
__imp__getaddrinfo_at_16 referenced in function _Curl_getaddrinfo_ex
release-dll\libcurl.dll : fatal error LNK1120: 2 unresolved externals
I fixed this winsock link error by replacing wsock32.lib with ws2_32.lib
in Makefile.VC6 WINLIBS macro.
2. Also I needed to rename
Makefile.dist -> Makefile
.\include\curl\curlbuild.h.dist -> curlbuild.h
.\src\hugehelp.c.cvs -> hugehelp.c
Why those files got renamed in the first place?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-04-07