You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 48s] In file included from /usr/include/ctype.h:26:0,
[ 48s] from src/mod_security3.h:3,
[ 48s] from src/mod_security3.c:2:
[ 48s] /usr/include/features.h:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
[ 48s] # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
[ 48s] ^
[ 48s] In file included from src/msc_filters.h:17:0,
[ 48s] from src/mod_security3.h:27,
[ 48s] from src/mod_security3.c:2:
[ 48s] src/mod_security3.h:49:5: error: unknown type name 'Rules'
[ 48s] Rules *rules_set;
[ 48s] ^
[ 48s] src/mod_security3.c: In function 'create_tx_context':
[ 48s] src/mod_security3.c:144:55: error: 'Rules' undeclared (first use in this function)
[ 48s] msr->t = msc_new_transaction(msc_apache->modsec, (Rules *)z->rules_set, (void *)r);
[ 48s] ^
[ 48s] src/mod_security3.c:144:55: note: each undeclared identifier is reported only once for each function it appears in
[ 48s] src/mod_security3.c:144:62: error: expected expression before ')' token
[ 48s] msr->t = msc_new_transaction(msc_apache->modsec, (Rules *)z->rules_set, (void *)r);
[ 48s] ^
It happens because there is a line in mod_security.c that casts to (Rules *) needs to be (RuleSet *).
This is w/ v0.0.9beta1 FWiW
The text was updated successfully, but these errors were encountered:
Error:
It happens because there is a line in mod_security.c that casts to
(Rules *)
needs to be(RuleSet *)
.This is w/ v0.0.9beta1 FWiW
The text was updated successfully, but these errors were encountered: