Closed Rar9 closed 1 year ago
Attach the following commands output
Describe the bug A clear and concise description of what the bug is.
nginx compile with NAXSI WAF not possible
cc1: note: ‘-gsplit-dwarf’ is not supported with LTO, disabling ../naxsi/naxsi_src/naxsi_runtime.c: In function ‘ngx_http_process_basic_rule_buffer’: ../naxsi/naxsi_src/naxsi_runtime.c:205:61: error: dereferencing pointer to incomplete type ‘ngx_regex_t’ {aka ‘struct pcre2_real_code_8’} 205 | (tmp_idx < len && (match = pcre_exec(rl->br->rx->regex->code, | ^~ objs/Makefile:1617: recipe for target 'objs/addon/naxsi_src/naxsi_runtime.o' failed make[1]: *** [objs/addon/naxsi_src/naxsi_runtime.o] Error 1 make[1]: Leaving directory '/usr/local/src/nginx'
Attach the following commands output
Describe the bug A clear and concise description of what the bug is.
nginx compile with NAXSI WAF not possible
cc1: note: ‘-gsplit-dwarf’ is not supported with LTO, disabling ../naxsi/naxsi_src/naxsi_runtime.c: In function ‘ngx_http_process_basic_rule_buffer’: ../naxsi/naxsi_src/naxsi_runtime.c:205:61: error: dereferencing pointer to incomplete type ‘ngx_regex_t’ {aka ‘struct pcre2_real_code_8’} 205 | (tmp_idx < len && (match = pcre_exec(rl->br->rx->regex->code, | ^~ objs/Makefile:1617: recipe for target 'objs/addon/naxsi_src/naxsi_runtime.o' failed make[1]: *** [objs/addon/naxsi_src/naxsi_runtime.o] Error 1 make[1]: Leaving directory '/usr/local/src/nginx'