Wow, that's a lot of output :)
First of all, you need -lssl and -lcrypto. Where did you install the OpenSSL
libraries, are they in a common place that your compiler can find? If not,
you'll need to add -L/xxxx where xxxx is the path to the place where the
libraries (libssl.a for example) can be found.
>/* Override any GCC internal prototype to avoid an error.
> Use char because int might match the return type of a GCC
> builtin and then its argument prototype would still apply. */
> #ifdef __cplusplus
> extern "C"
> #endif
> char SSL_accept ();
Interesting and well-meaning, but wrong. The right thing to do is
#include "openssl/ssl.h"
And you might need to add -I flags on your compile line.
/r$
--
Principal Security Engineer
Akamai Technology
Cambridge, MA
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]