Gordon Lack wrote:
  When I compile with MP_DEBUG=1 set the test reports this:

92021:/local/GML/install/apache2/bin/httpd: rld: Fatal Error:
attempted access to unresolvable symbol in
  /local/GML/......../ServerUtil.so: Perl_Tstack_sp_ptr

Please take a look at: http://perl.apache.org/docs/1.0/guide/troubleshooting.html#_relocation_errors__or__undefined_symbol_

Is that the cause of the problem?


   No - it isn't.  I know that because the good(?) news is that I've
found out what the problem is.

The symbol is in mod_perl.so, but is HIDDEN. This seems to be
because it has been obtained from a static archive (libperl.a). [NOTE: This last statement could be completely wrong - I'm basing this on a
quick perusal of man pages, not knowledge]


   The solution (*very* basic at present) is to tell the loader to
export symbols from libperl.a which it would otherwise hide.  To do this
I fished out the loinker command which produced mod_perl.so and added a
"-exports" option immediatley before "-lperl"  (this option only affects
the next load).

   Hardly a usable solution, but I'll see what I can do as far as
automation goes...

Yes, it means that irix is a special case and needs to add this option. So you have most of it solved. Now please take a look at perl_config_lddlflags in lib/Apache/Build.pm, it should probably go there (make a special case for IRIX). A patch would be gladly accepted.



-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com

Reply via email to