U need to include the libraries in your compilation. Something like: gcc -lcrypto -lssl -ocli cli.cpp. Arun. -----Original Message----- From: Tewari, Vijay <[EMAIL PROTECTED]> To: 'Open-SSL' <[EMAIL PROTECTED]> Date: Wednesday, May 10, 2000 9:15 AM Subject: Compilation Problems >Hi, >I am newbie at using OpenSSL and am having some problems compiling the >code in the demos directory of the code. When I try to compile the code >I get a host of undefined references. (Linux RH 6.1 , OpenSSL 0.9.5a) > >The libcrypto.a and libssl.a files are in the /lib directory. > >I have copied the /usr/local/ssl/include/openssl dir to the >/usr/include dir. > >I am compiling cli.cpp as > >gcc -o cli cli.cpp > >Help would be appreciated. "The online world is a cool place to visit, but you really don't want to live there." **************************************************************** This message is for the named person(s) use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. SPEEDERA NETWORKS, INC. reserves the right to monitor all e-mail communications through its network. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]