Hello,

When building the new 2.4.33 release on one of the RHEL-based distributions 
(Oracle Linux 7 in my case, but I think this would also happen on RHEL 7 and 
CentOS 7), I see this warning:

mod_remoteip.c: In function 'remoteip_sockaddr_compat':
mod_remoteip.c:329:5: warning: implicit declaration of function 
'apr_sockaddr_is_wildcard' [-Wimplicit-function-declaration]
     if (apr_sockaddr_is_wildcard(addr1) &&
     ^

And at runtime, I get this error when I try to load mod_remoteip:

Cannot load modules/mod_remoteip.so into server: 
/opt/httpd/modules/mod_remoteip.so: undefined symbol: apr_sockaddr_is_wildcard

A little googling tells me that apr_sockaddr_is_wildcard was adding in apr 1.5, 
but the apr version in RHEL/CentOS/etc. 7 is 1.4.8.

Is there any way to work around this in the build, or do I have to build my own 
apr?

Thanks,

Kav Moradhassel | Ciena
kmora...@ciena.com<mailto:kmora...@ciena.com> | 385 Terry Fox Drive | Ottawa, 
ON, K2K 0L1  Canada

Reply via email to