perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] undefined symbol: load_module
Date Wed, 07 Jul 2004 18:40:10 GMT
Markus Wichitill wrote:
>>What's the nm on the libperl.so then?
> 
> 
> $ nm /usr/local/perl/lib/CORE/libperl.so | grep load_module
> 0010cde0 T Perl_Iin_load_module_ptr
> 00058ff0 T Perl_load_module
> 00059040 T Perl_load_module_nocontext
> 000590a0 T Perl_vload_module
> 
> It's the same for both 5.8.3 and 5.8.4 libperl.so, that's why I didn't
> include it in the first post, unlike the differing lists for both
> mod_perl.so versions.
> 
> 
>>Also see which .o object is src/modules/perl refers to load_module
>>(again using nm).
> 
> 
> modperl_util.o:
>         [...]
>          U load_module
>         [...]

Any difference with this patch:


Index: src/modules/perl/modperl_util.c
===================================================================
RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.c,v
retrieving revision 1.71
diff -u -r1.71 modperl_util.c
--- src/modules/perl/modperl_util.c     22 Jun 2004 22:34:10 -0000      1.71
+++ src/modules/perl/modperl_util.c     7 Jul 2004 18:40:03 -0000
@@ -748,9 +748,9 @@
       * notice that B::Deparse is not CPAN-updatable.
       * 0.61 is available starting from 5.8.0
       */
-    load_module(PERL_LOADMOD_NOIMPORT,
-                newSVpvn("B::Deparse", 10),
-                newSVnv(SvOBJECT((SV*)cv) ? 0.61 : 0.60));
+    Perl_load_module(aTHX_ PERL_LOADMOD_NOIMPORT,
+                     newSVpvn("B::Deparse", 10),
+                     newSVnv(SvOBJECT((SV*)cv) ? 0.61 : 0.60));

      ENTER;
      SAVETMPS;


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message