You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2000/08/16 06:53:09 UTC

Re: mod per compilation problem

On Wed, 5 Jul 2000, Kailashnath V Rampure wrote:

> This is with reference to ur mail on mod_perl APXS error w/ apache/raven to
> modperl mailing list.
> I have a problem same problem with mod_perl. I just removed the the -Wl, -E
> option from the flags of Make file for mod_perl but unable to compile
> mod_perl asa DSO.
> 
> I would like to know that were you able to compile mod_perl as a DSO on
> HP-UX 11 if so can let me know the steps you used to correct the problem.
> 
> 
> I have got the following error:
> 
> Apache istallation error:
> 
> ld -b -L/usr/local/lib -o libperl.so mod_perl.lo perlxsi.lo perl_config.lo
> perl_util.lo perlio.lo mod_perl_opmask.lo  Apache.lo Constants.lo
> ModuleConfig.lo Log.lo URI.lo Util.lo Connection.lo Server.lo File.lo
> Table.lo -Wl,-E -Wl,-B,deferred   -L/usr/local/lib
> /opt/perl5/lib/5.00503/PA-RISC2.0/auto/DynaLoader/DynaLoader.a -L/opt/perl5/
> lib/5.00503/PA-RISC2.0/CORE -lperl -lnsl -lnm -lndbm -ldld -lm -lc -lndir -l
> crypt
> ld: Unrecognized argument: -Wl,-E
> ld: Usage:  ld flags... files...

it looks like Perl's Config.pm is broken.  -Wl is meant for the compiler
(when used as LD), to pass arguments to the linker.  so, if you change:
-Wl,-E -Wl,-B,deferred

to -E -B deferred

it should work.  if you still have trouble, please post your 'perl -V'