cURL / Mailing Lists / curl-library / Single Mail

curl-library

compiling libcurld.lib under vc

From: Scott Perry <numist_at_gmail.com>
Date: Mon, 06 Mar 2006 19:31:50 -0800

I'm trying to compile libcurld.lib under VC with openssl-0.9.8.
Compiling libcurl.lib works fine with ssl, but when I try to make debug-ssl:

C:\curl-7.15.1\src>nmake /f Makefile.vc6 cfg=debug-ssl

Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

        link.exe /incremental:no /libpath:"../lib" /nologo /out:curl.exe
/subsys
tem:console /machine:I386 libcurl.lib wsock32.lib winmm.lib
hugehelpr.obj write
outr.obj urlglobr.obj getpassr.obj homedirr.obj timevalr.obj
strtoofftr.obj
  mainr.obj curlr.res
libcurl.lib(transfer.obj) : error LNK2019: unresolved external symbol
_SSL_pendi
ng referenced in function _data_pending
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_RAND_status
 referenced in function _rand_enough
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_RAND_file_n
ame referenced in function _random_the_seed
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_RAND_screen
 referenced in function _random_the_seed
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_RAND_load_f
ile referenced in function _random_the_seed
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_che
ck_private_key referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_free re
ferenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_EVP_PKEY_fr
ee referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_EVP_PKEY_co
py_parameters referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_pri
vatekey referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_get_pu
bkey referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_cer
tificate referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_new ref
erenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_use
_PrivateKey_file referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_use
_certificate_file referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_use
_certificate_chain_file referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_set
_default_passwd_cb referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_set
_default_passwd_cb_userdata referenced in function _cert_stuff
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_NAME_o
neline referenced in function _cert_verify_callback
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_get_su
bject_name referenced in function _cert_verify_callback
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_STORE_
CTX_get_current_cert referenced in function _cert_verify_callback
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ERR_error_s
tring_n referenced in function _SSL_strerror
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_library
_init referenced in function _Curl_ossl_init
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_load_er
ror_strings referenced in function _Curl_ossl_init
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_EVP_cleanup
 referenced in function _Curl_ossl_cleanup
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ERR_free_st
rings referenced in function _Curl_ossl_cleanup
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_fre
e referenced in function _Curl_ossl_close
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_set_con
nect_state referenced in function _Curl_ossl_close
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_shutdow
n referenced in function _Curl_ossl_close
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ERR_remove_
state referenced in function _Curl_ossl_close
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_SESSION
_free referenced in function _Curl_ossl_session_free
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_CRYPTO_free
 referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ASN1_STRING
_to_UTF8 referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_CRYPTO_mall
oc referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ASN1_STRING
_type referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_NAME_E
NTRY_get_data referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_NAME_g
et_entry referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_NAME_g
et_index_by_NID referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_GENERAL_NAM
ES_free referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ASN1_STRING
_length referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ASN1_STRING
_data referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_sk_value re
ferenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_sk_num refe
renced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_get_ex
t_d2i referenced in function _verifyhost
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_verify
_cert_error_string referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_ver
ify_result referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_get_is
suer_name referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_X509_free r
eferenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_pee
r_certificate referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get1_se
ssion referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CIPHER_
get_name referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_cur
rent_cipher referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_get_err
or referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_connect
 referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_set_fd
referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ERR_error_s
tring referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_ERR_get_err
or referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_set_ses
sion referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_set
_verify referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_loa
d_verify_locations referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_set
_cipher_list referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_ctr
l referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_cal
lback_ctrl referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_CTX_new
 referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_TLSv1_clien
t_method referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSLv2_clien
t_method referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSLv3_clien
t_method referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSLv23_clie
nt_method referenced in function _Curl_ossl_connect
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_write r
eferenced in function _Curl_ossl_send
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSL_read re
ferenced in function _Curl_ossl_recv
libcurl.lib(ssluse.obj) : error LNK2019: unresolved external symbol
_SSLeay refe
renced in function _Curl_ossl_version
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_DES_set_
key referenced in function _setup_des_key
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_DES_set_
odd_parity referenced in function _setup_des_key
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_DES_ecb_
encrypt referenced in function _calc_resp
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_MD4_Fina
l referenced in function _mkhash
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_MD4_Upda
te referenced in function _mkhash
libcurl.lib(http_ntlm.obj) : error LNK2019: unresolved external symbol
_MD4_Init
 referenced in function _mkhash
curl.exe : fatal error LNK1120: 77 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

C:\curl-7.15.1\src>

Thanks for the help.

./scott
Received on 2006-03-07