You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Randy Kobes <ra...@theoryx5.uwinnipeg.ca> on 2003/11/06 16:41:38 UTC
[mp2] modperl_request_read in mod_perl.lib
With the current mp2 cvs, the build of Apache::RequestIO
fails with an unknown symbol modperl_request_read on Win32.
I think this is due to modperl_request_read being declared
as static within xs/tables/current/ModPerl/FunctionTable.pm,
which as such doesn't get added to mod_perl.lib. This patch:
========================================================
Index: xs/tables/current/ModPerl/FunctionTable.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v
retrieving revision 1.127
diff -u -r1.127 FunctionTable.pm
--- xs/tables/current/ModPerl/FunctionTable.pm 6 Nov 2003 11:22:02 -0000 1.127
+++ xs/tables/current/ModPerl/FunctionTable.pm 6 Nov 2003 15:37:32 -0000
@@ -5769,9 +5769,6 @@
{
'return_type' => 'SSize_t',
'name' => 'modperl_request_read',
- 'attr' => [
- 'static'
- ],
'args' => [
{
'type' => 'PerlInterpreter *',
=================================================================
allows it to be added, and the build completes.
--
best regards,
randy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: [mp2] modperl_request_read in mod_perl.lib
Posted by Stas Bekman <st...@stason.org>.
Randy Kobes wrote:
> With the current mp2 cvs, the build of Apache::RequestIO
> fails with an unknown symbol modperl_request_read on Win32.
> I think this is due to modperl_request_read being declared
> as static within xs/tables/current/ModPerl/FunctionTable.pm,
> which as such doesn't get added to mod_perl.lib. This patch:
Oops, bad copy-n-paste. Please commit. Thanks Randy.
> ========================================================
> Index: xs/tables/current/ModPerl/FunctionTable.pm
> ===================================================================
> RCS file: /home/cvs/modperl-2.0/xs/tables/current/ModPerl/FunctionTable.pm,v
> retrieving revision 1.127
> diff -u -r1.127 FunctionTable.pm
> --- xs/tables/current/ModPerl/FunctionTable.pm 6 Nov 2003 11:22:02 -0000 1.127
> +++ xs/tables/current/ModPerl/FunctionTable.pm 6 Nov 2003 15:37:32 -0000
> @@ -5769,9 +5769,6 @@
> {
> 'return_type' => 'SSize_t',
> 'name' => 'modperl_request_read',
> - 'attr' => [
> - 'static'
> - ],
> 'args' => [
> {
> 'type' => 'PerlInterpreter *',
> =================================================================
> allows it to be added, and the build completes.
>
--
__________________________________________________________________
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