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

Reply via email to