I can send whole output of 'make' if that would be helpful, I only
included the link command because that was were the error occured.
Your suggestion of -lgcc sounds plausible, however I am not a C
programmer and I have no idea why it is there, if it is necessary and
how to get rid of it if that would solve the problem. All I do is run
the configure as shown below and then run make. I have done this
exact same thing with mod_ssl-2.4.10-1.3.9 without any problems.
Kees Vonk
[EMAIL PROTECTED]
20/02/01 09:00
To: [EMAIL PROTECTED] @ gateway
cc:
Subject: Re: Compiling mod_ssl-2.8.0-1.3.17 on HPUX 10.20
On Tue, Feb 20, 2001 at 07:10:03AM +0000, [EMAIL PROTECTED]
wrote:
> I am trying to compile apache_1.3.17 on HP-UX 10.20 and I am
getting
> the following problem when running make, can anyone give me an idea
> what is the problem here:
>
>
> My configure command looks like this (I have tried it without the
> CFLAGS line as well):
>
> SSL_BASE=../openssl-0.9.6 \
> EAPI=../mm-1.1.3 \
> CFLAGS='-fPIC' \
> ./configure \
> --prefix=/opt/perl5/apache \
> --target=apache_1.3.17 \
> --enable-module=ssl \
> --enable-shared=ssl \
> --disable-rule=SSL_COMPAT \
> --activate-module=src/modules/perl/libperl.a \
> --enable-module=perl \
> --enable-module=proxy \
> --enable-module=so \
> --disable-module=actions \
> --disable-module=asis \
> --disable-module=imap \
> --disable-module=include \
> --disable-module=negotiation
>
>
> [ snip ]
>
> ===> src/modules/ssl
> rm -f libssl.so
> ld -L/opt/apache/src/openssl-0.9.6 -b -o libssl.so mod_ssl.lo
> ssl_engine_config.lo ssl_engine_compat.lo ssl_engine_ds.lo
> ssl_engine_dh.lo ssl_engine_init.lo ssl_engine_kernel.lo
> ssl_engine_rand.lo ssl_engine_io.lo ssl_engine_log.lo
> ssl_engine_mutex.lo ssl_engine_pphrase.lo ssl_engine_vars.lo
> ssl_engine_ext.lo ssl_scache.lo ssl_scache_dbm.lo
ssl_scache_shmht.lo
> ssl_scache_shmcb.lo ssl_expr.lo ssl_expr_scan.lo ssl_expr_parse.lo
> ssl_expr_eval.lo ssl_util.lo ssl_util_ssl.lo ssl_util_sdbm.lo
> ssl_util_table.lo -ldbm -lssl -lcrypto
> -L/var/iefadmn/gnu/usr/lib/gcc-lib/hppa1.0-hp-hpux10.20/2.8.1
-lgcc
>
> ld: Data Linkage Table (+z) overflow in file ssl_engine_config.lo -
> use +Z option to recompile
> Reference from: ssl_engine_config.lo(0x24)
[More of these message deleted]
Unfortunately you omit the line used for compiling, since CFLAGS is
set
to -fPIC the necessary condition should however be met (I assume you
are
using gcc instead of HP's ANSI C). In a certain sense I am surprised
that -fPIC is not automatically set when using --enable-shared...
I see another problem (which I assume to be the real problem) in that
you link against -lgcc when building the shared library. -lgcc will
reference libgcc.a, of which no shared version exists and the modules
of which are normally not compiled relocatable (missing -fPIC). You
cannot
link a shared library against a static library.
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
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
The views expressed in this email are not necessarily the views of
Transco plc, and the company, its directors, officers or employees
make no representation or accept any liability for its accuracy or
completeness unless expressly stated to the contrary.
This e-mail, and any attachments are strictly confidential and
intended for the addressee(s) only. The content may also contain
legal, professional or other privileged information. If you are not
the intended recipient, could you please notify the sender
immediately and then delete the e-mail and any attachments, you
should not disclose, copy or take any action in reliance of this
transmission. Unless expressly stated to the contrary, no contracts
may be concluded on behalf of Transco plc by means of e-mail
communication.
You may report the matter by calling us on +44 (0)1455 230999.
You should not copy, forward or otherwise disclose the contents of
this e-mail or any of its attachments without express consent.
Please ensure you have adequate virus protection before you open or
detach any documents from this transmission. Transco plc does not
accept any liability for viruses.
Transco plc is part of Lattice Group
Transco plc is registered in England: Company number: 2006000
Registered Office: 130 Jermyn Street, London, SW1Y 4UR
http://www.transco.uk.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]