Dear William,

   I am sorry for the last intercepted email. I tried the way as your 
instruction. But the problem is still there. If there is another reason for my 
question. I am not sure if the openssl lib is not compiled. Thank you.

 

Best Regards,

Xiang
 
> Subject: RE: ERROR LINK2019
> Date: Tue, 13 Apr 2010 16:34:35 -0700
> From: jfarr...@pillardata.com
> To: openssl-users@openssl.org
> CC: luxiang...@hotmail.com
> 
> 
> 
> > From: William A. Rowe Jr.
> > 
> > On 4/13/2010 4:49 PM, 芦翔 wrote:
> > > Dear all,
> > > I am trying to add the security flavor to an 
> > application. To achieve
> > > this objective, I wrote the codes to establish a security 
> > tunnel between
> > > the server and the client with VC2008. When I build the 
> > whole project,
> > > there are tens of similar errors. All of them are as follows:
> > > 
> > >>SSLServer.obj : error LNK2019: unresolved external symbol _BIO_free
> > > referenced in function "int __cdecl
> > > SSL_CTX_use_PrivateKey_file_pass(struct ssl_ctx_st *,char *,char *)"
> > > (?SSL_CTX_use_PrivateKey_file_pass@@YAHPAUssl_ctx_st@@p...@z
> > > 
> > <mailto:?SSL_CTX_use_PrivateKey_file_pass@@YAHPAUssl_ctx_st@@p...@z>)
> > 
> > That signature is consistent with C++ argument folding.
> > 
> > The openssl headers you've used probably were missing this decoration
> > 
> > #ifdef __cplusplus
> > extern "C" {
> > #endif
> > 
> > ...
> > 
> > #ifdef __cplusplus
> > }
> > #endif
> > 
> > So you should put your #include references in between the 
> > snippets above
> > (in place of the ... elipses).
> 
> He's clearly calling then from C++, but the names it can't find don't look 
> C++ decorated to me - _BIO_free looks like a normal Microsoft C reference.
> 
> Isn't the problem here just that he's not linking against the OpenSSL 
> libraries?
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List openssl-users@openssl.org
> Automated List Manager majord...@openssl.org
                                          
_________________________________________________________________
约会说不清地方?来试试微软地图最新msn互动功能!
http://ditu.live.com/?form=TL&swm=1

Reply via email to