Hi everybody,
I had installed openssl as a rpm package (openssl-0.9.7g-2mdk) into my
linux box(mandriva 2006 official), but i was unable to compile
applications that include headers like openssl/bio.h or openssl/ssl.h. So I
downloaded the latest openssl from the site. And install it without any
error messages. Due to dependency problems I did not erase the old rpm
package!

But now, I encounter TOO MANY errors when trying to compile even a
hello world program that just include openssl/ssl.h!!!
Errors like:
/usr/local/ssl/include/openssl/ssl.h:1365: error: initializer
_expression list treated as compound _expression
/usr/local/ssl/include/openssl/ssl.h:1366: error: 'X509' has not been
declared
/usr/local/ssl/include/openssl/ssl.h:1368: error: variable or field
'SSL_set_connect_state' declared void
/usr/local/ssl/include/openssl/ssl.h:1368: error: 'SSL' was not
declared in this scope
...

I use a 2.6.12-12mdksmp kernel on 3.4Ghz pentium D and gcc 4.0.1.

What's the solution?
Thank you so much(it is too critical for me to compile such programs
since my final project is completely based on openssl and ssl
connections)

regards,


Want to start your own business? Learn how on Yahoo! Small Business.

Reply via email to