[mod-security-users] mod_security fails to compile with Apache 2.1.7 beta
Brought to you by:
victorhora,
zimmerletw
|
From: ro so <apa...@gm...> - 2005-09-22 03:20:49
|
Trying to compile mod_security (both versions) with Apache 2.1.7 beta fails with this: /usr/local/apache2/bin/apxs -cia mod_security.c /usr/local/apache2/build/libtool --silent --mode=3Dcompile gcc -prefer-pic -DLINUX=3D2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthrea= d -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/include -c -o mod_security.lo mod_security.c && touch mod_security.slo mod_security.c:284: error: syntax error before "regex_t" mod_security.c:284: warning: no semicolon at end of struct or union mod_security.c:291: error: syntax error before '}' token mod_security.c:291: warning: data definition has no type or storage class mod_security.c:450: error: syntax error before "signature" mod_security.c:461: error: syntax error before "signature" mod_security.c: In function `sec_create_dir_config': mod_security.c:1375: error: syntax error before ')' token mod_security.c: At top level: mod_security.c:2274: error: syntax error before "signature" mod_security.c: In function `check_single_signature': mod_security.c:2283: error: `sig' undeclared (first use in this function) mod_security.c:2283: error: (Each undeclared identifier is reported only once mod_security.c:2283: error: for each function it appears in.) mod_security.c:2284: error: `msr' undeclared (first use in this function) mod_security.c: In function `sec_check_all_signatures': mod_security.c:2576: error: `signatures' undeclared (first use in this function) mod_security.c:2583: error: syntax error before ')' token mod_security.c: At top level: mod_security.c:2838: error: syntax error before "signature" mod_security.c: In function `check_sig_against_string': mod_security.c:2839: error: `msr' undeclared (first use in this function) mod_security.c:2843: error: `_sig' undeclared (first use in this function) mod_security.c:2848: error: `s' undeclared (first use in this function) mod_security.c:2859: error: `var_type' undeclared (first use in this function) mod_security.c: In function `cmd_filter': mod_security.c:3234: error: `sig' undeclared (first use in this function) mod_security.c:3243: error: `REG_EXTENDED' undeclared (first use in this function) mod_security.c:3243: error: `REG_ICASE' undeclared (first use in this function) mod_security.c:3243: error: `REG_NOSUB' undeclared (first use in this function) mod_security.c:3264: error: syntax error before ')' token mod_security.c: In function `cmd_filter_selective': mod_security.c:3295: error: `sig' undeclared (first use in this function) mod_security.c:3310: error: `REG_EXTENDED' undeclared (first use in this function) mod_security.c:3310: error: `REG_ICASE' undeclared (first use in this function) mod_security.c:3310: error: `REG_NOSUB' undeclared (first use in this function) mod_security.c:3435: error: syntax error before ')' token mod_security.c: In function `sec_filter_out': mod_security.c:4877: error: `signatures' undeclared (first use in this function) mod_security.c:4880: error: syntax error before ')' token apxs:Error: Command failed with rc=3D65536 |