curl-library
Re: libcURL build static lib
Date: Mon, 30 May 2011 16:47:15 +0200
On Mon, May 30, 2011 at 16:42, mammar <mammar_at_gmail.com> wrote:
> Thanks for reply.
> But i am getting the following link errors with VS
> libcurl.a(libcurl_la-transfer.o) : error LNK2001: unresolved external symbol
> ___divdi3
> libcurl.a(libcurl_la-progress.o) : error LNK2001: unresolved external symbol
> ___divdi3
> libcurl.a(libcurl_la-imap.o) : error LNK2001: unresolved external symbol
> _strtoll
> libcurl.a(libcurl_la-http_proxy.o) : error LNK2001: unresolved external
> symbol _strtoll
> libcurl.a(libcurl_la-ftplistparser.o) : error LNK2001: unresolved external
> symbol _strtoll
> libcurl.a(libcurl_la-cookie.o) : error LNK2001: unresolved external symbol
> _strtoll
> libcurl.a(libcurl_la-http.o) : error LNK2001: unresolved external symbol
> _strtoll
> libcurl.a(libcurl_la-ftp.o) : error LNK2001: unresolved external symbol
> _strtoll
> libcurl.a(libcurl_la-file.o) : error LNK2001: unresolved external symbol
> _strtoll
> libcurl.a(libcurl_la-mprintf.o) : error LNK2001: unresolved external symbol
> ___umoddi3
> libcurl.a(libcurl_la-mprintf.o) : error LNK2001: unresolved external symbol
> ___udivdi3
> libcurl.a(libcurl_la-formdata.o) : error LNK2001: unresolved external symbol
> ___chkstk
> libcurl.a(libcurl_la-formdata.o) : error LNK2001: unresolved external symbol
> _basename
You know that top-posting is a mortal sin, don't you? ;-)
I suspect that you need to link against msvcrt.lib / msvcrt.a, the
unresolved symbols are stdlib functions.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-05-30