Hi Gary,

> Try this: http://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur


I just want to get code compiled without worrying about ssl first.

I modified Makefile and changed vc6 to vc8 (since I use VC8 in my computer),
then run "nmake vc", the compilation  is successful. 

I used the example file http-post.c for complation. Based on your link 
information 

G:/distribution/src0721/curl-7.21.7/include> cl http-post.c -DCURL_STATICLIB 
../lib/release/libcurl.lib

Here is the error message:

MSVCRT.lib(MSVCR80.dll) : error LNK2005: _calloc already defined in 
LIBCMT.lib(calloc.obj)
MSVCRT.lib(MSVCR80.dll) : error LNK2005: _realloc already defined in 
LIBCMT.lib(realloc.obj)

I also added "/MT" compiler option and the error message is the same.

Thanks.

Peter


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to