LINUX.ORG.RU
ФорумAdmin

Samba 3.2.0 и samba-vscan


0

0

Имею Debian lenny, samba 3.2.0
(Linux rhwk 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008 i686 GNU/Linux)

Не могу компилировать модуль samba-vscan (samba-vscan-0.3.6c-beta5.tar.gz).

Делаю так:

1.
cd /usr/src/samba-3.2.0/source/
./configure
make proto

2.
cd ../examples/VFS/samba-vscan
./configure

получаю:
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for library containing strerror... none required
checking whether gcc and cc understand -c and -o together... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking config.cache system type... same
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for inet_aton... yes
checking ability to build shared libraries... true
checking linker flags for shared libraries... -shared
checking compiler flags for position-independent code... -fPIC
checking for suffix of position-independent code... po
checking whether building shared libraries actually works... yes
checking for Samba Version... "3.2.0"
checking whether to use libclamav... no
checking whether use libmksd as builtin... auto
checking libmksd.h usability... no
checking libmksd.h presence... no
checking for libmksd.h... no
checking for mksd_connect in -lmksd... no
checking whether to use libmksd as builtin or system... builtin
checking whether use libkavdc as builtin... auto
checking kavclient.h usability... no
checking kavclient.h presence... no
checking for kavclient.h... no
checking for KAVConnect in -lkavdc... no
checking for KAVConnect in /usr/lib/kavdclib.so... no
checking whether to use libkavdc as builtin or system... builtin
checking whether to build Symantec module... no
checking whether to build only libmksd and libkavdc as shared libs... no
checking for filetype support... auto
checking magic.h usability... no
checking magic.h presence... no
checking for magic.h... no
checking for magic_load in -lmagic... no
checking whether to use filetype support... no
configure: WARNING: sorry no filetype support is possible
configure: WARNING: please install libmagic if you need filetype support
checking for regexp-exclude support... auto
checking pcre.h usability... no
checking pcre.h presence... no
checking for pcre.h... no
checking for pcre_exec in -lpcre... no
checking whether to use regexp-exclude support... no
configure: WARNING: sorry no regexp-exclude support is possible
configure: WARNING: please install libpcre if you need regexp-exclude support
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/vscan-config.h

** Configuration summary for samba-vscan 0.3.6c beta5 :

 Compile samba-vscan for Samba      : "3.2.0"
 Compile samba-vscan with sources in: ../../../source
 Compile samba-vscan backends       : oav sophos fprotd fsav trend icap mksd kavp clamav nai antivir
 Use GLOBAL_LIBS                    :
 Use libmksd as                     : builtin
 Use libkavdc as                    : builtin

Now type "make" to build all mentioned backends.
Or "make <backend> {<backend>}" to build only specific backend(s).
On *BSD systems please use GNU make (gmake) instead of BSD make (make).

3.
make clamav

получаю:
Compiling global/vscan-functions.c with -fPIC
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/includes.h:652:17: error: tdb.h: Файл или каталог не найден
In file included from /usr/src/samba-3.2.0/source/include/includes.h:653,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/util_tdb.h:32: error: expected specifier-qualifier-list before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/util_tdb.h:49: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_tdb_data’
/usr/src/samba-3.2.0/source/include/util_tdb.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_tdb_data’
/usr/src/samba-3.2.0/source/include/util_tdb.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_term_tdb_data’
/usr/src/samba-3.2.0/source/include/util_tdb.h:58: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:61: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:64: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:66: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:68: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:70: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:72: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:74: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:77: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:80: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/util_tdb.h:81: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/util_tdb.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tdb_fetch_bystring’
/usr/src/samba-3.2.0/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/util_tdb.h:87: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/util_tdb.h:101: warning: ‘enum TDB_ERROR’ declared inside parameter list
/usr/src/samba-3.2.0/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.0/source/include/util_tdb.h:103: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’
/usr/src/samba-3.2.0/source/include/util_tdb.h:104: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’
/usr/src/samba-3.2.0/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.0/source/include/includes.h:700,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/rpc_eventlog.h:52: error: expected specifier-qualifier-list before ‘TDB_CONTEXT’
In file included from /usr/src/samba-3.2.0/source/include/includes.h:718,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/dbwrap.h:24: error: expected specifier-qualifier-list before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/dbwrap.h:33: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/dbwrap.h:93: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/dbwrap.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbwrap_fetch_bystring’
In file included from /usr/src/samba-3.2.0/source/include/includes.h:720,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:49: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:55: error: expected ‘)’ before ‘key’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
In file included from /usr/src/samba-3.2.0/source/include/includes.h:804,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/proto.h:411: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/proto.h:453: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/proto.h:459: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/samba-3.2.0/source/include/proto.h:4838: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:6579: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_printer_notify_pid_list’
/usr/src/samba-3.2.0/source/include/proto.h:6758: error: expected ‘)’ before ‘key’

ARTh
() автор топика
Ответ на: комментарий от ARTh

/usr/src/samba-3.2.0/source/include/proto.h:6763: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’
/usr/src/samba-3.2.0/source/include/proto.h:6767: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’
/usr/src/samba-3.2.0/source/include/proto.h:7649: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:7650: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:8149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:8151: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:8152: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:8153: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:8156: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:10066: error: expected ‘)’ before ‘*’ token
/usr/src/samba-3.2.0/source/include/proto.h:10279: error: expected ‘)’ before ‘*’ token
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:86:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2468:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:89:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2471:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:92:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2474:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:95:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2477:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:98:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2480:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:8,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-functions.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:9,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:22: error: expected specifier-qualifier-list before ‘pstring’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:28: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:30: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:31: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:32: error: expected ‘)’ before ‘fname’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:12,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-filetype.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filetype_init’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-filetype.h:18: error: expected ‘)’ before ‘fname’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:13,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-parameter.h:78: error: expected specifier-qualifier-list before ‘BOOL’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-parameter.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_common_parameter’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:15,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileregexp.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fileregexp_init’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/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


Может у кого-нибудь есть идеи по этому поводу?
Спасибо за внимание!

ARTh
() автор топика
Ответ на: комментарий от ARTh

По памяти в sambe 3.0.29 перед ./configure samba-vscan в каталоге самбы надо бвло make prototypes. В инструкции samba-vscan посмотрите точнее.

tux2002
()
Ответ на: комментарий от Anoxemian

Спасибо за ответ! 
Прописал в 
/usr/src/samba-3.2.0/source/include/includes.h и в 
/usr/src/samba-3.2.0/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-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:86:1: warning: "PACKAGE_BUGREPORT" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2468:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:89:1: warning: "PACKAGE_NAME" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2471:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:92:1: warning: "PACKAGE_STRING" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2474:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:95:1: warning: "PACKAGE_TARNAME" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2477:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:6,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-config.h:98:1: warning: "PACKAGE_VERSION" redefined
In file included from /usr/src/samba-3.2.0/source/lib/replace/replace.h:32,
                 from /usr/src/samba-3.2.0/source/include/includes.h:28,
                 from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:4,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/source/include/config.h:2480:1: warning: this is the location of the previous definition
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:8,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-functions.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:9,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:22: error: expected specifier-qualifier-list before ‘pstring’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:28: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:30: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:31: error: expected ‘)’ before ‘fname’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileaccesslog.h:32: error: expected ‘)’ before ‘fname’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:12,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-filetype.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filetype_init’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-filetype.h:18: error: expected ‘)’ before ‘fname’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:13,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-parameter.h:78: error: expected specifier-qualifier-list before ‘BOOL’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-parameter.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_common_parameter’
In file included from /usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-global.h:15,
                 from global/vscan-functions.c:15:
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/include/vscan-fileregexp.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fileregexp_init’
/usr/src/samba-3.2.0/examples/VFS/samba-vscan/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

ARTh
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.