Hi, 芦翔

please check, if you are using the right include path fpr the right .h
files.
After calling this:

C:\From_Here\openssl.1.0.0\> perl Configure VC-WIN32 no-asm
--prefix=c:/to_here/ssl
C:\From_Here\openssl.1.0.0\> ms\do_ms

you DON'T should use:
-I C:\From_Here\openssl.1.0.0\include
(or "Additional Include directories" in VS GUI). It's because the .h
files there all consisting of incomplete files, just containing the line
"Link: filename.h".
Instead, look into \ (root directory), there is some new directory tree
/usr/bin/to_here/ssl
(or similiar, I don't remember the exact location). So better use
-I /usr/bin/to_here/ssl
(or whatever exact to_here location is). Same for *.LIB (Additional
Linker Dependencies)

If this helps, please report. Otherwise also.

M.M.

> 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>)
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to