lude \
-o objs/src/http/modules/ngx_http_upstream_random_module.o \
src/http/modules/ngx_http_upstream_random_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
src/http/modules/ngx_http_upstream_keepalive_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_upstream_zone_module.o \
src/http/modules/ngx_http_upstream_zone_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_stub_status_module.o \
src/http/modules/ngx_http_stub_status_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_module.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_pre_access.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_pre_access.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_header_filter.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_header_filter.c
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c: In function 'ngx_http_modsecurity_pcre_malloc_init':
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:78:9: error: 'pcre_malloc' undeclared (first use in this function)
if (pcre_malloc != ngx_http_modsec_pcre_malloc) {
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:78:9: note: each undeclared identifier is reported only once for each function it appears in
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:82:25: error: 'pcre_free' undeclared (first use in this function)
old_pcre_free = pcre_free;
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c: In function 'ngx_http_modsecurity_pcre_malloc_done':
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:102:9: error: 'pcre_malloc' undeclared (first use in this function)
pcre_malloc = old_pcre_malloc;
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:103:9: error: 'pcre_free' undeclared (first use in this function)
pcre_free = old_pcre_free;
^
make[1]: *** [objs/addon/src/ngx_http_modsecurity_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/local/directadmin/custombuild/nginx-1.21.5'
make: *** [build] Error 2
Any idea ?
came from ./build nginx_apache
Centos 7
[root@ns4 custombuild]# ./build version
2.0.0 (rev: 2829)
-o objs/src/http/modules/ngx_http_upstream_random_module.o \
src/http/modules/ngx_http_upstream_random_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
src/http/modules/ngx_http_upstream_keepalive_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_upstream_zone_module.o \
src/http/modules/ngx_http_upstream_zone_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/src/http/modules/ngx_http_stub_status_module.o \
src/http/modules/ngx_http_stub_status_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_module.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_pre_access.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_pre_access.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g '-D FD_SETSIZE=32768' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/http/v2 -I /usr/local/modsecurity/include \
-o objs/addon/src/ngx_http_modsecurity_header_filter.o \
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_header_filter.c
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c: In function 'ngx_http_modsecurity_pcre_malloc_init':
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:78:9: error: 'pcre_malloc' undeclared (first use in this function)
if (pcre_malloc != ngx_http_modsec_pcre_malloc) {
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:78:9: note: each undeclared identifier is reported only once for each function it appears in
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:82:25: error: 'pcre_free' undeclared (first use in this function)
old_pcre_free = pcre_free;
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c: In function 'ngx_http_modsecurity_pcre_malloc_done':
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:102:9: error: 'pcre_malloc' undeclared (first use in this function)
pcre_malloc = old_pcre_malloc;
^
../modsecurity-nginx-v1.0.2/src/ngx_http_modsecurity_module.c:103:9: error: 'pcre_free' undeclared (first use in this function)
pcre_free = old_pcre_free;
^
make[1]: *** [objs/addon/src/ngx_http_modsecurity_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/local/directadmin/custombuild/nginx-1.21.5'
make: *** [build] Error 2
Any idea ?
came from ./build nginx_apache
Centos 7
[root@ns4 custombuild]# ./build version
2.0.0 (rev: 2829)
Last edited: