[GH-ISSUE #123] Nginx 1.24.0 support #94

Closed
opened 2026-03-04 12:18:53 +03:00 by kerem · 0 comments
Owner

Originally created by @60753b9e on GitHub (May 10, 2023).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/123

An exception occurred when compiling a dynamic module for Nginx 1.24.0.

/usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1213:12: error: ‘LIBINJECTION_VERSION’ undeclared (first use in this function); did you mean ‘LIBINJECTION_SQLI_H’?
 1213 |     return LIBINJECTION_VERSION;
      |            ^~~~~~~~~~~~~~~~~~~~
      |            LIBINJECTION_SQLI_H
/usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1213:12: note: each undeclared identifier is reported only once for each function it appears in
/usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1214:1: error: control reaches end of non-void function [-Werror=return-type]
 1214 | }
      | ^
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1337: objs/addon/src/libinjection_sqli.o] Error 1
make[1]: Leaving directory '/usr/local/src/nginx-1.24.0'
make: *** [Makefile:16: modules] Error 2
Originally created by @60753b9e on GitHub (May 10, 2023). Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/123 An exception occurred when compiling a dynamic module for Nginx 1.24.0. ``` /usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1213:12: error: ‘LIBINJECTION_VERSION’ undeclared (first use in this function); did you mean ‘LIBINJECTION_SQLI_H’? 1213 | return LIBINJECTION_VERSION; | ^~~~~~~~~~~~~~~~~~~~ | LIBINJECTION_SQLI_H /usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1213:12: note: each undeclared identifier is reported only once for each function it appears in /usr/local/src/ngx_waf/inc/libinjection/src/libinjection_sqli.c:1214:1: error: control reaches end of non-void function [-Werror=return-type] 1214 | } | ^ cc1: all warnings being treated as errors make[1]: *** [objs/Makefile:1337: objs/addon/src/libinjection_sqli.o] Error 1 make[1]: Leaving directory '/usr/local/src/nginx-1.24.0' make: *** [Makefile:16: modules] Error 2 ```
kerem closed this issue 2026-03-04 12:18:53 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ngx_waf#94
No description provided.