al wrote:
> i am trying to install for use with perl5 CryptSSLeay, having problems
> compiling. i am using the hpux version of gcc on a hpux 10.20.     has
> anyone seen this problem?  is there an easy fix?
> 
> gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -DNO_ASM -
> I/opt/gcc/hppa1.1-hp-hpux10.20/include/ -fpic -DB_ENDIAN -DBN_DIV2W -O3
> ...
> /usr/ccs/bin/ld: Data Linkage Table (+z) overflow in file openssl.o - use
> +Z option to recompile
This almost says it, use +Z instead of +z. The only complication is that
you use gcc, not HP C. With gcc the equivalent options are -fpic and -fPIC.

> here's my config
> ./config --openssldir=/h/FTS/openssl no-asm
> -I/opt/gcc/hppa1.1-hp-hpux10.20/include/
> -L/opt/gcc/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.8.1/ -L/opt/gcc/lib/ -fpic
So, make it -fPIC here                                               ^^^^^
-- 
Karsten Spang
Senior Software Developer, Ph.D.
Belle Systems
E-mail: [EMAIL PROTECTED]
Tel.: +45 59 44 25 00
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to