To build s_server and and s_client as standalone executables:
For s_server.exe - Compile the following files located in the apps
directory:

app_rand.c
apps.c
s_cb.c
s_socket.c
s_server.c

Link all these together with libeay32.lib and ssleay32.lib to produce
s_server.exe.

For s_client.exe - Use the same files as above except replace s_server.c
with s_client.c and link together as above.

Andrew


dhw wrote:
> 
> How can I compile the s_server.c  or s_client.c in apps of openssl-0.9.5a
> in platform windows 2000 and linux?
> 
> in windows 2000,after I compiled the s_server.c in VC++,I build the project
> ,then  errors came forth,such as:
>  unresolved external symbol _BIO_free
> s_server.obj : error LNK2001: unresolved external symbol _SSL_CTX_free
> s_server.obj : error LNK2001: unresolved external symbol _do_server
> s_server.obj : error LNK2001: unresolved external symbol
> _SSL_CTX_set_client_CA_list
> s_server.obj : error LNK2001: unresolved external symbol
> _SSL_load_client_CA_file
> s_server.obj : error LNK2001: unresolved external symbol
> _SSL_CTX_set_session_id_context
> s_server.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_verify
> s_server.obj : error LNK2001: unresolved external symbol _verify_callback
> s_server.obj : error LNK2001: unresolved external symbol
> _SSL_CTX_set_cipher_list
> s_server.obj : error LNK2001: unresolved external symbol
> _SSL_CTX_set_tmp_rsa_callback
> s_server.obj : error LNK2001: unresolved external symbol _set_cert_stuff
> what should I do?
> What option should I  set when I compile and build program upon openssl?????
> 
>                                                            [EMAIL PROTECTED]
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to