I was doing install c-icap-modules-0.1.3 buti i'm get error after step make;
So i cant finishing thats installation
[root@fs-01 c_icap_modules-0.1.3]# make
make all-recursive
make[1]: Entering directory /opt/clamav/cicap/c_icap_modules-0.1.3'
Making all in .
make[2]: Entering directory/opt/clamav/cicap/c_icap_modules-0.1.3'
make[2]: Leaving directory /opt/clamav/cicap/c_icap_modules-0.1.3'
Making all in modules
make[2]: Entering directory/opt/clamav/cicap/c_icap_modules-0.1.3/modules'
make[2]: Nothing to be done for all'.
make[2]: Leaving directory/opt/clamav/cicap/c_icap_modules-0.1.3/modules'
Making all in services
make[2]: Entering directory /opt/clamav/cicap/c_icap_modules-0.1.3/services'
Making all in url_check
make[3]: Entering directory/opt/clamav/cicap/c_icap_modules-0.1.3/services/url_check'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -g -O2 -Wall -MT srv_url_check_la-srv_url_check.lo -MD -MP -MF .deps/srv_url_check_la-srv_url_check.Tpo -c -o srv_url_check_la-srv_url_check.lo test -f 'srv_url_check.c' || echo './'srv_url_check.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include/ -g -O2 -Wall -MT srv_url_check_la-srv_url_check.lo -MD -MP -MF .deps/srv_url_check_la-srv_url_check.Tpo -c srv_url_check.c -fPIC -DPIC -o .libs/srv_url_check_la-srv_url_check.o
srv_url_check.c:19:20: error: c-icap.h: No such file or directory
srv_url_check.c:20:21: error: service.h: No such file or directory
srv_url_check.c:21:20: error: header.h: No such file or directory
srv_url_check.c:22:18: error: body.h: No such file or directory
srv_url_check.c:23:24: error: simple_api.h: No such file or directory
srv_url_check.c:24:26: error: lookup_table.h: No such file or directory
srv_url_check.c:25:19: error: debug.h: No such file or directory
srv_url_check.c:26:20: error: access.h: No such file or directory
srv_url_check.c:27:17: error: acl.h: No such file or directory
srv_url_check.c:29:22: error: commands.h: No such file or directory
srv_url_check.c:56: error: âCI_MAXHOSTNAMELENâ undeclared here (not in a function)
srv_url_check.c:102: error: expected specifier-qualifier-list before âci_access_entry_tâ
srv_url_check.c:109: error: expected â)â before ââ token
srv_url_check.c:111: error: expected â)â before ââ token
srv_url_check.c:113: error: expected â)â before ââ token
srv_url_check.c:115: error: expected declaration specifiers or â...â before âci_request_tâ
srv_url_check.c:117: error: expected declaration specifiers or â...â before âci_request_tâ
srv_url_check.c:124: error: expected â)â before ââ token
srv_url_check.c:132: error: array type has incomplete element type
srv_url_check.c:142: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âci_service_module_tâ
srv_url_check.c:160: error: expected specifier-qualifier-list before âci_cached_file_tâ
srv_url_check.c:165: error: expected â)â before ââ token
srv_url_check.c: In function âurl_check_close_serviceâ:
srv_url_check.c:194: warning: implicit declaration of function âci_object_pool_unregisterâ
srv_url_check.c: At top level:
srv_url_check.c:199: error: expected â)â before ââ token
srv_url_check.c: In function âurl_check_release_dataâ:
srv_url_check.c:211: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:212: warning: implicit declaration of function âci_cached_file_destroyâ
srv_url_check.c:212: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:213: warning: implicit declaration of function âci_object_pool_freeâ
srv_url_check.c: At top level:
srv_url_check.c:226: error: expected â)â before ââ token
srv_url_check.c:340: error: expected declaration specifiers or â...â before âci_request_tâ
srv_url_check.c: In function âurl_check_check_previewâ:
srv_url_check.c:342: error: âci_headers_list_tâ undeclared (first use in this function)
srv_url_check.c:342: error: (Each undeclared identifier is reported only once
srv_url_check.c:342: error: for each function it appears in.)
srv_url_check.c:342: error: âreq_headerâ undeclared (first use in this function)
srv_url_check.c:343: warning: implicit declaration of function âci_service_dataâ
srv_url_check.c:343: error: âreqâ undeclared (first use in this function)
srv_url_check.c:343: warning: initialization makes pointer from integer without a cast
srv_url_check.c:348: warning: implicit declaration of function âci_http_request_headersâ
srv_url_check.c:349: error: âCI_ERRORâ undeclared (first use in this function)
srv_url_check.c:351: warning: implicit declaration of function âget_http_infoâ
srv_url_check.c:352: error: âCI_MOD_ALLOW204â undeclared (first use in this function)
srv_url_check.c:354: warning: implicit declaration of function âci_debug_printfâ
srv_url_check.c:357: warning: implicit declaration of function âprofile_selectâ
srv_url_check.c:357: warning: assignment makes pointer from integer without a cast
srv_url_check.c:374: error: âstruct url_check_dataâ has no member named âdeniedâ
srv_url_check.c:375: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:375: warning: implicit declaration of function âci_cached_file_newâ
srv_url_check.c:376: warning: implicit declaration of function âci_http_response_createâ
srv_url_check.c:378: warning: implicit declaration of function âci_http_response_add_headerâ
srv_url_check.c:384: warning: implicit declaration of function âci_cached_file_writeâ
srv_url_check.c:384: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:390: warning: implicit declaration of function âci_req_allow204â
srv_url_check.c:398: warning: implicit declaration of function âci_req_hasbodyâ
srv_url_check.c:399: warning: implicit declaration of function âci_http_content_lengthâ
srv_url_check.c:400: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:405: warning: implicit declaration of function âunlock_dataâ
srv_url_check.c:406: error: âCI_MOD_CONTINUEâ undeclared (first use in this function)
srv_url_check.c: At top level:
srv_url_check.c:410: error: expected â)â before ââ token
srv_url_check.c:421: error: expected declaration specifiers or â...â before âci_request_tâ
srv_url_check.c: In function âurl_check_ioâ:
srv_url_check.c:424: error: âreqâ undeclared (first use in this function)
srv_url_check.c:424: warning: initialization makes pointer from integer without a cast
srv_url_check.c:425: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:426: error: âCI_ERRORâ undeclared (first use in this function)
srv_url_check.c:428: error: âCI_OKâ undeclared (first use in this function)
srv_url_check.c:429: error: âstruct url_check_dataâ has no member named âdeniedâ
srv_url_check.c:431: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:436: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c:440: warning: implicit declaration of function âci_cached_file_readâ
srv_url_check.c:440: error: âstruct url_check_dataâ has no member named âbodyâ
srv_url_check.c: At top level:
srv_url_check.c:525: error: expected â)â before â*â token
srv_url_check.c: In function âprofile_searchâ:
srv_url_check.c:553: error: âstruct profileâ has no member named ânextâ
srv_url_check.c: In function âprofile_check_addâ:
srv_url_check.c:568: error: âstruct profileâ has no member named âaccess_listâ
srv_url_check.c:569: error: âstruct profileâ has no member named âdbsâ
srv_url_check.c:570: error: âstruct profileâ has no member named ânextâ
srv_url_check.c: In function âprofile_add_dbâ:
srv_url_check.c:588: error: âstruct profileâ has no member named âdbsâ
srv_url_check.c:590: error: âstruct profileâ has no member named âdbsâ
srv_url_check.c: In function âprofile_accessâ:
srv_url_check.c:604: error: âstruct profileâ has no member named âdbsâ
srv_url_check.c: In function âcfg_profile_accessâ:
srv_url_check.c:669: error: âci_access_entry_tâ undeclared (first use in this function)
srv_url_check.c:669: error: âaccess_entryâ undeclared (first use in this function)
srv_url_check.c:681: warning: implicit declaration of function âci_access_entry_newâ
srv_url_check.c:681: error: âstruct profileâ has no member named âaccess_listâ
srv_url_check.c:682: error: âCI_ACCESS_ALLOWâ undeclared (first use in this function)
srv_url_check.c:691: warning: implicit declaration of function âci_access_entry_add_acl_by_nameâ
srv_url_check.c: At top level:
srv_url_check.c:745: error: âCI_MAX_PATHâ undeclared here (not in a function)
srv_url_check.c: In function âcfg_load_sg_dbâ:
srv_url_check.c:788: warning: implicit declaration of function âregister_command_extendâ
srv_url_check.c:788: error: âCHILD_START_CMDâ undeclared (first use in this function)
srv_url_check.c: In function âlt_load_dbâ:
srv_url_check.c:804: warning: implicit declaration of function âci_lookup_table_createâ
srv_url_check.c:804: warning: assignment makes pointer from integer without a cast
srv_url_check.c:805: error: dereferencing pointer to incomplete type
srv_url_check.c:806: warning: implicit declaration of function âci_lookup_table_destroyâ
srv_url_check.c: In function âlt_lookup_dbâ:
srv_url_check.c:833: error: dereferencing pointer to incomplete type
srv_url_check.c:841: error: dereferencing pointer to incomplete type
srv_url_check.c:842: error: dereferencing pointer to incomplete type
srv_url_check.c:883: error: dereferencing pointer to incomplete type
srv_url_check.c:884: error: dereferencing pointer to incomplete type
srv_url_check.c:905: error: dereferencing pointer to incomplete type
srv_url_check.c: In function âlt_release_dbâ:
srv_url_check.c:912: error: dereferencing pointer to incomplete type
make[3]: *** [srv_url_check_la-srv_url_check.lo] Error 1
make[3]: Leaving directory /opt/clamav/cicap/c_icap_modules-0.1.3/services/url_check'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory/opt/clamav/cicap/c_icap_modules-0.1.3/services'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/clamav/cicap/c_icap_modules-0.1.3'
make: *** [all] Error 2
[root@fs-01 c_icap_modules-0.1.3]#
Can you help me about my problem. Thanks...
-Arie Widodo-
Anonymous
You need to install c-icap-0.1.x first. Then you should run configure script distributed with the c-icap-modules-0.1.x package with the "--with-c-icap=/path/cicap/installed" option
The "/path/cicap/isnstalled" should replaced with the directory path name the c-icap server installed