Operating System - HP-UX
1827943 Members
2617 Online
109973 Solutions
New Discussion

Compile problem with mod_perl 1.99.16

 
Michael Simone
Frequent Advisor

Compile problem with mod_perl 1.99.16

Okay, now that HP's recommended patches have allowed me to build DBI and DBD-0racle onto Procura's (or is it Merijn's?) Perl 5.8.1, and I've built Apache 2.0.51, I'm getting this error when I try to make mod_perl 1.99.16:

cd "src/modules/perl" && make -f Makefile.modperl
rm -f mod_perl.so
/usr/bin/ld -b -L/pro/local/lib \
\
mod_perl.lo modperl_interp.lo modperl_tipool.lo modperl_log.lo modperl_c
onfig.lo modperl_cmd.lo modperl_options.lo modperl_callback.lo modperl_handler.l
o modperl_gtop.lo modperl_util.lo modperl_io.lo modperl_io_apache.lo modperl_fil
ter.lo modperl_bucket.lo modperl_mgv.lo modperl_pcw.lo modperl_global.lo modperl
_env.lo modperl_cgi.lo modperl_perl.lo modperl_perl_global.lo modperl_perl_pp.lo
modperl_sys.lo modperl_module.lo modperl_svptr_table.lo modperl_const.lo modper
l_constants.lo modperl_apache_compat.lo modperl_error.lo modperl_debug.lo modper
l_common_util.lo modperl_common_log.lo modperl_hooks.lo modperl_directives.lo mo
dperl_flags.lo modperl_xsinit.lo -E -B deferred -L/pro/local/lib /opt/perl/lib
/5.8.1/PA-RISC2.0/auto/DynaLoader/DynaLoader.a -L/opt/perl/lib/5.8.1/PA-RISC2.0/
CORE -lperl -lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lcrypt -lsec -lc \
-o mod_perl.so
/usr/bin/ld: (Warning) At least one PA 2.0 object file (mod_perl.lo) was detecte
d. The linked output may not run on a PA 1.x system.
/usr/bin/ld: Invalid loader fixup in text space needed in output file for symbol
"XS_DynaLoader_dl_load_file" in input file "/opt/perl/lib/5.8.1/PA-RISC2.0/auto
/DynaLoader/DynaLoader.a(DynaLoader.o)"
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

I thought it might be the gcc I installed from HP, so I swremoved it and installed procura's gcc 3.3.3, but got the same result.

Is this yet another patching issue? I'm on HP-UX 11.11 (32-bit I guess).
2 REPLIES 2
ranganath ramachandra
Esteemed Contributor

Re: Compile problem with mod_perl 1.99.16

if you still wanna build 32-bit, the makefile seems to have missed passic "-fpic" to gcc at the compile phase.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

H.Merijn Brand (procura
Honored Contributor

Re: Compile problem with mod_perl 1.99.16

Which is (most likely) the correct answer (probably).

# man perlhpux

search for 'loader'

Enjoy, Have FUN! H.Merijn [ who works for the /company/ PROCURA B.V. ]
Enjoy, Have FUN! H.Merijn