Nic
Nic

Reputation: 61

Apache mod compile error: apxs mod_antiloris.c

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);

Any advise please?

Thanks Nic

Upvotes: 0

Views: 520

Answers (1)

Aif
Aif

Reputation: 11220

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.

Upvotes: 0

Related Questions