On Fri, Nov 03, 2000 at 05:45:51PM -0000, Eduardo Reis wrote:
> I'm trying to compile openssl 0.9.6 in HPUX 11 and it stops with an error
> that I don't understand. It seems that is missing a header file but i can't
> find it anywhere.
...

>      cc -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DDSO_DL -D_REENTRANT
> +O3 +Optrs_strongly_typed +Olibcalls -Ae +ESlit -DB_ENDIAN -
> DBN_DIV2W -DMD32_XARRAY -c openssl.c
> cc: "openssl.c", line 76: error 1000: Unexpected symbol: "*".
> cc: "openssl.c", line 76: error 1573: Type of "a" is undefined due to an
> illegal declaration.
...

Here FUNCTION is missing. FUNCTION is a typedef in apps/progs.h.
I don't see why this problem should occur in the first place...
Please call the compilation command with the additional flag "-E".
It will only run the preprocessor on the file and so you can see whether
the typedef is actually there.

> cc: "openssl.c", line 77: error 1000: Unexpected symbol: "*".
> cc: "openssl.c", line 77: error 1000: Unexpected symbol: ")".
> cc: "openssl.c", line 78: error 1616: Unable to open intrinsic file
> "/usr/local/lib/sysintr".
This is a really strange one, that I have never seen before. Why should
the HP ANSI-C compiler try to open in file in /usr/local (/usr/local
is deprecated for HP-UX for quite some time...)

I would guess that either your system or your copy of OpenSSL is messed up.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to