cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling Curl with TLS support using MSVC 2008

From: sumit gambhir <sumitgambhir9_at_gmail.com>
Date: Mon, 15 Jul 2013 21:58:28 +0530

Hi,

I am getting following error in compilation : -

libcurl.lib(version.obj) : error LNK2019: unresolved external symbol
_zlibVersio
n referenced in function _curl_version
libcurl.lib(content_encoding.obj) : error LNK2001: unresolved external
symbol _z
libVersion
libcurl.lib(content_encoding.obj) : error LNK2019: unresolved external
symbol _i
nflateEnd referenced in function _exit_zlib
libcurl.lib(content_encoding.obj) : error LNK2019: unresolved external
symbol _i
nflateInit2_ referenced in function _inflate_stream
libcurl.lib(content_encoding.obj) : error LNK2019: unresolved external
symbol _i
nflate referenced in function _inflate_stream
libcurl.lib(content_encoding.obj) : error LNK2019: unresolved external
symbol _i
nflateInit_ referenced in function _Curl_unencode_deflate_write
curl.exe : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
8\VC\BIN\l
ink.exe"' : return code '0x460'
Stop.

Kindly give some pointers to resolve it.

Thanks and Regards,
Sumit Gambhir

On Sun, Jul 14, 2013 at 10:14 PM, sumit gambhir <sumitgambhir9_at_gmail.com>wrote:

> I would be needed dynamic library i.e. libcurl.dll.
> Do i need to change Makefile.vc for that?
>
> Thanks and Regards,
> Sumit Gambhir
>
>
> On Sun, Jul 14, 2013 at 8:18 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
>> On Sat, 13 Jul 2013, Jan Ehrhardt wrote:
>>
>> cd lib
>>>> nmake -f Makefile.vc6 WINDOWS_SSPI=1 CFG=release-winssl-zlib
>>>>
>>>
>>> I am sure this it not what the OP wants. MSVC 2008 = vc9, not vc6.
>>>
>>
>> There's a Makefile.vc9 as well in the tarballs.
>>
>>
>> He will have to use the Makefile.vc.
>>>
>>
>> That might still be a good idea though!
>>
>> --
>>
>> / daniel.haxx.se
>>
>> ------------------------------**------------------------------**-------
>> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
>> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>>
>
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-15