Installing OpenSSL on HPUX 10.2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing OpenSSL on HPUX 10.2

Riewski, Martin Eric
Hi,
I'm getting errors when installing OpenSSL on a HPUX 10.2 box.
This is info about box: HP-UX i3107spw B.10.20 A 9000/847
I ran ./config and this is output:

$ ./config
Operating system: 9000/847-hp-hpux1x
Configuring for hpux-parisc-cc elif [ 528 -ge 523 ]; then # PA-RISC 1.0
CPU OUT=hpux-parisc-cc-cc
target already defined - hpux-parisc-cc (offending arg: elif)

Then make
These are the errors:

$ make
making all in crypto...
        /opt/ansic/bin/cc -I. -I.. -I../include -O -c cryptlib.c
cpp: "cryptlib.c", line 170: warning 2013: Unknown preprocessing
directive.
cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
become a keyword.
cc: "../include/openssl/stack.h", line 73: error 1000: Unexpected
symbol: "char".
cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
become a keyword.
cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
become a keyword.
cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
$

Does anyone have any ideas?


Thanks,

Martin Riewski
(719)548-6831
[hidden email]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Installing OpenSSL on HPUX 10.2

Rick Jones-2
Riewski, Martin Eric wrote:

> Hi,
> I'm getting errors when installing OpenSSL on a HPUX 10.2 box.
> This is info about box: HP-UX i3107spw B.10.20 A 9000/847
> I ran ./config and this is output:
>
> $ ./config
> Operating system: 9000/847-hp-hpux1x
> Configuring for hpux-parisc-cc elif [ 528 -ge 523 ]; then # PA-RISC 1.0
> CPU OUT=hpux-parisc-cc-cc
> target already defined - hpux-parisc-cc (offending arg: elif)
>
> Then make
> These are the errors:
>
> $ make
> making all in crypto...
>         /opt/ansic/bin/cc -I. -I.. -I../include -O -c cryptlib.c
> cpp: "cryptlib.c", line 170: warning 2013: Unknown preprocessing
> directive.
> cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
> become a keyword.
> cc: "../include/openssl/stack.h", line 73: error 1000: Unexpected
> symbol: "char".
> cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
> become a keyword.
> cc: "../include/openssl/stack.h", line 73: warning 5: "const" will
> become a keyword.
> cc: error 2017: Cannot recover from earlier errors, terminating.
> *** Error exit code 1
>
> Stop.
> *** Error exit code 1
>
> Stop.
> $
>
> Does anyone have any ideas?

Yes in part at least, the compiler you are using doesn't understand the const
directive and that is making it rather confused. It strains the DIMM memory to
think back that far, but I seem to recall that being a common problem with HP
ANSI C in the 10.20 timeframe.  It might work-out with the 10.20 compiler if you
#define const to nothingness, say with a -D in the CFLAGS (or would that be -U?).

There is some small chance that a later compiler with support for const was
supported under HP-UX 10.20.  I believe that the 847 may have been supported
under 11.0 but that is a bit of a stretch of the DIMM memory as well.  It may
not have been "supported" but 11.0 probably "worked" on the 847 as that was
basically the same as a Gsomething I think.  There is a better chance that the
11.0 compilers groked const.

Or, see about getting a newer system that supports 11.11 or 11.23 where I
suspect life would be much happier - in particular since there is an actual HP
provided OpenSSL on those releases :)

rick jones

>
>
> Thanks,
>
> Martin Riewski
> (719)548-6831
> [hidden email]
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]