richter 01/01/15 12:18:08 Modified: embperl Changes.pod.1.html Faq.pod.1.html Faq.pod.cont.html Log: Embperl Webpages - Changes Revision Changes Path 1.196 +4 -1 modperl-site/embperl/Changes.pod.1.html Index: Changes.pod.1.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Changes.pod.1.html,v retrieving revision 1.195 retrieving revision 1.196 diff -u -r1.195 -r1.196 --- Changes.pod.1.html 2001/01/08 04:24:33 1.195 +++ Changes.pod.1.html 2001/01/15 20:18:05 1.196 @@ -21,7 +21,7 @@ [<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.3.0 (RELEASE) 4 Dec. 2000)</a>] <br><hr> <P> -Last Update: Mon Jan 8 05:23:48 2001 (MET) +Last Update: Mon Jan 15 21:17:57 2001 (MET) <P> NOTE: This version is only available via <A HREF="CVS.pod.1.html#INTRO" >"CVS"</A> @@ -32,6 +32,9 @@ <PRE> - Added object and isa parameters to Execute, which allows to get an object reference for a certain file and set the Perl inherence hierachive. Ideas from Neil Gunton and Angus Lees. + - Corrected a problem that leads to very strange errors when an + Embperl sub is called from an in memory source (that is passed + via the Execute input parameter). Spotted by Neil Gunton. </PRE> <p>[<a href="" >HOME</a>] [<a href="Changes.pod.cont.html">CONTENT</a>] [<a href="Changes.pod.cont.html">PREV (Revision History - Content)</a>] [<a href="Changes.pod.2.html">NEXT (1.3.0 (RELEASE) 4 Dec. 2000)</a>] <br> <font color="#808080">___________________________________________________________________________________<br> 1.19 +15 -1 modperl-site/embperl/Faq.pod.1.html Index: Faq.pod.1.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Faq.pod.1.html,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- Faq.pod.1.html 2000/12/04 08:27:33 1.18 +++ Faq.pod.1.html 2001/01/15 20:18:06 1.19 @@ -29,6 +29,7 @@ <LI><A href="Faq.pod.1.html#I_have_a_lot_of_errors_in_make_">I have a lot of errors in 'make test' from mod_perl when using Embperl</A> <LI><A href="Faq.pod.1.html#How_can_I_prevent_make_test_fr">How can I prevent 'make test' from running some of the tests? </A> <LI><A href="Faq.pod.1.html#Running_make_test_fails_with_a">Running 'make test' fails with an error message at loading of Embperl </A> + <LI><A href="Faq.pod.1.html#I_get_symbol_ap_undefined_cann">I get symbol ap_* undefined/cannot resolve ap_*</A> <LI><A href="Faq.pod.1.html#How_can_I_build_a_statically_lin">How can I build a statically-linked copy of Embperl with mod_perl </A> <LI><A href="Faq.pod.1.html#How_do_I_load_Embperl_at_server_">How do I load Embperl at server startup?</A> <LI><A href="Faq.pod.1.html#make_test_fails_with_a_SIGxxxx_">make test fails with a SIGxxxx, how can I obtain a stack backtrace</A> @@ -120,6 +121,12 @@ <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="Running_make_test_fails_with_a">Running 'make test' fails with an error message at loading of Embperl (even though mod_perl compiled and tested cleanly!)</A></H2> <P> +see ``I get symbol ap_* undefined/cannot resolve ap_*'' + +<P> +<HR> +<H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="I_get_symbol_ap_undefined_cann">I get symbol ap_* undefined/cannot resolve ap_*</A></H2> +<P> This can happen when symbols in the Apache binary can not be found or are not being resolved correctly. @@ -145,6 +152,11 @@ strip symbols out of either. <P> +On some systems/linker you need to tell the linker explicitly to export +such symbols. For example FreeBSD linker needs the +<CODE>-export-dynamic</CODE> option. + +<P> If you don't succeed with this approach, try statically linking Embperl to Apache/mod_perl (please see the next question for step-by-step instructions on how to do this). @@ -318,7 +330,9 @@ <H2><img src="sq.gif" width="16" height="16" alt="-"> <A NAME="Embperl_and_mod_perl_on_AIX">Embperl and mod_perl on AIX</A></H2> <P> You need at least mod_perl 1.22. For mod_perl 1.22 and higher Embperl -should compile out of the box on AIX. +should compile out of the box on AIX. If you run into problems with +undefined symbols (like <CODE>ap_*</CODE>) make sure you have the newest mod_perl version (as of this writing this +is mod_perl 1.24_01). <P> <HR> 1.21 +1 -0 modperl-site/embperl/Faq.pod.cont.html Index: Faq.pod.cont.html =================================================================== RCS file: /home/cvs/modperl-site/embperl/Faq.pod.cont.html,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- Faq.pod.cont.html 2000/12/04 08:27:38 1.20 +++ Faq.pod.cont.html 2001/01/15 20:18:07 1.21 @@ -42,6 +42,7 @@ <LI><A href="Faq.pod.1.html#I_have_a_lot_of_errors_in_make_">I have a lot of errors in 'make test' from mod_perl when using Embperl</A> <LI><A href="Faq.pod.1.html#How_can_I_prevent_make_test_fr">How can I prevent 'make test' from running some of the tests? </A> <LI><A href="Faq.pod.1.html#Running_make_test_fails_with_a">Running 'make test' fails with an error message at loading of Embperl </A> + <LI><A href="Faq.pod.1.html#I_get_symbol_ap_undefined_cann">I get symbol ap_* undefined/cannot resolve ap_*</A> <LI><A href="Faq.pod.1.html#How_can_I_build_a_statically_lin">How can I build a statically-linked copy of Embperl with mod_perl </A> <LI><A href="Faq.pod.1.html#How_do_I_load_Embperl_at_server_">How do I load Embperl at server startup?</A> <LI><A href="Faq.pod.1.html#make_test_fails_with_a_SIGxxxx_">make test fails with a SIGxxxx, how can I obtain a stack backtrace</A>