Gary Keith <[EMAIL PROTECTED]>:

> I am running openssl v9.4, on solaris 2.6, Whenever I try to complie my
> program I get the errors listed below.   Any ideas what can be done to
> correct this problem.  Thanks

>> make
> gcc -I/usr/include/openssl  -c  client1.c
> client1.c:12: parse error before `/'
> In file included from client1.c:15:
> /usr/include/openssl/pem.h:487: parse error before `*'
> /usr/include/openssl/pem.h:487: parse error before `STACK_OF'
[...]

Check whether an older set of SSLeay or OpenSSL header files is around
somewhere (with a higher priority in the header search path than
/usr/include -- note that OpenSSL includes its header files as
<openssl/file.h> and not just <file.h>, so when
/usr/include/openssl/pem.h includes some other OpenSSL header file
your "-I/usr/include/openssl" does not buy you anything unless you
also have a symbolic link /usr/include/openssl/openssl pointing to
/usr/include/openssl).
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to