Date: Tue, 25 Mar 2008 17:17:55 GMT From: Jukka Ukkonen <jau@iki.fi> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/122083: mod_clamav refuses to build with apache22 installed Message-ID: <200803251717.m2PHHtss033277@www.freebsd.org> Resent-Message-ID: <200803251720.m2PHK4Eb073136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122083 >Category: ports >Synopsis: mod_clamav refuses to build with apache22 installed >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 25 17:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Jukka Ukkonen >Release: 7.0-STABLE >Organization: private person >Environment: FreeBSD mjolnir 7.0-STABLE FreeBSD 7.0-STABLE #0: Sat Mar 22 18:36:21 EET 2008 root@mjolnir:/usr/obj/usr/src/sys/Mjolnir i386 >Description: Building mod_clamav on a system with apache22 installed fails with the symptoms shown below. ===> Building for mod_clamav-0.21_2 if /bin/sh /usr/local/bin/libtool --mode=compile `/usr/local/sbin/apxs -q CC` -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_clamav\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MKSTEMP=1 -I. -I. -I`/usr/local/sbin/apxs -q INCLUDEDIR` -I/usr/local/include `/usr/local/sbin/apxs -q CFLAGS_SHLIB` -O2 -pipe -march=pentium2 -I/usr/local/include -fno-strict-aliasing -MT mod_clamav_la-mod_clamav.lo -MD -MP -MF ".deps/mod_clamav_la-mod_clamav.Tpo" -c -o mod_clamav_la-mod_clamav.lo `test -f 'mod_clamav.c' || echo './'`mod_clamav.c; then mv -f ".deps/mod_clamav_la-mod_clamav.Tpo" ".deps/mod_clamav_la-mod_clamav.Plo"; else rm -f ".deps/mod_clamav_la-mod_clamav.Tpo"; exit 1; fi cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mod_clamav\" -DVERSION=\"0.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_MKSTEMP=1 -I. -I. -I/usr/local/include/apache22 -I/usr/local/include -O2 -pipe -march=pentium2 -I/usr/local/include -fno-strict-aliasing -MT mod_clamav_la-mod_clamav.lo -MD -MP -MF .deps/mod_clamav_la-mod_clamav.Tpo -c mod_clamav.c -fPIC -DPIC -o .libs/mod_clamav_la-mod_clamav.o In file included from /usr/local/include/apache22/httpd.h:43, from mod_clamav.c:12: /usr/local/include/apache22/ap_config.h:25:17: error: apr.h: No such file or directory /usr/local/include/apache22/ap_config.h:26:23: error: apr_hooks.h: No such file or directory /usr/local/include/apache22/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory In file included from /usr/local/include/apache22/httpd.h:46, from mod_clamav.c:12: /usr/local/include/apache22/ap_release.h:25:41: error: apr_general.h: No such file or directory In file included from mod_clamav.c:12: /usr/local/include/apache22/httpd.h:50:24: error: apr_tables.h: No such file or directory /usr/local/include/apache22/httpd.h:51:23: error: apr_pools.h: No such file or directory /usr/local/include/apache22/httpd.h:52:22: error: apr_time.h: No such file or directory /usr/local/include/apache22/httpd.h:53:28: error: apr_network_io.h: No such file or directory /usr/local/include/apache22/httpd.h:54:25: error: apr_buckets.h: No such file or directory /usr/local/include/apache22/httpd.h:55:22: error: apr_poll.h: No such file or directory In file included from /usr/local/include/apache22/httpd.h:59, from mod_clamav.c:12: /usr/local/include/apache22/ap_regex.h:87: error: expected specifier-qualifier-list before 'apr_size_t' /usr/local/include/apache22/ap_regex.h:118: error: expected declaration specifiers or '...' before 'apr_size_t' /usr/local/include/apache22/ap_regex.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_regerror' In file included from mod_clamav.c:12: /usr/local/include/apache22/httpd.h:461: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:631: error: expected specifier-qualifier-list before 'apr_int64_t' /usr/local/include/apache22/httpd.h:753:21: error: apr_uri.h: No such file or directory /usr/local/include/apache22/httpd.h:760: error: expected specifier-qualifier-list before 'apr_pool_t' /usr/local/include/apache22/httpd.h:776: error: expected specifier-qualifier-list before 'apr_pool_t' /usr/local/include/apache22/httpd.h:1038: error: expected specifier-qualifier-list before 'apr_pool_t' /usr/local/include/apache22/httpd.h:1120: error: expected specifier-qualifier-list before 'APR_RING_ENTRY' /usr/local/include/apache22/httpd.h:1153: error: expected specifier-qualifier-list before 'apr_sockaddr_t' /usr/local/include/apache22/httpd.h:1181: error: expected specifier-qualifier-list before 'apr_port_t' /usr/local/include/apache22/httpd.h:1237: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/local/include/apache22/httpd.h:1245: error: expected specifier-qualifier-list before 'apr_bucket_brigade' /usr/local/include/apache22/httpd.h:1251: error: expected specifier-qualifier-list before 'apr_socket_t' /usr/local/include/apache22/httpd.h:1267: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1277: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1290: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1300: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1309: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1319: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1329: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1341: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1349: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1358: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1369: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1392: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1402: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1414: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1423: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1432: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1474: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1484: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1495: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1503: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1512: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_escape_errorlog_item' /usr/local/include/apache22/httpd.h:1523: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1532: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1561: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1575: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1585: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1637: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1645: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1659: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1667: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1680: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1720: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1732: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1742: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1750: error: expected ')' before '*' token /usr/local/include/apache22/httpd.h:1761: error: expected ')' before '*' token In file included from mod_clamav.c:13: /usr/local/include/apache22/http_config.h:279: error: expected specifier-qualifier-list before 'apr_int64_t' /usr/local/include/apache22/http_config.h:357: error: expected ')' before '*' token /usr/local/include/apache22/http_config.h:365: error: expected ';' before 'void' /usr/local/include/apache22/http_config.h:557: error: expected ')' before '*' token /usr/local/include/apache22/http_config.h:566: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/http_config.h:582: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/http_config.h:607: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_pcfg_openfile' /usr/local/include/apache22/http_config.h:619: error: expected ')' before '*' token /usr/local/include/apache22/http_config.h:669: error: expected ')' before '*' token /usr/local/include/apache22/http_config.h:685: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/http_config.h:686: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/http_config.h:975: error: expected ')' before 'int' In file included from mod_clamav.c:14: /usr/local/include/apache22/http_protocol.h:31:26: error: apr_portable.h: No such file or directory /usr/local/include/apache22/http_protocol.h:32:22: error: apr_mmap.h: No such file or directory In file included from /usr/local/include/apache22/http_protocol.h:34, from mod_clamav.c:14: /usr/local/include/apache22/util_filter.h:72: warning: data definition has no type or storage class /usr/local/include/apache22/util_filter.h:136: error: expected declaration specifiers or '...' before '*' token /usr/local/include/apache22/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:137: error: 'apr_status_t' declared as function returning a function /usr/local/include/apache22/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:140: error: expected declaration specifiers or '...' before 'ap_input_mode_t' /usr/local/include/apache22/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/local/include/apache22/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/local/include/apache22/util_filter.h:142: error: 'ap_in_filter_func' declared as function returning a function /usr/local/include/apache22/util_filter.h:146: error: expected specifier-qualifier-list before 'ap_out_filter_func' /usr/local/include/apache22/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:297: error: expected declaration specifiers or '...' before 'ap_input_mode_t' /usr/local/include/apache22/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e' /usr/local/include/apache22/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/local/include/apache22/util_filter.h:299: error: 'ap_get_brigade' declared as function returning a function /usr/local/include/apache22/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:310: error: 'ap_pass_brigade' declared as function returning a function /usr/local/include/apache22/util_filter.h:348: error: expected declaration specifiers or '...' before 'ap_out_filter_func' /usr/local/include/apache22/util_filter.h:374: error: expected declaration specifiers or '...' before 'ap_out_filter_func' /usr/local/include/apache22/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/util_filter.h:493: error: 'ap_save_brigade' declared as function returning a function /usr/local/include/apache22/util_filter.h:503: error: expected ')' before '*' token /usr/local/include/apache22/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:511: error: 'ap_fflush' declared as function returning a function /usr/local/include/apache22/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:549: error: 'ap_fputstrs' declared as function returning a function /usr/local/include/apache22/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/util_filter.h:562: error: 'ap_fprintf' declared as function returning a function /usr/local/include/apache22/util_filter.h:562: error: format string argument not a string type In file included from mod_clamav.c:14: /usr/local/include/apache22/http_protocol.h:45: error: expected ')' before 'void' /usr/local/include/apache22/http_protocol.h:77: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:111: error: expected declaration specifiers or '...' before 'apr_off_t' /usr/local/include/apache22/http_protocol.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_rationalize_mtime' /usr/local/include/apache22/http_protocol.h:203: error: expected ')' before '*' token /usr/local/include/apache22/http_protocol.h:228: error: expected ')' before '*' token /usr/local/include/apache22/http_protocol.h:235: error: expected ')' before '*' token /usr/local/include/apache22/http_protocol.h:253: error: expected ')' before '*' token /usr/local/include/apache22/http_protocol.h:356: error: expected declaration specifiers or '...' before 'va_list' /usr/local/include/apache22/http_protocol.h:426: error: expected declaration specifiers or '...' before 'apr_size_t' /usr/local/include/apache22/http_protocol.h:534: error: expected declaration specifiers or '...' before 'apr_size_t' /usr/local/include/apache22/http_protocol.h:535: error: expected declaration specifiers or '...' before 'apr_size_t' /usr/local/include/apache22/http_protocol.h:537: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:537: error: 'ap_rgetline_core' declared as function returning a function /usr/local/include/apache22/http_protocol.h:554: error: expected ')' before '*' token /usr/local/include/apache22/http_protocol.h:569: error: expected ')' before 'int' /usr/local/include/apache22/http_protocol.h:608: error: expected specifier-qualifier-list before 'apr_bucket_refcount' /usr/local/include/apache22/http_protocol.h:616: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_bucket_type_error' /usr/local/include/apache22/http_protocol.h:633: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/apache22/http_protocol.h:644: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/apache22/http_protocol.h:648: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:648: error: 'ap_byterange_filter' declared as function returning a function /usr/local/include/apache22/http_protocol.h:649: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:649: error: 'ap_http_header_filter' declared as function returning a function /usr/local/include/apache22/http_protocol.h:651: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:651: error: 'ap_content_length_filter' declared as function returning a function /usr/local/include/apache22/http_protocol.h:652: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' /usr/local/include/apache22/http_protocol.h:652: error: 'ap_old_write_filter' declared as function returning a function In file included from mod_clamav.c:15: /usr/local/include/apache22/http_log.h:33:29: error: apr_thread_proc.h: No such file or directory In file included from mod_clamav.c:15: /usr/local/include/apache22/http_log.h:102: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:109: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:121: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:196: error: expected declaration specifiers or '...' before 'apr_pool_t' /usr/local/include/apache22/http_log.h:198: error: format string argument not a string type /usr/local/include/apache22/http_log.h:261: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:269: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:282: error: expected specifier-qualifier-list before 'apr_pool_t' /usr/local/include/apache22/http_log.h:301: error: expected ')' before '*' token /usr/local/include/apache22/http_log.h:335: error: expected ')' before 'void' In file included from mod_clamav.c:16: /usr/local/include/apache22/http_core.h:30:22: error: apr_hash.h: No such file or directory /usr/local/include/apache22/http_core.h:31:26: error: apr_optional.h: No such file or directory In file included from mod_clamav.c:16: /usr/local/include/apache22/http_core.h:208: error: expected ')' before '*' token /usr/local/include/apache22/http_core.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_get_server_port' /usr/local/include/apache22/http_core.h:229: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_get_limit_req_body' /usr/local/include/apache22/http_core.h:278: error: expected specifier-qualifier-list before 'apr_int64_t' /usr/local/include/apache22/http_core.h:314: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/apache22/http_core.h:633: error: expected specifier-qualifier-list before 'apr_hash_t' /usr/local/include/apache22/http_core.h:662: error: expected ')' before 'int' /usr/local/include/apache22/http_core.h:680: error: expected declaration specifiers or '...' before 'ap_ident_lookup' /usr/local/include/apache22/http_core.h:681: error: expected declaration specifiers or '...' before '(' token /usr/local/include/apache22/http_core.h:681: warning: data definition has no type or storage class mod_clamav.c:18:25: error: apr_strings.h: No such file or directory mod_clamav.c:19:22: error: apr_time.h: No such file or directory mod_clamav.c:20:24: error: apr_compat.h: No such file or directory mod_clamav.c:88: error: expected specifier-qualifier-list before 'apr_time_t' mod_clamav.c: In function 'clamav_virus_record': mod_clamav.c:126: error: 'struct clamav_virusinfo' has no member named 'when' mod_clamav.c: At top level: mod_clamav.c:167: error: expected specifier-qualifier-list before 'regex_t' mod_clamav.c:186: error: expected specifier-qualifier-list before 'apr_table_t' mod_clamav.c:205: error: expected specifier-qualifier-list before 'apr_bucket_brigade' mod_clamav.c: In function 'clamav_get_module_config': mod_clamav.c:222: warning: incompatible implicit declaration of built-in function 'fprintf' mod_clamav.c:222: error: 'stderr' undeclared (first use in this function) mod_clamav.c:222: error: (Each undeclared identifier is reported only once mod_clamav.c:222: error: for each function it appears in.) mod_clamav.c:229: error: 'request_rec' has no member named 'per_dir_config' mod_clamav.c: In function 'clamav_mutex': mod_clamav.c:248: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c:253: error: 'APR_SUCCESS' undeclared (first use in this function) mod_clamav.c:253: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c:254: error: 'clamav_config_rec' has no member named 'mutexname' mod_clamav.c:254: error: 'clamav_config_rec' has no member named 'mutexname' mod_clamav.c:255: error: 'APR_LOCK_DEFAULT' undeclared (first use in this function) mod_clamav.c:255: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:258: error: 'clamav_config_rec' has no member named 'mutexname' mod_clamav.c:258: error: 'clamav_config_rec' has no member named 'mutexname' mod_clamav.c:259: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c: In function 'clamav_lock': mod_clamav.c:267: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c:268: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c: In function 'clamav_unlock': mod_clamav.c:272: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c:273: error: 'clamav_config_rec' has no member named 'mutex' mod_clamav.c: In function 'clamav_set_status_note': mod_clamav.c:283: error: 'apr_table_t' undeclared (first use in this function) mod_clamav.c:283: error: 'notes' undeclared (first use in this function) mod_clamav.c:283: error: 'request_rec' has no member named 'notes' mod_clamav.c:302: error: 'request_rec' has no member named 'pool' mod_clamav.c:303: warning: assignment makes pointer from integer without a cast mod_clamav.c:312: error: 'request_rec' has no member named 'pool' mod_clamav.c:313: warning: assignment makes pointer from integer without a cast mod_clamav.c: In function 'clamav_safe_to_bypass': mod_clamav.c:332: error: 'request_rec' has no member named 'header_only' mod_clamav.c:349: error: 'request_rec' has no member named 'method' mod_clamav.c:349: error: 'request_rec' has no member named 'method' mod_clamav.c:350: error: 'request_rec' has no member named 'pool' mod_clamav.c:350: error: 'request_rec' has no member named 'method' mod_clamav.c:350: warning: passing argument 4 of 'clamav_set_status_note' makes pointer from integer without a cast mod_clamav.c:359: error: 'clamav_config_rec' has no member named 'safeuris' mod_clamav.c:360: error: 'clamav_config_rec' has no member named 'safeuris' mod_clamav.c:361: error: 'clamav_safeuri' has no member named 'matchtype' mod_clamav.c:366: error: 'clamav_safeuri' has no member named 'regex' mod_clamav.c:366: error: 'request_rec' has no member named 'uri' mod_clamav.c:366: warning: passing argument 4 of 'ap_regexec' makes integer from pointer without a cast mod_clamav.c:366: error: too many arguments to function 'ap_regexec' mod_clamav.c:367: error: 'request_rec' has no member named 'pool' mod_clamav.c:367: warning: passing argument 4 of 'clamav_set_status_note' makes pointer from integer without a cast mod_clamav.c:379: error: 'clamav_safeuri' has no member named 'regex' mod_clamav.c:379: error: 'request_rec' has no member named 'hostname' mod_clamav.c:379: warning: passing argument 4 of 'ap_regexec' makes integer from pointer without a cast mod_clamav.c:379: error: too many arguments to function 'ap_regexec' mod_clamav.c:380: error: 'request_rec' has no member named 'pool' mod_clamav.c:380: warning: passing argument 4 of 'clamav_set_status_note' makes pointer from integer without a cast mod_clamav.c:396: error: 'request_rec' has no member named 'content_type' mod_clamav.c:400: error: 'request_rec' has no member named 'notes' mod_clamav.c:400: warning: assignment makes pointer from integer without a cast mod_clamav.c:418: error: 'request_rec' has no member named 'pool' mod_clamav.c:418: error: 'request_rec' has no member named 'content_type' mod_clamav.c:423: error: 'clamav_config_rec' has no member named 'safetypes' mod_clamav.c:424: error: 'request_rec' has no member named 'pool' mod_clamav.c:424: warning: passing argument 4 of 'clamav_set_status_note' makes pointer from integer without a cast mod_clamav.c: In function 'clamav_shm': mod_clamav.c:444: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:449: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:450: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:450: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:450: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:450: error: lvalue required as left operand of assignment mod_clamav.c:451: error: 'APR_SUCCESS' undeclared (first use in this function) mod_clamav.c:455: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:456: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:456: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:456: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:456: error: lvalue required as left operand of assignment mod_clamav.c:459: warning: incompatible implicit declaration of built-in function 'fprintf' mod_clamav.c:459: error: 'stderr' undeclared (first use in this function) mod_clamav.c:461: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:461: error: 'clamav_config_rec' has no member named 'shmname' mod_clamav.c:462: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:466: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:466: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:467: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:468: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:472: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:472: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c: In function 'clamav_init_local': mod_clamav.c:483: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:484: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:484: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:486: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:487: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:492: warning: assignment discards qualifiers from pointer target type mod_clamav.c:496: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:502: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:504: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:507: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:508: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c: In function 'clamav_init_daemon': mod_clamav.c:518: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:518: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:525: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:527: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:528: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:529: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:538: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:540: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:541: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:542: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c: In function 'clamav_engine_ready': mod_clamav.c:588: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:597: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:600: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:602: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:603: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:609: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c: In function 'clamav_virus_info': mod_clamav.c:624: error: 'request_rec' has no member named 'content_type' mod_clamav.c:627: error: 'request_rec' has no member named 'header_only' mod_clamav.c:628: error: 'request_rec' has no member named 'headers_out' mod_clamav.c:629: error: 'request_rec' has no member named 'headers_out' mod_clamav.c:630: error: 'clamav_config_rec' has no member named 'message' mod_clamav.c:631: error: 'clamav_config_rec' has no member named 'message' mod_clamav.c:660: error: 'request_rec' has no member named 'uri' mod_clamav.c:660: error: 'request_rec' has no member named 'uri' mod_clamav.c:674: warning: incompatible implicit declaration of built-in function 'snprintf' mod_clamav.c:689: error: 'request_rec' has no member named 'uri' mod_clamav.c:689: error: 'request_rec' has no member named 'uri' mod_clamav.c:693: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:693: error: 'ap_filter_flush' undeclared (first use in this function) mod_clamav.c: At top level: mod_clamav.c:701: error: expected declaration specifiers or '...' before 'apr_size_t' mod_clamav.c: In function 'clamav_scanfile': mod_clamav.c:706: error: 'FILE' undeclared (first use in this function) mod_clamav.c:706: error: 'fp' undeclared (first use in this function) mod_clamav.c:717: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:717: error: 'len' undeclared (first use in this function) mod_clamav.c:718: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:725: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:734: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:734: error: 'clamav_config_rec' has no member named 'common' mod_clamav.c:745: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:750: warning: incompatible implicit declaration of built-in function 'snprintf' mod_clamav.c:750: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:765: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:768: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:771: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:772: error: 'request_rec' has no member named 'pool' mod_clamav.c:774: warning: comparison between pointer and integer mod_clamav.c:828: error: 'request_rec' has no member named 'pool' mod_clamav.c: In function 'clamav_initialize': mod_clamav.c:856: error: 'APR_ENODIR' undeclared (first use in this function) mod_clamav.c:868: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:872: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:877: error: 'request_rec' has no member named 'pool' mod_clamav.c:877: warning: assignment makes pointer from integer without a cast mod_clamav.c:885: error: 'clamav_ctx' has no member named 'bypass' mod_clamav.c:886: error: 'APR_SUCCESS' undeclared (first use in this function) mod_clamav.c:891: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:891: error: 'request_rec' has no member named 'pool' mod_clamav.c:891: error: 'conn_rec' has no member named 'bucket_alloc' mod_clamav.c:895: error: 'clamav_ctx' has no member named 'module' mod_clamav.c:896: error: 'clamav_ctx' has no member named 'last_trickle' mod_clamav.c:897: error: 'clamav_ctx' has no member named 'trickle_offset' mod_clamav.c:898: error: 'clamav_ctx' has no member named 'bytes' mod_clamav.c:904: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:904: error: 'request_rec' has no member named 'pool' mod_clamav.c:909: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:909: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:922: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:925: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:932: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:936: error: 'APR_EGENERAL' undeclared (first use in this function) mod_clamav.c: In function 'clamav_display_virus': mod_clamav.c:976: error: 'apr_size_t' undeclared (first use in this function) mod_clamav.c:976: error: expected ';' before 'ret' mod_clamav.c:977: error: 'apr_time_exp_t' undeclared (first use in this function) mod_clamav.c:977: error: expected ';' before 't' mod_clamav.c:983: error: 't' undeclared (first use in this function) mod_clamav.c:983: error: 'clamav_virusinfo' has no member named 'when' mod_clamav.c:984: error: 'ret' undeclared (first use in this function) mod_clamav.c: In function 'clamav_handler': mod_clamav.c:1009: error: 'request_rec' has no member named 'handler' mod_clamav.c:1012: error: 'request_rec' has no member named 'content_type' mod_clamav.c:1014: error: 'request_rec' has no member named 'header_only' mod_clamav.c:1040: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:1045: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1050: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1055: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1057: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1061: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1061: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1067: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1072: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1077: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1082: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1088: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1093: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1112: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1115: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1118: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1119: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c: In function 'clamav_cleanup': mod_clamav.c:1145: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1148: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:1149: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1149: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c: At top level: mod_clamav.c:1160: error: 'clamav_sendtrickle' declared as function returning a function mod_clamav.c: In function 'clamav_sendtrickle': mod_clamav.c:1169: error: 'clamav_ctx' has no member named 'last_trickle' mod_clamav.c:1170: error: 'APR_SUCCESS' undeclared (first use in this function) mod_clamav.c:1177: error: 'clamav_ctx' has no member named 'last_trickle' mod_clamav.c:1180: warning: incompatible implicit declaration of built-in function 'alloca' mod_clamav.c:1183: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1185: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1189: error: 'clamav_ctx' has no member named 'trickle_offset' mod_clamav.c:1191: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1198: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1205: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1205: error: 'ap_filter_flush' undeclared (first use in this function) mod_clamav.c:1205: error: lvalue required as left operand of assignment mod_clamav.c:1206: error: 'clamav_ctx' has no member named 'trickle_offset' mod_clamav.c:1210: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1211: error: 'conn_rec' has no member named 'bucket_alloc' mod_clamav.c:1213: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1213: error: too many arguments to function 'ap_pass_brigade' mod_clamav.c:1215: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1215: error: too many arguments to function 'ap_pass_brigade' mod_clamav.c:1215: error: lvalue required as left operand of assignment mod_clamav.c:1217: error: 'request_rec' has no member named 'connection' mod_clamav.c:1218: error: 'APR_ECONNABORTED' undeclared (first use in this function) mod_clamav.c:1226: warning: return makes integer from pointer without a cast mod_clamav.c: At top level: mod_clamav.c:1234: error: 'clamav_flush' declared as function returning a function mod_clamav.c: In function 'clamav_flush': mod_clamav.c:1241: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1242: error: 'conn_rec' has no member named 'bucket_alloc' mod_clamav.c:1243: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1243: error: too many arguments to function 'ap_pass_brigade' mod_clamav.c: At top level: mod_clamav.c:1251: error: 'clamav_endfile' declared as function returning a function mod_clamav.c: In function 'clamav_endfile': mod_clamav.c:1259: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1260: error: 'conn_rec' has no member named 'bucket_alloc' mod_clamav.c:1261: error: 'clamav_ctx' has no member named 'bb' mod_clamav.c:1261: error: too many arguments to function 'ap_pass_brigade' mod_clamav.c:1261: error: lvalue required as left operand of assignment mod_clamav.c:1266: warning: return makes integer from pointer without a cast mod_clamav.c: In function 'clamav_record_aborted': mod_clamav.c:1297: error: 'request_rec' has no member named 'uri' mod_clamav.c:1297: error: 'request_rec' has no member named 'uri' mod_clamav.c:1298: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:1300: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c: At top level: mod_clamav.c:1312: error: 'clamav_check_file' declared as function returning a function mod_clamav.c: In function 'clamav_check_file': mod_clamav.c:1327: error: too many arguments to function 'clamav_scanfile' mod_clamav.c:1331: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1334: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1345: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:1347: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1348: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1349: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1350: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1351: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1364: error: 'clamav_config_rec' has no member named 'shm' mod_clamav.c:1366: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1367: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1368: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1369: error: 'clamav_config_rec' has no member named 'stats' mod_clamav.c:1370: error: 'request_rec' has no member named 'uri' mod_clamav.c:1370: error: 'request_rec' has no member named 'uri' mod_clamav.c:1371: error: 'request_rec' has no member named 'connection' mod_clamav.c:1372: error: 'request_rec' has no member named 'per_dir_config' mod_clamav.c:1381: error: 'request_rec' has no member named 'uri' mod_clamav.c:1381: error: 'request_rec' has no member named 'uri' mod_clamav.c:1388: error: 'clamav_ctx' has no member named 'trickle_offset' mod_clamav.c:1396: error: 'request_rec' has no member named 'pool' mod_clamav.c:1397: error: 'clamav_ctx' has no member named 'trickle_offset' mod_clamav.c:1397: warning: passing argument 4 of 'clamav_set_status_note' makes pointer from integer without a cast mod_clamav.c: At top level: mod_clamav.c:1412: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clamav_send_file' mod_clamav.c: In function 'clamav_save_block': mod_clamav.c:1512: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:1519: error: 'clamav_ctx' has no member named 'file' mod_clamav.c:1523: error: 'clamav_ctx' has no member named 'filename' mod_clamav.c:1525: error: 'clamav_ctx' has no member named 'bytes' mod_clamav.c: At top level: mod_clamav.c:1537: error: expected declaration specifiers or '...' before 'apr_bucket_brigade' mod_clamav.c:1537: error: 'clamav_filter' declared as function returning a function mod_clamav.c: In function 'clamav_filter': mod_clamav.c:1542: error: 'apr_size_t' undeclared (first use in this function) mod_clamav.c:1542: error: expected ';' before 'len' mod_clamav.c:1543: error: 'apr_bucket' undeclared (first use in this function) mod_clamav.c:1543: error: 'e' undeclared (first use in this function) mod_clamav.c:1544: error: function 'rc' is initialized like a variable mod_clamav.c:1544: error: 'APR_SUCCESS' undeclared (first use in this function) mod_clamav.c:1550: error: lvalue required as left operand of assignment mod_clamav.c:1555: warning: return makes integer from pointer without a cast mod_clamav.c:1561: error: 'clamav_ctx' has no member named 'bypass' mod_clamav.c:1562: error: 'bb' undeclared (first use in this function) mod_clamav.c:1562: error: too many arguments to function 'ap_pass_brigade' mod_clamav.c:1568: error: expected ';' before '{' token mod_clamav.c: At top level: mod_clamav.c:1740: error: expected ')' before '*' token mod_clamav.c:1748: error: expected ')' before '*' token mod_clamav.c:1781: error: expected ')' before '*' token mod_clamav.c: In function 'clamav_add_safetype': mod_clamav.c:1843: error: 'cmd_parms' has no member named 'server' mod_clamav.c:1843: warning: assignment makes pointer from integer without a cast mod_clamav.c:1846: error: 'clamav_config_rec' has no member named 'safetypes' mod_clamav.c: In function 'clamav_set_perms_cmd': mod_clamav.c:1871: warning: incompatible implicit declaration of built-in function 'sscanf' mod_clamav.c: In function 'clamav_add_safepattern': mod_clamav.c:1986: error: 'clamav_config_rec' has no member named 'safepatterns' mod_clamav.c:1986: warning: assignment makes pointer from integer without a cast mod_clamav.c: In function 'clamav_add_safeuri': mod_clamav.c:2002: error: 'regex_t' undeclared (first use in this function) mod_clamav.c:2002: error: 'preg' undeclared (first use in this function) mod_clamav.c:2010: error: 'clamav_config_rec' has no member named 'safeuris' mod_clamav.c:2010: warning: assignment makes pointer from integer without a cast mod_clamav.c:2013: error: 'clamav_safeuri' has no member named 'matchtype' mod_clamav.c:2015: error: 'clamav_safeuri' has no member named 'matchtype' mod_clamav.c:2020: error: 'clamav_config_rec' has no member named 'pool' mod_clamav.c:2020: error: 'REG_EXTENDED' undeclared (first use in this function) mod_clamav.c:2026: error: 'clamav_safeuri' has no member named 'regex' mod_clamav.c: At top level: mod_clamav.c:2033: error: expected expression before 'clamav_config_rec' mod_clamav.c:2033: error: initializer element is not constant mod_clamav.c:2033: error: (near initialization for 'clamav_cmds[0].cmd_data') mod_clamav.c:2039: error: expected expression before 'clamav_config_rec' mod_clamav.c:2039: error: initializer element is not constant mod_clamav.c:2039: error: (near initialization for 'clamav_cmds[1].cmd_data') mod_clamav.c:2045: error: expected expression before 'clamav_config_rec' mod_clamav.c:2045: error: initializer element is not constant mod_clamav.c:2045: error: (near initialization for 'clamav_cmds[2].cmd_data') mod_clamav.c:2051: error: expected expression before 'clamav_config_rec' mod_clamav.c:2051: error: initializer element is not constant mod_clamav.c:2051: error: (near initialization for 'clamav_cmds[3].cmd_data') mod_clamav.c:2057: error: expected expression before 'clamav_config_rec' mod_clamav.c:2057: error: initializer element is not constant mod_clamav.c:2057: error: (near initialization for 'clamav_cmds[4].cmd_data') mod_clamav.c:2063: error: expected expression before 'clamav_config_rec' mod_clamav.c:2063: error: initializer element is not constant mod_clamav.c:2063: error: (near initialization for 'clamav_cmds[5].cmd_data') mod_clamav.c:2069: error: expected expression before 'clamav_config_rec' mod_clamav.c:2069: error: initializer element is not constant mod_clamav.c:2069: error: (near initialization for 'clamav_cmds[6].cmd_data') mod_clamav.c:2075: error: expected expression before 'clamav_config_rec' mod_clamav.c:2075: error: initializer element is not constant mod_clamav.c:2075: error: (near initialization for 'clamav_cmds[7].cmd_data') mod_clamav.c:2081: error: expected expression before 'clamav_config_rec' mod_clamav.c:2081: error: initializer element is not constant mod_clamav.c:2081: error: (near initialization for 'clamav_cmds[8].cmd_data') mod_clamav.c:2087: error: expected expression before 'clamav_config_rec' mod_clamav.c:2087: error: initializer element is not constant mod_clamav.c:2087: error: (near initialization for 'clamav_cmds[9].cmd_data') mod_clamav.c:2093: error: expected expression before 'clamav_config_rec' mod_clamav.c:2093: error: initializer element is not constant mod_clamav.c:2093: error: (near initialization for 'clamav_cmds[10].cmd_data') mod_clamav.c:2099: error: expected expression before 'clamav_config_rec' mod_clamav.c:2099: error: initializer element is not constant mod_clamav.c:2099: error: (near initialization for 'clamav_cmds[11].cmd_data') mod_clamav.c:2105: error: expected expression before 'clamav_config_rec' mod_clamav.c:2105: error: initializer element is not constant mod_clamav.c:2105: error: (near initialization for 'clamav_cmds[12].cmd_data') mod_clamav.c:2111: error: expected expression before 'clamav_config_rec' mod_clamav.c:2111: error: initializer element is not constant mod_clamav.c:2111: error: (near initialization for 'clamav_cmds[13].cmd_data') mod_clamav.c:2117: error: expected expression before 'clamav_config_rec' mod_clamav.c:2117: error: initializer element is not constant mod_clamav.c:2117: error: (near initialization for 'clamav_cmds[14].cmd_data') mod_clamav.c:2123: error: expected expression before 'clamav_config_rec' mod_clamav.c:2123: error: initializer element is not constant mod_clamav.c:2123: error: (near initialization for 'clamav_cmds[15].cmd_data') mod_clamav.c:2129: error: expected expression before 'clamav_config_rec' mod_clamav.c:2129: error: initializer element is not constant mod_clamav.c:2129: error: (near initialization for 'clamav_cmds[16].cmd_data') mod_clamav.c:2135: error: expected expression before 'clamav_config_rec' mod_clamav.c:2135: error: initializer element is not constant mod_clamav.c:2135: error: (near initialization for 'clamav_cmds[17].cmd_data') mod_clamav.c:2141: error: expected expression before 'clamav_config_rec' mod_clamav.c:2141: error: initializer element is not constant mod_clamav.c:2141: error: (near initialization for 'clamav_cmds[18].cmd_data') mod_clamav.c:2147: error: expected expression before 'clamav_config_rec' mod_clamav.c:2147: error: initializer element is not constant mod_clamav.c:2147: error: (near initialization for 'clamav_cmds[19].cmd_data') mod_clamav.c:2153: error: expected expression before 'clamav_config_rec' mod_clamav.c:2153: error: initializer element is not constant mod_clamav.c:2153: error: (near initialization for 'clamav_cmds[20].cmd_data') mod_clamav.c:2166: error: 'clamav_create_dir_config' undeclared here (not in a function) mod_clamav.c:2166: warning: excess elements in struct initializer mod_clamav.c:2166: warning: (near initialization for 'clamav_module') mod_clamav.c:2168: error: 'clamav_merge_dir_config' undeclared here (not in a function) mod_clamav.c:2168: warning: excess elements in struct initializer mod_clamav.c:2168: warning: (near initialization for 'clamav_module') mod_clamav.c:2170: warning: excess elements in struct initializer mod_clamav.c:2170: warning: (near initialization for 'clamav_module') mod_clamav.c:2171: warning: excess elements in struct initializer mod_clamav.c:2171: warning: (near initialization for 'clamav_module') mod_clamav.c:2172: warning: excess elements in struct initializer mod_clamav.c:2172: warning: (near initialization for 'clamav_module') mod_clamav.c:2173: error: 'clamav_register_hooks' undeclared here (not in a function) mod_clamav.c:2174: warning: excess elements in struct initializer mod_clamav.c:2174: warning: (near initialization for 'clamav_module') *** Error code 1 Stop in /usr/ports/www/mod_clamav/work/mod_clamav-0.21. *** Error code 1 Stop in /usr/ports/www/mod_clamav. >How-To-Repeat: Install the port apache22 and then try installing mod_clamav. >Fix: At the moment there is no fix/patch to include. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803251717.m2PHHtss033277>