cURL / Mailing Lists / curl-library / Single Mail

curl-library

Windows compilation question

From: D H <dhjunkuse_at_hotmail.com>
Date: Sat, 06 Nov 2004 02:15:25 +0000

I am trying to compile libcurl 7.12.2 on windows 2000 VC++7.0, with
CFG=debug-ssl-dll (for makefile Makefile.vc6). It however fails with the
following error

----------------------------------

        link.exe /DLL /def:libcurld.def wsock32.lib winmm.lib
/LIBPATH:i:/isv/4.0/lib /DEBUG /out:libcurld.dll /IMPLIB:"libcurld.lib"
/PDB:"libcurld.pdb" /nologo .\debug-ssl-dll\base64.obj
.\debug-ssl-dll\cookie.obj .\debug-ssl-dll\transfer.obj
.\debug-ssl-dll\escape.obj .\debug-ssl-dll\formdata.obj
.\debug-ssl-dll\ftp.obj .\debug-ssl-dll\http.obj
.\debug-ssl-dll\http_chunks.obj .\debug-ssl-dll\ldap.obj
.\debug-ssl-dll\dict.obj .\debug-ssl-dll\telnet.obj
.\debug-ssl-dll\parsedate.obj .\debug-ssl-dll\getenv.obj
.\debug-ssl-dll\inet_pton.obj .\debug-ssl-dll\hostip.obj
.\debug-ssl-dll\hostasyn.obj .\debug-ssl-dll\hostsyn.obj
.\debug-ssl-dll\hostares.obj .\debug-ssl-dll\hostthre.obj
.\debug-ssl-dll\hostip4.obj .\debug-ssl-dll\hostip6.obj
.\debug-ssl-dll\inet_ntop.obj .\debug-ssl-dll\if2ip.obj
.\debug-ssl-dll\mprintf.obj .\debug-ssl-dll\netrc.obj
.\debug-ssl-dll\progress.obj .\debug-ssl-dll\sendf.obj
.\debug-ssl-dll\speedcheck.obj .\debug-ssl-dll\ssluse.obj
.\debug-ssl-dll\timeval.obj .\debug-ssl-dll\url.obj
.\debug-ssl-dll\file.obj .\debug-ssl-dll\getinfo.obj
.\debug-ssl-dll\version.obj .\debug-ssl-dll\easy.obj
.\debug-ssl-dll\strequal.obj .\debug-ssl-dll\strtok.obj
.\debug-ssl-dll\strtoofft.obj .\debug-ssl-dll\connect.obj
.\debug-ssl-dll\hash.obj .\debug-ssl-dll\llist.obj
.\debug-ssl-dll\share.obj .\debug-ssl-dll\multi.obj
.\debug-ssl-dll\http_digest.obj .\debug-ssl-dll\http_negotiate.obj
.\debug-ssl-dll\http_ntlm.obj .\debug-ssl-dll\md5.obj
.\debug-ssl-dll\strerror.obj .\debug-ssl-dll\content_encoding.obj
.\debug-ssl-dll\libcurl.res
libcurld.def(7) : warning LNK4017: DESCRIPTION statement not supported for
the target platform; ignored
   Creating library libcurld.lib and object libcurld.exp
sendf.obj : error LNK2019: unresolved external symbol _ERR_error_string
referenced in function _Curl_write
sendf.obj : error LNK2019: unresolved external symbol _ERR_get_error
referenced in function _Curl_write
ssluse.obj : error LNK2019: unresolved external symbol _ERR_get_error
referenced in function _Curl_SSL_Close
sendf.obj : error LNK2019: unresolved external symbol _SSL_get_error
referenced in function _Curl_write
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_error
sendf.obj : error LNK2019: unresolved external symbol _SSL_write referenced
in function _Curl_write
sendf.obj : error LNK2019: unresolved external symbol _SSL_read referenced
in function _Curl_read
ssluse.obj : error LNK2019: unresolved external symbol _SSL_library_init
referenced in function _Curl_SSL_init
ssluse.obj : error LNK2019: unresolved external symbol
_SSL_load_error_strings referenced in function _Curl_SSL_init
ssluse.obj : error LNK2019: unresolved external symbol _EVP_cleanup
referenced in function _Curl_SSL_cleanup
ssluse.obj : error LNK2019: unresolved external symbol _ERR_free_strings
referenced in function _Curl_SSL_cleanup
ssluse.obj : error LNK2019: unresolved external symbol _SSL_CTX_free
referenced in function _Curl_SSL_Close

......
--------------------------------------

The problem seems to be that SSLLIBS has not been specified for this link
step. Is this an oversight or am I missing something in my environment?

Thanks,
Dhiraj

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on 2004-11-06