Добрый день. Подскажите пожалуйста. Пытаюсь проделать всё вышеописанное на Debian 5 При выполнении make clamav Выдает ругань : # make clamav ========================================================================================== Compiling global/vscan-functions.c with -fPIC In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/includes.h:652:17: error: tdb.h: Нет такого файла или каталога In file included from /usr/src/samba-3.2.5/source/include/includes.h:653, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/util_tdb.h:32: error: expected specifier-qualifier-list before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/util_tdb.h:49: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_tdb_data’ /usr/src/samba-3.2.5/source/include/util_tdb.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_tdb_data’ /usr/src/samba-3.2.5/source/include/util_tdb.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_term_tdb_data’ /usr/src/samba-3.2.5/source/include/util_tdb.h:58: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:61: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:64: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:66: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:68: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:70: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:72: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:74: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:77: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:80: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/util_tdb.h:81: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/util_tdb.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tdb_fetch_bystring’ /usr/src/samba-3.2.5/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/util_tdb.h:87: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/util_tdb.h:101: warning: ‘enum TDB_ERROR’ declared inside parameter list /usr/src/samba-3.2.5/source/include/util_tdb.h:101: warning: its scope is only this definition or declaration, which is probably not what you want /usr/src/samba-3.2.5/source/include/util_tdb.h:103: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ /usr/src/samba-3.2.5/source/include/util_tdb.h:104: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ /usr/src/samba-3.2.5/source/include/util_tdb.h:106: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ In file included from /usr/src/samba-3.2.5/source/include/includes.h:700, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/rpc_eventlog.h:52: error: expected specifier-qualifier-list before ‘TDB_CONTEXT’ In file included from /usr/src/samba-3.2.5/source/include/includes.h:718, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/dbwrap.h:24: error: expected specifier-qualifier-list before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/dbwrap.h:33: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/dbwrap.h:93: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/dbwrap.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbwrap_fetch_bystring’ In file included from /usr/src/samba-3.2.5/source/include/includes.h:720, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:49: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:55: error: expected ‘)’ before ‘key’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ In file included from /usr/src/samba-3.2.5/source/include/includes.h:804, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/proto.h:411: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/proto.h:453: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/proto.h:459: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /usr/src/samba-3.2.5/source/include/proto.h:6591: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_printer_notify_pid_list’ /usr/src/samba-3.2.5/source/include/proto.h:6770: error: expected ‘)’ before ‘key’ /usr/src/samba-3.2.5/source/include/proto.h:6775: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’ /usr/src/samba-3.2.5/source/include/proto.h:6779: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’ /usr/src/samba-3.2.5/source/include/proto.h:7661: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:7662: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:8161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:8163: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:8164: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:8165: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:8168: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:10078: error: expected ‘)’ before ‘*’ token /usr/src/samba-3.2.5/source/include/proto.h:10291: error: expected ‘)’ before ‘*’ token In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:86:1: warning: "PACKAGE_BUGREPORT" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2495:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:89:1: warning: "PACKAGE_NAME" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2498:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:92:1: warning: "PACKAGE_STRING" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2501:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:95:1: warning: "PACKAGE_TARNAME" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2504:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:98:1: warning: "PACKAGE_VERSION" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2507:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:8, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-functions.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:9, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:22: error: expected specifier-qualifier-list before ‘pstring’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:28: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:30: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:31: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:32: error: expected ‘)’ before ‘fname’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:12, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filetype_init’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:18: error: expected ‘)’ before ‘fname’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:13, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:78: error: expected specifier-qualifier-list before ‘BOOL’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_common_parameter’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:15, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileregexp.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fileregexp_init’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileregexp.h:18: error: expected ‘)’ before ‘fname’ global/vscan-functions.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’ make: *** [global/vscan-functions.po] Ошибка 1 =========================================================================================Заменив в /usr/src/samba-3.2.5/source/include/includes.h и в /usr/src/samba-3.2.5/source/include/util_tdb.h (тоже ругался) #include "lib/tdb/include/tdb.h" (было #include "tdb.h") на что он теперь говорит ========================================================================================= # make clamav Compiling global/vscan-functions.c with -fPIC In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:86:1: warning: "PACKAGE_BUGREPORT" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2495:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:89:1: warning: "PACKAGE_NAME" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2498:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:92:1: warning: "PACKAGE_STRING" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2501:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:95:1: warning: "PACKAGE_TARNAME" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2504:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-config.h:98:1: warning: "PACKAGE_VERSION" redefined In file included from /usr/src/samba-3.2.5/source/lib/replace/replace.h:32, from /usr/src/samba-3.2.5/source/include/includes.h:28, from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /usr/src/samba-3.2.5/source/include/config.h:2507:1: warning: this is the location of the previous definition In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:8, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-functions.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:9, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:22: error: expected specifier-qualifier-list before ‘pstring’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:28: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:30: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:31: error: expected ‘)’ before ‘fname’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:32: error: expected ‘)’ before ‘fname’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:12, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filetype_init’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:18: error: expected ‘)’ before ‘fname’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:13, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:78: error: expected specifier-qualifier-list before ‘BOOL’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_common_parameter’ In file included from /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-global.h:15, from global/vscan-functions.c:15: /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileregexp.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fileregexp_init’ /usr/src/samba-vscan-0.3.6c-beta5/include/vscan-fileregexp.h:18: error: expected ‘)’ before ‘fname’ global/vscan-functions.c:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’ make: *** [global/vscan-functions.po] Ошибка 1 =========================================================================================
Может кому то удалось скрестить samb-у 3.2.5 с clamav. Спасибо.
|