[mod-security-users] Compile Error ModSecurity2
Brought to you by:
victorhora,
zimmerletw
From: Philip M. <mb...@ni...> - 2008-01-23 05:55:07
|
Hi, I have problem a problem compiling mod security 2 on freebsd 6.1 with apache22. The modsec 1.9 available in the ports install successfully bu I would like to use version 2. Kindly assist. Below is the error log: /usr/local/include/apache22/http_request.h:131: warning: data definition has no type or storage class /usr/local/include/apache22/http_request.h:198: error: syntax error before "apr_time_t" /usr/local/include/apache22/http_request.h:261: error: syntax error before "int" /usr/local/include/apache22/http_request.h:271: error: syntax error before "int" /usr/local/include/apache22/http_request.h:286: error: syntax error before "int" /usr/local/include/apache22/http_request.h:300: error: syntax error before "int" /usr/local/include/apache22/http_request.h:309: error: syntax error before "int" /usr/local/include/apache22/http_request.h:319: error: syntax error before "int" /usr/local/include/apache22/http_request.h:331: error: syntax error before "int" /usr/local/include/apache22/http_request.h:344: error: syntax error before "int" /usr/local/include/apache22/http_request.h:351: error: syntax error before "void" In file included from modsecurity.h:34, =20 from mod_security2.c:16: msc_multipart.h:22:25: apr_general.h: No such file or directory msc_multipart.h:23:24: apr_tables.h: No such file or directory In file included from modsecurity.h:34, =20 from mod_security2.c:16: msc_multipart.h:40: error: syntax error before "apr_array_header_t" msc_multipart.h:53: error: syntax error before "apr_table_t" msc_multipart.h:61: error: syntax error before "apr_array_header_t" msc_multipart.h:124: error: syntax error before "multipart_cleanup" msc_multipart.h:124: warning: type defaults to `int' in declaration of `multipart_cleanup' msc_multipart.h:124: warning: data definition has no type or storage class msc_multipart.h:126: error: syntax error before "apr_table_t" In file included from modsecurity.h:35, =20 from mod_security2.c:16: msc_pcre.h:16:18: pcre.h: No such file or directory In file included from modsecurity.h:35, =20 from mod_security2.c:16: msc_pcre.h:26: error: syntax error before "msc_pcre_cleanup" msc_pcre.h:26: warning: type defaults to `int' in declaration of `msc_pcre_cleanup' msc_pcre.h:26: warning: data definition has no type or storage class msc_pcre.h:28: error: syntax error before '*' token In file included from modsecurity.h:36, =20 from mod_security2.c:16: msc_util.h:20: error: syntax error before '*' token msc_util.h:22: error: syntax error before '*' token msc_util.h:26: error: syntax error before '*' token msc_util.h:28: error: syntax error before '*' token msc_util.h:32: error: syntax error before '*' token msc_util.h:40: error: syntax error before '*' token msc_util.h:42: error: syntax error before '*' token msc_util.h:44: error: syntax error before '*' token msc_util.h:52: error: syntax error before '*' token msc_util.h:54: error: syntax error before '*' token msc_util.h:56: error: syntax error before '*' token msc_util.h:58: error: syntax error before '*' token msc_util.h:60: error: syntax error before '*' token msc_util.h:62: error: syntax error before '*' token msc_util.h:69: error: syntax error before '*' token In file included from modsecurity.h:38, =20 from mod_security2.c:16: msc_xml.h:39: error: syntax error before "xml_cleanup" msc_xml.h:39: warning: type defaults to `int' in declaration of `xml_cleanup' msc_xml.h:39: warning: data definition has no type or storage class In file included from re.h:34, =20 from modsecurity.h:40, =20 from mod_security2.c:16: persist_dbm.h:17: error: syntax error before '*' token persist_dbm.h:18: warning: type defaults to `int' in declaration of `collection_retrieve' persist_dbm.h:18: warning: data definition has no type or storage class persist_dbm.h:20: error: syntax error before "apr_table_t" In file included from re.h:35, =20 from modsecurity.h:40, =20 from mod_security2.c:16: apache2.h:17:25: apr_general.h: No such file or directory apache2.h:18:26: apr_optional.h: No such file or directory In file included from re.h:35, =20 from modsecurity.h:40, =20 from mod_security2.c:16: apache2.h:24: error: syntax error before "modsec_register_tfn" apache2.h:25: error: syntax error before "modsec_register_operator" apache2.h:31: error: syntax error before '*' token apache2.h:33: error: syntax error before '*' token apache2.h:40: error: syntax error before "input_filter" apache2.h:40: error: syntax error before "apr_bucket_brigade" apache2.h:41: warning: type defaults to `int' in declaration of `input_filter' apache2.h:41: warning: data definition has no type or storage class apache2.h:43: error: syntax error before "output_filter" apache2.h:43: error: syntax error before "apr_bucket_brigade" apache2.h:43: warning: type defaults to `int' in declaration of `output_filter' apache2.h:43: warning: data definition has no type or storage class apache2.h:45: error: syntax error before "read_request_body" apache2.h:45: warning: type defaults to `int' in declaration of `read_request_body' apache2.h:45: warning: data definition has no type or storage class apache2.h:56: error: syntax error before '*' token apache2.h:65: error: syntax error before '*' token In file included from modsecurity.h:40, =20 from mod_security2.c:16: re.h:40: error: syntax error before "apr_pool_t" re.h:42: error: syntax error before "msre_parse_targets" re.h:43: error: syntax error before "apr_array_header_t" re.h:43: warning: type defaults to `int' in declaration of `msre_parse_targets' re.h:43: warning: data definition has no type or storage class re.h:45: error: syntax error before "msre_parse_actions" re.h:46: warning: type defaults to `int' in declaration of `msre_parse_actions' re.h:46: warning: data definition has no type or storage class re.h:55: error: syntax error before '*' token re.h:61: error: syntax error before '*' token re.h:70: error: syntax error before "apr_pool_t" re.h:77: error: syntax error before '*' token re.h:84: error: syntax error before "apr_pool_t" re.h:87: error: syntax error before "apr_array_header_t" re.h:94: error: syntax error before "msre_ruleset_process_phase" re.h:94: warning: type defaults to `int' in declaration of `msre_ruleset_process_phase' re.h:94: warning: data definition has no type or storage class re.h:96: error: syntax error before "msre_ruleset_process_phase_internal" re.h:96: warning: type defaults to `int' in declaration of `msre_ruleset_process_phase_internal' re.h:96: warning: data definition has no type or storage class re.h:98: error: syntax error before "apr_pool_t" re.h:113: error: syntax error before "apr_array_header_t" re.h:130: error: syntax error before "msre_rule_process" re.h:130: warning: type defaults to `int' in declaration of `msre_rule_process' re.h:130: warning: data definition has no type or storage class re.h:150: error: syntax error before '*' token re.h:189: error: syntax error before "apr_table_t" re.h:216: error: syntax error before "apr_table_t" re.h:251: error: syntax error before '*' token re.h:252: error: syntax error before '*' token re.h:273: error: syntax error before "fn_action_init_t" re.h:288: error: syntax error before '*' token re.h:291: error: syntax error before "msre_parse_vars" re.h:292: error: syntax error before "apr_array_header_t" re.h:292: warning: type defaults to `int' in declaration of `msre_parse_vars' re.h:292: warning: data definition has no type or storage class In file included from mod_security2.c:16: modsecurity.h:43:21: apr_md5.h: No such file or directory modsecurity.h:44:25: apr_strings.h: No such file or directory In file included from modsecurity.h:46, =20 from mod_security2.c:16: /usr/local/include/apache22/http_config.h:279: error: syntax error before "apr_int64_t" /usr/local/include/apache22/http_config.h:291: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_config.h:357: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:365: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:372: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:380: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:393: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:557: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:566: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_config.h:582: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_config.h:607: error: syntax error before "ap_pcfg_openfile" /usr/local/include/apache22/http_config.h:608: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_config.h:608: warning: type defaults to `int' in declaration of `ap_pcfg_openfile' /usr/local/include/apache22/http_config.h:608: warning: data definition has no type or storage class /usr/local/include/apache22/http_config.h:619: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:622: error: `ap_pcfg_open_custom' declared as function returning a function /usr/local/include/apache22/http_config.h:623: error: syntax error before "void" /usr/local/include/apache22/http_config.h:669: error: syntax error before '*' token /usr/local/include/apache22/http_config.h:685: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_config.h:975: error: syntax error before "int" /usr/local/include/apache22/http_config.h:984: error: syntax error before "int" /usr/local/include/apache22/http_config.h:993: error: syntax error before "void" /usr/local/include/apache22/http_config.h:1003: error: syntax error before "int" /usr/local/include/apache22/http_config.h:1014: error: syntax error before "int" /usr/local/include/apache22/http_config.h:1022: error: syntax error before "void" /usr/local/include/apache22/http_config.h:1029: error: syntax error before "int" /usr/local/include/apache22/http_config.h:1042: error: syntax error before "int" /usr/local/include/apache22/http_config.h:1049: error: syntax error before "void" In file included from modsecurity.h:47, =20 from mod_security2.c:16: /usr/local/include/apache22/http_log.h:33:29: apr_thread_proc.h: No such file or directory In file included from modsecurity.h:47, =20 from mod_security2.c:16: /usr/local/include/apache22/http_log.h:102: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:109: error: syntax error before "ap_replace_stderr_log" /usr/local/include/apache22/http_log.h:109: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:110: warning: type defaults to `int' in declaration of `ap_replace_stderr_log' /usr/local/include/apache22/http_log.h:110: warning: data definition has no type or storage class /usr/local/include/apache22/http_log.h:121: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:172: error: syntax error before "apr_status_t" /usr/local/include/apache22/http_log.h:196: error: syntax error before "apr_status_t" /usr/local/include/apache22/http_log.h:220: error: syntax error before "apr_status_t" /usr/local/include/apache22/http_log.h:246: error: syntax error before "apr_status_t" /usr/local/include/apache22/http_log.h:261: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:269: error: syntax error before "ap_read_pid" /usr/local/include/apache22/http_log.h:269: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:269: warning: type defaults to `int' in declaration of `ap_read_pid' /usr/local/include/apache22/http_log.h:269: warning: data definition has no type or storage class /usr/local/include/apache22/http_log.h:282: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_log.h:301: error: syntax error before '*' token /usr/local/include/apache22/http_log.h:335: error: syntax error before "void" In file included from modsecurity.h:48, =20 from mod_security2.c:16: /usr/local/include/apache22/http_protocol.h:31:26: apr_portable.h: No such file or directory /usr/local/include/apache22/http_protocol.h:32:22: apr_mmap.h: No such file or directory In file included from modsecurity.h:48, =20 from mod_security2.c:16: /usr/local/include/apache22/http_protocol.h:45: error: syntax error before "void" /usr/local/include/apache22/http_protocol.h:77: error: syntax error before "apr_bucket_brigade" /usr/local/include/apache22/http_protocol.h:111: error: syntax error before "apr_off_t" /usr/local/include/apache22/http_protocol.h:127: error: syntax error before "ap_rationalize_mtime" /usr/local/include/apache22/http_protocol.h:127: error: syntax error before "apr_time_t" /usr/local/include/apache22/http_protocol.h:127: warning: type defaults to `int' in declaration of `ap_rationalize_mtime' /usr/local/include/apache22/http_protocol.h:127: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:203: error: syntax error before "ap_send_fd" /usr/local/include/apache22/http_protocol.h:203: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:204: warning: type defaults to `int' in declaration of `ap_send_fd' /usr/local/include/apache22/http_protocol.h:204: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:228: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:235: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:253: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:426: error: syntax error before "apr_size_t" /usr/local/include/apache22/http_protocol.h:534: error: syntax error before "ap_rgetline_core" /usr/local/include/apache22/http_protocol.h:534: error: syntax error before "apr_size_t" /usr/local/include/apache22/http_protocol.h:537: warning: type defaults to `int' in declaration of `ap_rgetline_core' /usr/local/include/apache22/http_protocol.h:537: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:554: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:569: error: syntax error before "int" /usr/local/include/apache22/http_protocol.h:577: error: syntax error before "int" /usr/local/include/apache22/http_protocol.h:585: error: syntax error before "const" /usr/local/include/apache22/http_protocol.h:592: error: syntax error before '(' token /usr/local/include/apache22/http_protocol.h:608: error: syntax error before "apr_bucket_refcount" /usr/local/include/apache22/http_protocol.h:616: error: syntax error before "ap_bucket_type_error" /usr/local/include/apache22/http_protocol.h:616: warning: type defaults to `int' in declaration of `ap_bucket_type_error' /usr/local/include/apache22/http_protocol.h:616: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:633: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:633: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:634: warning: type defaults to `int' in declaration of `ap_bucket_error_make' /usr/local/include/apache22/http_protocol.h:634: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:644: error: syntax error before '*' token /usr/local/include/apache22/http_protocol.h:645: error: syntax error before "apr_pool_t" /usr/local/include/apache22/http_protocol.h:646: warning: type defaults to `int' in declaration of `ap_bucket_error_create' /usr/local/include/apache22/http_protocol.h:646: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:648: error: syntax error before "ap_byterange_filter" /usr/local/include/apache22/http_protocol.h:648: error: syntax error before "apr_bucket_brigade" /usr/local/include/apache22/http_protocol.h:648: warning: type defaults to `int' in declaration of `ap_byterange_filter' /usr/local/include/apache22/http_protocol.h:648: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:649: error: syntax error before "ap_http_header_filter" /usr/local/include/apache22/http_protocol.h:649: error: syntax error before "apr_bucket_brigade" /usr/local/include/apache22/http_protocol.h:649: warning: type defaults to `int' in declaration of `ap_http_header_filter' /usr/local/include/apache22/http_protocol.h:649: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:650: error: syntax error before "ap_content_length_filter" /usr/local/include/apache22/http_protocol.h:651: error: syntax error before "apr_bucket_brigade" /usr/local/include/apache22/http_protocol.h:651: warning: type defaults to `int' in declaration of `ap_content_length_filter' /usr/local/include/apache22/http_protocol.h:651: warning: data definition has no type or storage class /usr/local/include/apache22/http_protocol.h:652: error: syntax error before "ap_old_write_filter" /usr/local/include/apache22/http_protocol.h:652: error: syntax error before "apr_bucket_brigade" /usr/local/include/apache22/http_protocol.h:652: warning: type defaults to `int' in declaration of `ap_old_write_filter' /usr/local/include/apache22/http_protocol.h:652: warning: data definition has no type or storage class In file included from /usr/local/include/apache22/unixd.h:30, =20 from modsecurity.h:89, =20 from mod_security2.c:16: /usr/local/include/apache22/ap_listen.h:34: error: syntax error before '*' token /usr/local/include/apache22/ap_listen.h:50: error: syntax error before "apr_socket_t" In file included from modsecurity.h:89, =20 from mod_security2.c:16: /usr/local/include/apache22/unixd.h:39:28: apr_proc_mutex.h: No such file or directory /usr/local/include/apache22/unixd.h:40:30: apr_global_mutex.h: No such file or directory In file included from modsecurity.h:89, =20 from mod_security2.c:16: /usr/local/include/apache22/unixd.h:57: error: syntax error before "ap_unix_identity_t" /usr/local/include/apache22/unixd.h:79: error: syntax error before '*' token /usr/local/include/apache22/unixd.h:98: error: syntax error before "unixd_set_proc_mutex_perms" /usr/local/include/apache22/unixd.h:98: error: syntax error before '*' token /usr/local/include/apache22/unixd.h:98: warning: type defaults to `int' in declaration of `unixd_set_proc_mutex_perms' /usr/local/include/apache22/unixd.h:98: warning: data definition has no type or storage class /usr/local/include/apache22/unixd.h:99: error: syntax error before "unixd_set_global_mutex_perms" /usr/local/include/apache22/unixd.h:99: error: syntax error before '*' token /usr/local/include/apache22/unixd.h:99: warning: type defaults to `int' in declaration of `unixd_set_global_mutex_perms' /usr/local/include/apache22/unixd.h:99: warning: data definition has no type or storage class /usr/local/include/apache22/unixd.h:100: error: syntax error before "unixd_accept" /usr/local/include/apache22/unixd.h:100: error: syntax error before "apr_pool_t" /usr/local/include/apache22/unixd.h:100: warning: type defaults to `int' in declaration of `unixd_accept' /usr/local/include/apache22/unixd.h:100: warning: data definition has no type or storage class In file included from mod_security2.c:16: modsecurity.h:167: error: syntax error before "apr_pool_t" modsecurity.h:184: error: syntax error before "apr_bucket_brigade" modsecurity.h:188: error: syntax error before "apr_size_t" modsecurity.h:191: error: syntax error before "apr_bucket_brigade" modsecurity.h:197: error: syntax error before "apr_size_t" modsecurity.h:201: error: syntax error before "apr_array_header_t" modsecurity.h:229: error: syntax error before "apr_table_t" modsecurity.h:234: error: syntax error before "apr_table_t" modsecurity.h:242: error: syntax error before "apr_table_t" modsecurity.h:248: error: syntax error before "apr_table_t" modsecurity.h:250: error: syntax error before "apr_off_t" modsecurity.h:258: error: syntax error before "apr_pool_t" modsecurity.h:283: error: syntax error before "apr_file_t" modsecurity.h:285: error: syntax error before "apr_md5_ctx_t" modsecurity.h:293: error: syntax error before "apr_time_t" modsecurity.h:305: error: syntax error before "apr_table_t" modsecurity.h:313: error: syntax error before "apr_pool_t" modsecurity.h:324: error: syntax error before "apr_table_t" modsecurity.h:329: error: syntax error before "apr_file_t" modsecurity.h:335: error: syntax error before "apr_array_header_t" modsecurity.h:354: error: syntax error before "apr_file_t" modsecurity.h:393: error: syntax error before "apr_status_t" modsecurity.h:398: error: syntax error before "apr_pool_t" modsecurity.h:406: error: syntax error before "apr_size_t" modsecurity.h:432: error: syntax error before '*' token modsecurity.h:434: error: syntax error before "apr_pool_t" modsecurity.h:440: error: syntax error before "modsecurity_tx_init" modsecurity.h:440: warning: type defaults to `int' in declaration of `modsecurity_tx_init' modsecurity.h:440: warning: data definition has no type or storage class modsecurity.h:442: error: syntax error before "modsecurity_process_phase" modsecurity.h:442: warning: type defaults to `int' in declaration of `modsecurity_process_phase' modsecurity.h:442: warning: data definition has no type or storage class modsecurity.h:447: error: syntax error before "modsecurity_request_body_start" modsecurity.h:447: warning: type defaults to `int' in declaration of `modsecurity_request_body_start' modsecurity.h:447: warning: data definition has no type or storage class modsecurity.h:449: error: syntax error before "modsecurity_request_body_store" modsecurity.h:450: error: syntax error before "apr_size_t" modsecurity.h:450: warning: type defaults to `int' in declaration of `modsecurity_request_body_store' modsecurity.h:450: warning: data definition has no type or storage class modsecurity.h:452: error: syntax error before "modsecurity_request_body_end" modsecurity.h:452: warning: type defaults to `int' in declaration of `modsecurity_request_body_end' modsecurity.h:452: warning: data definition has no type or storage class modsecurity.h:454: error: syntax error before "modsecurity_request_body_retrieve_start" modsecurity.h:454: warning: type defaults to `int' in declaration of `modsecurity_request_body_retrieve_start' modsecurity.h:454: warning: data definition has no type or storage class modsecurity.h:456: error: syntax error before "modsecurity_request_body_retrieve_end" modsecurity.h:456: warning: type defaults to `int' in declaration of `modsecurity_request_body_retrieve_end' modsecurity.h:456: warning: data definition has no type or storage class modsecurity.h:462: error: syntax error before "modsecurity_request_body_retrieve" modsecurity.h:463: warning: type defaults to `int' in declaration of `modsecurity_request_body_retrieve' modsecurity.h:463: warning: data definition has no type or storage class modsecurity.h:471: error: syntax error before "modsecurity_request_body_clear" modsecurity.h:471: warning: type defaults to `int' in declaration of `modsecurity_request_body_clear' modsecurity.h:471: warning: data definition has no type or storage class mod_security2.c:39: error: syntax error before '*' token mod_security2.c:39: warning: type defaults to `int' in declaration of `guardianlog_fd' mod_security2.c:39: warning: data definition has no type or storage class mod_security2.c: In function `perform_interception': mod_security2.c:74: warning: implicit declaration of function `apr_psprintf' mod_security2.c:74: error: structure has no member named `mp' mod_security2.c:74: warning: assignment makes pointer from integer without a cast mod_security2.c:87: warning: implicit declaration of function `apr_sleep' mod_security2.c:87: error: `apr_interval_time_t' undeclared (first use in this function) mod_security2.c:87: error: (Each undeclared identifier is reported only once mod_security2.c:87: error: for each function it appears in.) mod_security2.c:95: error: structure has no member named `mp' mod_security2.c:96: warning: assignment makes pointer from integer without a cast mod_security2.c:100: error: structure has no member named `mp' mod_security2.c:102: warning: assignment makes pointer from integer without a cast mod_security2.c:111: error: structure has no member named `mp' mod_security2.c:114: error: structure has no member named `mp' mod_security2.c:114: warning: assignment makes pointer from integer without a cast mod_security2.c:116: error: structure has no member named `mp' mod_security2.c:116: warning: assignment makes pointer from integer without a cast mod_security2.c:120: error: structure has no member named `mp' mod_security2.c:122: error: structure has no member named `mp' mod_security2.c:122: warning: assignment makes pointer from integer without a cast mod_security2.c:127: error: structure has no member named `mp' mod_security2.c:129: warning: assignment makes pointer from integer without a cast mod_security2.c:140: error: `apr_socket_t' undeclared (first use in this function) mod_security2.c:140: error: `csd' undeclared (first use in this function) mod_security2.c:144: warning: implicit declaration of function `apr_socket_close' mod_security2.c:144: error: `APR_SUCCESS' undeclared (first use in this function) mod_security2.c:146: error: structure has no member named `mp' mod_security2.c:147: warning: assignment makes pointer from integer without a cast mod_security2.c:151: error: structure has no member named `mp' mod_security2.c:154: warning: assignment makes pointer from integer without a cast mod_security2.c:159: error: structure has no member named `mp' mod_security2.c:161: warning: assignment makes pointer from integer without a cast mod_security2.c:174: warning: implicit declaration of function `apr_table_setn' mod_security2.c:174: error: structure has no member named `headers_out' mod_security2.c:182: error: structure has no member named `mp' mod_security2.c:184: error: structure has no member named `mp' mod_security2.c:185: warning: assignment makes pointer from integer without a cast mod_security2.c:190: error: structure has no member named `mp' mod_security2.c:190: warning: assignment makes pointer from integer without a cast mod_security2.c:197: error: structure has no member named `mp' mod_security2.c:199: warning: assignment makes pointer from integer without a cast mod_security2.c: In function `retrieve_tx_context': mod_security2.c:218: warning: implicit declaration of function `apr_table_get' mod_security2.c:218: error: structure has no member named `notes' mod_security2.c:226: error: structure has no member named `notes' mod_security2.c:236: error: structure has no member named `notes' mod_security2.c: In function `store_tx_context': mod_security2.c:252: error: structure has no member named `notes' mod_security2.c: In function `create_tx_context': mod_security2.c:259: error: `apr_allocator_t' undeclared (first use in this function) mod_security2.c:259: error: `allocator' undeclared (first use in this function) mod_security2.c:262: warning: implicit declaration of function `apr_pcalloc' mod_security2.c:262: error: structure has no member named `pool' mod_security2.c:265: warning: implicit declaration of function `apr_allocator_create' mod_security2.c:266: warning: implicit declaration of function `apr_allocator_max_free_set' mod_security2.c:267: warning: implicit declaration of function `apr_pool_create_ex' mod_security2.c:267: error: structure has no member named `mp' mod_security2.c:267: error: structure has no member named `pool' mod_security2.c:268: error: structure has no member named `mp' mod_security2.c:269: warning: implicit declaration of function `apr_allocator_owner_set' mod_security2.c:269: error: structure has no member named `mp' mod_security2.c:274: error: structure has no member named `request_time' mod_security2.c:274: error: structure has no member named `request_time' mod_security2.c:285: error: structure has no member named `mp' mod_security2.c:292: error: structure has no member named `mp' mod_security2.c:296: error: structure has no member named `mp' mod_security2.c:313: error: structure has no member named `error_messages' mod_security2.c:313: warning: implicit declaration of function `apr_array_make' mod_security2.c:313: error: structure has no member named `mp' mod_security2.c:314: error: structure has no member named `alerts' mod_security2.c:314: error: structure has no member named `mp' mod_security2.c:318: error: structure has no member named `local_addr' mod_security2.c:321: error: structure has no member named `remote_addr' mod_security2.c:328: error: structure has no member named `request_headers' mod_security2.c:328: warning: implicit declaration of function `apr_table_copy' mod_security2.c:328: error: structure has no member named `mp' mod_security2.c:328: error: structure has no member named `headers_in' mod_security2.c:340: error: structure has no member named `msc_rule_mptmp' mod_security2.c: At top level: mod_security2.c:353: error: syntax error before "change_server_signature" mod_security2.c:353: warning: return type defaults to `int' mod_security2.c:353: warning: no previous prototype for 'change_server_signature' mod_security2.c:381: error: syntax error before "module_cleanup" mod_security2.c:381: warning: return type defaults to `int' mod_security2.c:381: warning: no previous prototype for 'module_cleanup' mod_security2.c: In function `module_cleanup': mod_security2.c:383: error: `APR_SUCCESS' undeclared (first use in this function) mod_security2.c: At top level: mod_security2.c:389: error: syntax error before '*' token mod_security2.c: In function `hook_pre_config': mod_security2.c:391: error: `mp' undeclared (first use in this function) mod_security2.c: At top level: mod_security2.c:406: error: syntax error before '*' token mod_security2.c: In function `hook_post_config': mod_security2.c:411: warning: implicit declaration of function `apr_pool_userdata_get' mod_security2.c:411: error: `s' undeclared (first use in this function) mod_security2.c:414: warning: implicit declaration of function `apr_pool_userdata_set' mod_security2.c:415: error: `apr_pool_cleanup_null' undeclared (first use in this function) mod_security2.c:417: error: `mp' undeclared (first use in this function) mod_security2.c:421: warning: implicit declaration of function `apr_pstrdup' mod_security2.c:421: warning: assignment makes pointer from integer without a cast mod_security2.c:476: warning: implicit declaration of function `apr_pool_cleanup_register' mod_security2.c: At top level: mod_security2.c:498: error: syntax error before '*' token mod_security2.c: In function `hook_request_early': mod_security2.c:532: error: structure has no member named `request_content_length' mod_security2.c: In function `hook_request_late': mod_security2.c:588: error: structure has no member named `mp' mod_security2.c:591: error: structure has no member named `mp' mod_security2.c:596: error: structure has no member named `mp' mod_security2.c:648: error: structure has no member named `request_headers' mod_security2.c:648: error: structure has no member named `mp' mod_security2.c:648: error: structure has no member named `headers_in' mod_security2.c: At top level: mod_security2.c:666: error: syntax error before "apr_status_t" mod_security2.c: In function `hook_error_log': mod_security2.c:672: error: `r' undeclared (first use in this function) mod_security2.c:677: error: `level' undeclared (first use in this function) mod_security2.c:694: error: structure has no member named `mp' mod_security2.c:697: error: `file' undeclared (first use in this function) mod_security2.c:697: error: structure has no member named `mp' mod_security2.c:697: warning: assignment makes pointer from integer without a cast mod_security2.c:698: error: `line' undeclared (first use in this function) mod_security2.c:700: error: structure has no member named `status' mod_security2.c:700: error: `status' undeclared (first use in this function) mod_security2.c:701: error: `fmt' undeclared (first use in this function) mod_security2.c:701: error: structure has no member named `mp' mod_security2.c:701: warning: assignment makes pointer from integer without a cast mod_security2.c:715: warning: implicit declaration of function `apr_array_push' mod_security2.c:715: error: structure has no member named `error_messages' mod_security2.c: In function `sec_guardian_logger': mod_security2.c:726: error: syntax error before "nbytes" mod_security2.c:736: error: structure has no member named `subprocess_env' mod_security2.c:736: warning: comparison between pointer and integer mod_security2.c:741: error: structure has no member named `subprocess_env' mod_security2.c:741: warning: comparison between pointer and integer mod_security2.c:756: error: structure has no member named `mp' mod_security2.c:756: error: syntax error before "APR_TIME_T_FMT" mod_security2.c:785: error: structure has no member named `mp' mod_security2.c:785: warning: assignment makes pointer from integer without a cast mod_security2.c:787: error: structure has no member named `mp' mod_security2.c:787: warning: assignment makes pointer from integer without a cast mod_security2.c:791: error: `nbytes' undeclared (first use in this function) mod_security2.c:792: warning: implicit declaration of function `apr_file_write_full' mod_security2.c:792: error: `nbytes_written' undeclared (first use in this function) mod_security2.c:724: warning: unused variable `modsec_message' mod_security2.c:725: warning: unused variable `modsec_rating' mod_security2.c: In function `hook_log_transaction': mod_security2.c:799: error: syntax error before '*' token mod_security2.c:828: error: `arr' undeclared (first use in this function) mod_security2.c:828: warning: implicit declaration of function `apr_table_elts' mod_security2.c:828: error: structure has no member named `headers_out' mod_security2.c:831: error: structure has no member named `headers_out' mod_security2.c:839: error: structure has no member named `response_headers' mod_security2.c:839: error: structure has no member named `mp' mod_security2.c:839: error: structure has no member named `headers_out' mod_security2.c:841: error: structure has no member named `bytes_sent' mod_security2.c:841: error: structure has no member named `bytes_sent' mod_security2.c: At top level: mod_security2.c:970: error: syntax error before '*' token mod_security2.c: In function `register_hooks': mod_security2.c:996: warning: implicit declaration of function `APR_REGISTER_OPTIONAL_FN' mod_security2.c:1001: warning: implicit declaration of function `ap_hook_pre_config' mod_security2.c:1001: error: `APR_HOOK_FIRST' undeclared (first use in this function) mod_security2.c:1002: warning: implicit declaration of function `ap_hook_post_config' mod_security2.c:1003: error: `APR_HOOK_REALLY_LAST' undeclared (first use in this function) mod_security2.c:1004: warning: implicit declaration of function `ap_hook_child_init' mod_security2.c:1004: error: `APR_HOOK_MIDDLE' undeclared (first use in this function) mod_security2.c:1011: warning: implicit declaration of function `ap_hook_post_read_request' mod_security2.c:1012: error: `APR_HOOK_REALLY_FIRST' undeclared (first use in this function) mod_security2.c:1014: warning: implicit declaration of function `ap_hook_fixups' mod_security2.c:1017: warning: implicit declaration of function `ap_hook_error_log' mod_security2.c:1018: warning: implicit declaration of function `ap_hook_log_transaction' mod_security2.c:1021: warning: implicit declaration of function `ap_hook_insert_filter' *** Error code 1 Stop in /tmp/modsecurity-apache_2.1.4/apache2. reverseproxy# #########################################################################= ############ This email, any attachment and response string are confidential=20 and may be legally privileged. Any opinions expressed in this mail=20 do not necessarily reflect the opinions of NIC Bank Limited (NIC). If you are not the intended recipient, please telephone or email the sender and delete this message and any attachments immediately. Please do not copy or foward this message or attachment. Internet communications are not secure and therefore NIC Bank does not=20 accept legal responsibility for the contents of this message as it has=20 been transmitted over a public network. #########################################################################= ############ |