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 On Mon, May 30, 2011 at 7:36 PM, Ben Noordhuis <[email protected]> wrote: > On Mon, May 30, 2011 at 15:46, mammar <[email protected]> wrote: > > I am using the following command to build libcURL static library(.lib) > using > > MingW > > ./configure --prefix=/mingw --enable-static=yes --enable-shared=no > > --disable-ldap > > and after that the make command > > > > but it is generating the following three in the .libs directory > > libcurl.a > > libcurl.la > > libcurl.lai > > I want to generate .lib. > > What is wrong with my procedure? > > Can anyone guide me? > > > http://stackoverflow.com/questions/2096519/from-mingw-static-library-a-to-visual-studio-static-library-lib > ? > > The .a should be readable / linkable by MSVC++. > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: 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
