i'm having a few problems building OpenSSL 0.9.7 on a HP-UX 11.00 machine
using the HP Ansi C compiler. here's a list of the issues i've noticed so
far (i've listed configuration options and error messages below):

1) when compiling for hpux-parisc2-cc target with no-asm option 
   BN_kronecker test fails.
2) error messages during 'make depend' when not using gcc and makedepend
   is installed on the system (HP Ansi C Developer's Bundle, imake 
   package). seems like this version of makedepend is not supported. maybe 
   Configure should check that the system makedepend is suitable for 
   building OpenSSL before using it.
3) shared library linking fails with hpux-parisc2-cc target.

is anyone actually using OpenSSL 0.9.7 (or 0.9.6) compiled with some other
compiler than gcc on HP-UX 11.00? how well are other compilers supported?  
i'd like to use HP Ansi C compiler instead of gcc because of the
noticeable performance benefits in public key operations (benchmarking
done with 'openssl speed').


1)
config:
perl Configure no-idea no-asm --prefix=/opt/local/openssl/0.9.7-apache hpux-parisc2-cc
error:
test BN_kronecker
........................................................................................................................................................................................................................................................................


2)
config:
perl Configure no-idea --prefix=/opt/local/openssl/0.9.7-apache hpux-parisc2-cc
error:
        ../util/domd .. -MD makedepend -- -DOPENSSL_THREADS -D_REENTRANT -DDSO_DL 
-DOPENSSL_NO_KRB5 -DOPENSSL_NO_IDEA +DA2.0 +DS2.0 +O3 +Optrs_strongly_typed +Olibcalls 
-Ae +ESlit -DB_ENDIAN -DMD32_XARRAY -I. -I.. -I../include -DOPENSSL_NO_IDEA  --  
cryptlib.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c 
uid.c o_time.c
"cryptlib.c":433:  !defined(_POSIX_C_SOURCE) || (_POSIX_C_SOURCE < 199309L)
                                                                         ^--- 
expecting )


3)
config:
perl Configure no-idea shared --prefix=/opt/local/openssl/0.9.7-apache hpux-parisc2-cc
error:
+ /usr/ccs/bin/ld +vnocompatwarnings -b -z +s -o libcrypto.sl.0.9.7 +h 
+libcrypto.sl.0.9.7 -Fl libcrypto.a -ldld -lc
/usr/ccs/bin/ld: DP relative code in file libcrypto.a(pa-risc2.o) - shared library 
must be position
    independent.  Use +z or +Z to recompile.
*** Error exit code 1


-- 
        aspa                                    http://www.kronodoc.fi/


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to