Доброго всем дня. В наличии FreeBSD 6.2
Пятаюсь поставить связку ClamAV+c_icap+Squid.
Проблемы начались при установке с_icap. После команды маке вылазиет такая хрень
code
gate# make
make all-recursive
Making all in .
Making all in modules
Making all in services
Making all in echo
Making all in url_check
Making all in clamav
if /usr/local/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/ -D_THREAD_SAFE -g -O2 -Wall -MT srv_clamav_la-srv_clamav.lo -MD -MP -MF ".deps/srv_clamav_la-srv_clamav.Tpo" -c -o srv_clamav_la-srv_clamav.lo `test -f 'srv_clamav.c' || echo './'`srv_clamav.c; then mv -f ".deps/srv_clamav_la-srv_clamav.Tpo" ".deps/srv_clamav_la-srv_clamav.Plo"; else rm -f ".deps/srv_clamav_la-srv_clamav.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../include/ -D_THREAD_SAFE -g -O2 -Wall -MT srv_clamav_la-srv_clamav.lo -MD -MP -MF .deps/srv_clamav_la-srv_clamav.Tpo -c srv_clamav.c -fPIC -DPIC -o .libs/srv_clamav_la-srv_clamav.o
srv_clamav.c:27:20: clamav.h: No such file or directory
srv_clamav.c:121: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:121: error: initializer element is not constant
srv_clamav.c:121: error: (near initialization for `conf_variables[5].data')
srv_clamav.c:121: error: initializer element is not constant
srv_clamav.c:121: error: (near initialization for `conf_variables[5]')
srv_clamav.c:122: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:122: error: initializer element is not constant
srv_clamav.c:122: error: (near initialization for `conf_variables[6].data')
srv_clamav.c:122: error: initializer element is not constant
srv_clamav.c:122: error: (near initialization for `conf_variables[6]')
srv_clamav.c:124: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:124: error: initializer element is not constant
srv_clamav.c:124: error: (near initialization for `conf_variables[7].data')
srv_clamav.c:125: error: initializer element is not constant
srv_clamav.c:125: error: (near initialization for `conf_variables[7]')
srv_clamav.c:126: error: initializer element is not constant
srv_clamav.c:126: error: (near initialization for `conf_variables[8]')
srv_clamav.c:128: error: initializer element is not constant
srv_clamav.c:128: error: (near initialization for `conf_variables[9]')
srv_clamav.c:129: error: initializer element is not constant
srv_clamav.c:129: error: (near initialization for `conf_variables[10]')
srv_clamav.c:130: error: initializer element is not constant
srv_clamav.c:130: error: (near initialization for `conf_variables[11]')
srv_clamav.c:131: error: initializer element is not constant
srv_clamav.c:131: error: (near initialization for `conf_variables[12]')
srv_clamav.c:133: error: initializer element is not constant
srv_clamav.c:133: error: (near initialization for `conf_variables[13]')
srv_clamav.c: In function `srvclamav_init_service':
srv_clamav.c:178: error: invalid application of `sizeof' to incomplete type `cl_limits'
srv_clamav.c:179: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:180: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:181: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:182: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c:183: error: invalid use of undefined type `struct cl_limits'
srv_clamav.c: In function `srvclamav_end_of_data_handler':
srv_clamav.c:436: warning: implicit declaration of function `cl_scandesc'
srv_clamav.c:437: error: `CL_SCAN_STDOPT' undeclared (first use in this function)
srv_clamav.c:437: error: (Each undeclared identifier is reported only once
srv_clamav.c:437: error: for each function it appears in.)
srv_clamav.c:438: error: `CL_VIRUS' undeclared (first use in this function)
srv_clamav.c:458: error: `CL_CLEAN' undeclared (first use in this function)
srv_clamav.c: In function `init_virusdb':
srv_clamav.c:496: warning: implicit declaration of function `cl_loaddbdir'
srv_clamav.c:496: warning: implicit declaration of function `cl_retdbdir'
srv_clamav.c:497: warning: implicit declaration of function `cl_perror'
srv_clamav.c:497: warning: format argument is not a pointer (arg 2)
srv_clamav.c:501: warning: implicit declaration of function `cl_build'
srv_clamav.c:502: warning: implicit declaration of function `cl_strerror'
srv_clamav.c:502: warning: format argument is not a pointer (arg 2)
srv_clamav.c:504: warning: implicit declaration of function `cl_free'
srv_clamav.c: In function `reload_virusdb':
srv_clamav.c:549: warning: format argument is not a pointer (arg 2)
srv_clamav.c:556: warning: format argument is not a pointer (arg 2)
srv_clamav.c: In function `set_istag':
srv_clamav.c:642: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
srv_clamav.c:645: warning: format argument is not a pointer (arg 3)
srv_clamav.c:647: warning: implicit declaration of function `cl_cvdhead'
srv_clamav.c:647: warning: assignment makes pointer from integer without a cast
srv_clamav.c:648: error: dereferencing pointer to incomplete type
srv_clamav.c:653: warning: implicit declaration of function `cl_retver'
srv_clamav.c:666: warning: implicit declaration of function `cl_retflevel'
srv_clamav.c: In function `cfg_ClamAvTmpDir':
srv_clamav.c:875: warning: implicit declaration of function `cl_settempdir'
srv_clamav.c: At top level:
srv_clamav.c:47: error: storage size of `limits' isn't known
*** Error code 1
Stop in /usr/home/Twin/c_icap-180407/services/clamav.
*** Error code 1
Stop in /usr/home/Twin/c_icap-180407/services.
*** Error code 1
Stop in /usr/home/Twin/c_icap-180407.
*** Error code 1
Stop in /usr/home/Twin/c_icap-180407.
gate#
code/
Подскажите где копать ?
Спасибо.