Open
Description
I'm trying to compile mod-proxy-protocol on freshly installed Centos 7 and I'm getting error:
# make
apxs -c -Wc,-Wall mod_proxy_protocol.c
/usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -Wall -c -o mod_proxy_protocol.lo mod_proxy_protocol.c && touch mod_proxy_protocol.slo
mod_proxy_protocol.c: In function 'pp_hook_pre_connection':
mod_proxy_protocol.c:338:10: error: 'conn_rec' has no member named 'master'
if (c->master != NULL) {
^
In file included from mod_proxy_protocol.c:39:0:
mod_proxy_protocol.c:339:43: error: 'conn_rec' has no member named 'master'
conn_conf = ap_get_module_config(c->master->conn_config,
^
/usr/include/httpd/http_config.h:508:17: note: in definition of macro 'ap_get_module_config'
(((void **)(v))[(m)->module_index])
^
apxs:Error: Command failed with rc=65536
.
make: *** [.libs/mod_proxy_protocol.so] Error 1
httpd development package is installed as well:
# rpm -qa |grep httpd
httpd-tools-2.4.6-67.el7.centos.6.x86_64
httpd-2.4.6-67.el7.centos.6.x86_64
httpd-devel-2.4.6-67.el7.centos.6.x86_64
Tried on few Centos 7 with this same error.
Metadata
Metadata
Assignees
Labels
No labels