You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Fred Moyer <fr...@taperfriendlymusic.org> on 2003/12/09 22:06:03 UTC

[mp2] make fails under mp1.99_11, perl 5.8.2 src, httpd-2.0.48, rhat 2.4.20-20.9

Building mod_perl-1.99_11 under redhat 2.4.20-20.9, perl 5.8.2, and
httpd-2.0.48 resulted in the following error:

APR.xs:41:24: macro "extra_apr_init" passed 1 arguments, but takes just
0
APR.xs: In function `boot_APR':
APR.xs:41: `extra_apr_init' undeclared (first use in this function)
APR.xs:41: (Each undeclared identifier is reported only once
APR.xs:41: for each function it appears in.)
make[3]: *** [APR.o] Error 1
make[3]: Leaving directory
`/home/httpd/httpd_perl/mod_perl-1.99_11/xs/APR/APR'
make[2]: *** [subdirs] Error 2
make[2]: Leaving directory
`/home/httpd/httpd_perl/mod_perl-1.99_11/xs/APR'
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory `/home/httpd/httpd_perl/mod_perl-1.99_11/xs'
make: *** [subdirs] Error 2

Application of the following patch to xs/APR/APR/APR.xs corrected the
problem and the build completed successfully:

31c31
< #   define extra_apr_init()
---
> #   define extra_apr_init(aTHX)

Regards,
Fred



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: [mp2] make fails under mp1.99_11, perl 5.8.2 src, httpd-2.0.48, rhat 2.4.20-20.9

Posted by Stas Bekman <st...@stason.org>.
Fred Moyer wrote:
> Building mod_perl-1.99_11 under redhat 2.4.20-20.9, perl 5.8.2, and
> httpd-2.0.48 resulted in the following error:
> 
> APR.xs:41:24: macro "extra_apr_init" passed 1 arguments, but takes just
> 0
> APR.xs: In function `boot_APR':
> APR.xs:41: `extra_apr_init' undeclared (first use in this function)
[...]
> Application of the following patch to xs/APR/APR/APR.xs corrected the
> problem and the build completed successfully:
> 
> 31c31
> < #   define extra_apr_init()
> ---
> 
>>#   define extra_apr_init(aTHX)

Thanks Fred, committed.

__________________________________________________________________
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


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html