Apache mod compile error: apxs mod_antiloris.c

492 Views Asked by At

Try to install mod_antiloris. Getting compile error, when running the below command:

apxs -a -i -c mod_antiloris.c

Compile Error:

mod_antiloris.c:126:37: error: 'conn_rec' has no member named 'remote_ip' apr_cpystrn(ws_record->client, c->remote_ip, sizeof(ws_record->client));

mod_antiloris.c:133:10: warning: passing argument 1 of 'ap_get_scoreboard_worker' makes pointer from integer without a cast [enabled by default] ws_record = ap_get_scoreboard_worker(i, j);

  • Apache version: Apache/2.4.6 (SLES Expanded Support platform)
  • O/S Redhat 7.4

Any advise please?

Thanks Nic

1

There are 1 best solutions below

2
On

It looks like the module is outdated: according to doxygen the existing fields are either client_ip or remote_host.

Edit: someone posted a patch here.