curl-users
Compilation problem under MS Windows
Date: 19 Aug 2005 11:02:15 +0200 (CEST)
--------------Boundary-01=_R3PG6BPIJ1R88D67ZT6N
Content-Type: Text/Plain;
Charset = "ISO-8859-2"
Content-Transfer-Encoding: Quoted-Printable
Hi everybody,=0D
=0D
I have problem while trying to compile cURL library with SSL under Windows.=0D=
I have successfully compiled OpenSSL 0.9.7g and zlib-1.2.3 and used guide in IN=
STALL-> Microsoft command line style. Everything is OK until I try: nmake vc-ss=
l (or vc-ssl-dll, same result) and I get ugly list of 93 unresolved externals (=
see curl.txt). Thanks for any help.
________
Vsetko o technologiach + kazdy tyzden sutaz o ceny. http://pc.sme.sk
--------------Boundary-01=_R3PG6BPIJ1R88D67ZT6N
Content-Type: Text/Plain;
Name = "curl.txt"
Content-Transfer-Encoding: Quoted-Printable
C:\curl-7.11.1-1>nmake vc-ssl-dll=0D
=0D
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0=0D
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.=0D
=0D
cd lib=0D
nmake /f Makefile.vc6 cfg=3Drelease-ssl-dll=0D
=0D
Microsoft (R) Program Maintenance Utility Version 6.00.9782.0=0D
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.=0D
=0D
link.exe /DLL /def:libcurl.def "/LIBPATH:c:\openssl-0.9.7g/out32dll" /=
o=0D
ut:libcurl.dll /IMPLIB:"libcurl.lib" /nologo .\release-ssl-dll\base64.obj .\re=
l=0D
ease-ssl-dll\cookie.obj .\release-ssl-dll\transfer.obj .\release-ssl-dll\esca=
p=0D
e.obj .\release-ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj .\release-ssl=
-=0D
dll\http.obj .\release-ssl-dll\http_chunks.obj .\release-ssl-dll\ldap.obj .\=
r=0D
elease-ssl-dll\dict.obj .\release-ssl-dll\telnet.obj .\release-ssl-dll\getdat=
e=0D
.obj .\release-ssl-dll\getenv.obj .\release-ssl-dll\inet_pton.obj .\release-=
s=0D
sl-dll\hostip.obj .\release-ssl-dll\if2ip.obj .\release-ssl-dll\mprintf.obj =
.=0D
\release-ssl-dll\netrc.obj .\release-ssl-dll\progress.obj .\release-ssl-dll\s=
e=0D
ndf.obj .\release-ssl-dll\speedcheck.obj .\release-ssl-dll\ssluse.obj .\rele=
a=0D
se-ssl-dll\timeval.obj .\release-ssl-dll\url.obj .\release-ssl-dll\file.obj =
.=0D
\release-ssl-dll\getinfo.obj .\release-ssl-dll\version.obj .\release-ssl-dll\=
e=0D
asy.obj .\release-ssl-dll\strequal.obj .\release-ssl-dll\strtok.obj .\releas=
e=0D
-ssl-dll\strtoofft.obj .\release-ssl-dll\connect.obj .\release-ssl-dll\hash.o=
b=0D
j .\release-ssl-dll\llist.obj .\release-ssl-dll\share.obj .\release-ssl-dll\=
m=0D
ulti.obj .\release-ssl-dll\http_digest.obj .\release-ssl-dll\http_negotiate.o=
b=0D
j .\release-ssl-dll\http_ntlm.obj .\release-ssl-dll\md5.obj .\release-ssl-dl=
l=0D
\libcurl.res=0D
Creating library libcurl.lib and object libcurl.exp=0D
transfer.obj : error LNK2001: unresolved external symbol ___WSAFDIsSet_at_8=0D
connect.obj : error LNK2001: unresolved external symbol ___WSAFDIsSet_at_8=0D
url.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
connect.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
transfer.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
http.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
ssluse.obj : error LNK2001: unresolved external symbol __imp__select_at_20=0D
multi.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4=0D
transfer.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4=0D=
ftp.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4=0D
url.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4=0D
connect.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4=0D=
ftp.obj : error LNK2001: unresolved external symbol __imp__accept_at_12=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__getsockname_at_12=0D
connect.obj : error LNK2001: unresolved external symbol __imp__getsockname_at_12=0D=
ftp.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4=0D
url.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__listen_at_8=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__ntohs_at_4=0D
url.obj : error LNK2001: unresolved external symbol __imp__ntohs_at_4=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__bind_at_12=0D
connect.obj : error LNK2001: unresolved external symbol __imp__bind_at_12=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__socket_at_12=0D
connect.obj : error LNK2001: unresolved external symbol __imp__socket_at_12=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4=0D
connect.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4=0D
ftp.obj : error LNK2001: unresolved external symbol __imp__gethostbyaddr_at_12=0D
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError_at_0=
=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError_at_0=
=0D
telnet.obj : error LNK2001: unresolved external symbol __imp__WSACleanup_at_0=0D
easy.obj : error LNK2001: unresolved external symbol __imp__WSACleanup_at_0=0D
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAStartup_at_8=0D
easy.obj : error LNK2001: unresolved external symbol __imp__WSAStartup_at_8=0D
telnet.obj : error LNK2001: unresolved external symbol __imp__send_at_16=0D
sendf.obj : error LNK2001: unresolved external symbol __imp__send_at_16=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__gethostbyname_at_4=0D=
hostip.obj : error LNK2001: unresolved external symbol __imp__ntohl_at_4=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__htonl_at_4=0D
hostip.obj : error LNK2001: unresolved external symbol __imp__WSASetLastError_at_4=
=0D
sendf.obj : error LNK2001: unresolved external symbol _ERR_error_string=0D
ssluse.obj : error LNK2001: unresolved external symbol _ERR_error_string=0D
sendf.obj : error LNK2001: unresolved external symbol _ERR_get_error=0D
ssluse.obj : error LNK2001: unresolved external symbol _ERR_get_error=0D
sendf.obj : error LNK2001: unresolved external symbol _SSL_get_error=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_error=0D
sendf.obj : error LNK2001: unresolved external symbol _SSL_write=0D
sendf.obj : error LNK2001: unresolved external symbol __imp__recv_at_16=0D
sendf.obj : error LNK2001: unresolved external symbol _SSL_read=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_library_init=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_load_error_strings=0D=
ssluse.obj : error LNK2001: unresolved external symbol _EVP_cleanup=0D
ssluse.obj : error LNK2001: unresolved external symbol _ERR_free_strings=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_connect_state=0D=
ssluse.obj : error LNK2001: unresolved external symbol _SSL_shutdown=0D
ssluse.obj : error LNK2001: unresolved external symbol _ERR_remove_state=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_SESSION_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_verify_result=0D=
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_issuer_name=0D=
ssluse.obj : error LNK2001: unresolved external symbol _CRYPTO_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_NAME_oneline=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_subject_name=0D=
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_peer_certificat=
e=0D
=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CIPHER_get_name=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_current_cipher=0D=
ssluse.obj : error LNK2001: unresolved external symbol _SSL_connect=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_fd=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_session=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_new=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_verify=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_load_verify_loc=
a=0D
tions=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_cipher_list=
=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_ctrl=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_new=0D
ssluse.obj : error LNK2001: unresolved external symbol _TLSv1_client_method=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSLv2_client_method=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSLv3_client_method=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSLv23_client_method=0D=
ssluse.obj : error LNK2001: unresolved external symbol _RAND_file_name=0D
ssluse.obj : error LNK2001: unresolved external symbol _RAND_screen=0D
ssluse.obj : error LNK2001: unresolved external symbol _RAND_load_file=0D
ssluse.obj : error LNK2001: unresolved external symbol _RAND_status=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_check_private_k=
e=0D
y=0D
ssluse.obj : error LNK2001: unresolved external symbol _EVP_PKEY_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _EVP_PKEY_copy_parameter=
s=0D
=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_privatekey=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_pubkey=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_certificate=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_PrivateKey_=
f=0D
ile=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_certificate=
_=0D
chain_file=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_certificate=
_=0D
file=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_default_pas=
s=0D
wd_cb=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_default_pas=
s=0D
wd_cb_userdata=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_STORE_CTX_get_curr=
e=0D
nt_cert=0D
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get1_session=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_NAME_get_text_by_N=
I=0D
D=0D
ssluse.obj : error LNK2001: unresolved external symbol _GENERAL_NAMES_free=0D
ssluse.obj : error LNK2001: unresolved external symbol _ASN1_STRING_length=0D
ssluse.obj : error LNK2001: unresolved external symbol _ASN1_STRING_data=0D
ssluse.obj : error LNK2001: unresolved external symbol _sk_value=0D
ssluse.obj : error LNK2001: unresolved external symbol _sk_num=0D
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_ext_d2i=0D
timeval.obj : error LNK2001: unresolved external symbol __imp__timeGetTime_at_0=0D=
url.obj : error LNK2001: unresolved external symbol __imp__htons_at_4=0D
connect.obj : error LNK2001: unresolved external symbol __imp__htons_at_4=0D
version.obj : error LNK2001: unresolved external symbol _SSLeay=0D
connect.obj : error LNK2001: unresolved external symbol __imp__ioctlsocket_at_12=0D=
connect.obj : error LNK2001: unresolved external symbol __imp__connect_at_12=0D
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_ecb_encrypt=0D
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_set_key=0D
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_set_odd_parity=0D=
md5.obj : error LNK2001: unresolved external symbol _MD5_Final=0D
md5.obj : error LNK2001: unresolved external symbol _MD5_Update=0D
md5.obj : error LNK2001: unresolved external symbol _MD5_Init=0D
libcurl.dll : fatal error LNK1120: 93 unresolved externals=0D
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'=0D
Stop.=0D
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\=
N=0D
MAKE.EXE"' : return code '0x2'=0D
Stop.=0D
=0D
C:\curl-7.11.1-1>
--------------Boundary-01=_R3PG6BPIJ1R88D67ZT6N--
Received on 2005-08-19