[英]Apache mod compile error: apxs mod_antiloris.c
Try to install mod_antiloris. 尝试安装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:126:37:错误: 'conn_rec'没有名为'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);
mod_antiloris.c:133:10:警告:传递'ap_get_scoreboard_worker'的参数1使指针从整数开始而无需强制转换[默认启用] ws_record = ap_get_scoreboard_worker(i,j);
Any advise please? 有什么建议吗?
Thanks Nic 谢谢尼克
It looks like the module is outdated: according to doxygen the existing fields are either client_ip
or remote_host
. 看起来该模块已过时: 根据doxygen的说法,现有字段为
client_ip
或remote_host
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.