You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by PAD HOSMANE <ph...@pop.fedworld.gov> on 2002/02/06 22:23:13 UTC

error while linking during compiling of apache_1.3.23 + mod_ssl with gcc

Hi,
  I am trying to compile apache_1.3.23 with mod_ssl with gcc (Ver 3.0.1)
under HP-UX 11.00. I get the error shown below. Any idea why am getting am I
getting "Use +z or +Z to recompile" while linking??

Thanks


gcc  -fPIC -c -I/usr/local/bin/mm-1.1.3/include -I../../os/unix -I../../incl
ude   -DHPUX11 -DMOD_SSL=208106 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -
I../../lib/expat-lite
`../../apaci` -DSHARED_MODULE -DSSL_COMPAT -I/opt/openssl/include -DMOD_SSL_
VERSION=\"2.8.6\" ssl_util_sdbm.c && mv ssl_util_sdbm.o ssl_util_sdbm.lo
gcc  -fPIC -c -I/usr/local/bin/mm-1.1.3/include -I../../os/unix -I../../incl
ude   -DHPUX11 -DMOD_SSL=208106 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -
I../../lib/expat-lite
`../../apaci` -DSHARED_MODULE -DSSL_COMPAT -I/opt/openssl/include -DMOD_SSL_
VERSION=\"2.8.6\" ssl_util_table.c && mv ssl_util_table.o ssl_util_table.lo
rm -f libssl.so
ld -L/opt/openssl/lib -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/opt/gcc/lib/gcc-lib/hppa2.0n-hp-h
pux11.00/3.0.1 -lgcc
ld: DP relative code in file /opt/openssl/lib/libssl.a(s2_srvr.o) - shared
library must be position
    independent.  Use +z or +Z to recompile.
make[4]: *** [libssl.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/opt/down/apache_1.3.23/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/opt/down/apache_1.3.23'
make: *** [build] Error 2



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org