cURL / Mailing Lists / curl-library / Single Mail


compiling with ssl, single-threaded, on winders

From: Raul Carolus <>
Date: Thu, 15 Sep 2005 10:21:23 -0500

Hi All,

I'm trying to compile the library as single-threaded. I've compiled the
ssl library as single-threaded already.

However when I build libcurl, I get this error:

         link.exe /incremental:no /libpath:"../lib" /nologo
/out:curl.exe /subsys
tem:console /machine:I386 /LIBPATH:"c:\openssl/out32" libcurl.lib
ssleay32.lib gdi32.lib wsock32.lib winmm.lib hugehelpr.obj
writeoutr.obj urlgl
obr.obj getpassr.obj homedirr.obj timevalr.obj strtoofftr.obj
mainr.obj curlr.res
libcurl.lib(hostthre.obj) : error LNK2001: unresolved external symbol

To compile it single threaded, I edited the Makefile.vc6.

## Release
CCR = cl.exe /ML /O2 /DNDEBUG

.. snip ..

## Debug
CCD = cl.exe /MLd /Gm /ZI /Od /D_DEBUG /GZ

I changed the /MD to /ML, and /MDd to /MLd. I also tried using the .dsw
  in the lib directory and changing compiling options in visual studio,
to the same effect.

I've googled around and didn't see anything that could help me. I'm
going to look further.

Does anyone know of any ideas that could help me resolve this?


Received on 2005-09-15