José María Quiroga escribió:
buenas, hay alguna alternativa recomendada a samba-vscan ?
resulta que llevo ya un par de días peleando con diversos errores a la
hora de compilar el soporte para samba-vscan y no le encuentro la vuelta.
Por otra parte había estado leyendo que tenía consumos bastante altos de
cpu cuando un mismo fichero era accedido por varios usuarios....
entonces, vale la pena el sufrimiento? o hay alguna alternativa mas
sencilla y funcional?
desde ya gracias a cualquier sugerencia
salu2
me había olvidado de agregar información sobre el error, por si las moscas..
[EMAIL PROTECTED]:/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1#
make clamav
Compiling global/vscan-functions.c with -fPIC
En el fichero incluído de
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
de global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/includes.h:102:31: error:
system/capability.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:103:24: error:
system/dir.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:104:28: error:
system/filesys.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:105:25: error:
system/glob.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:106:26: error:
system/iconv.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:107:27: error:
system/locale.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:108:28: error:
system/network.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:109:27: error:
system/passwd.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:110:29: error:
system/printing.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:111:29: error:
system/readline.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:112:27: error:
system/select.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:113:26: error:
system/shmem.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:114:27: error:
system/syslog.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:115:29: error:
system/terminal.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:116:25: error:
system/time.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/include/includes.h:117:25: error:
system/wait.h: No existe el fichero ó directorio
In file included from
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/includes.h:302: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘volatile’
/usr/src/sources/samba-3.0.26a/source/include/includes.h:640:17: error:
tdb.h: No existe el fichero ó directorio
In file included from
/usr/src/sources/samba-3.0.26a/source/include/includes.h:641,
from
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:35: error:
expected specifier-qualifier-list before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:48: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:51: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:53: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:58: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:58: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:60: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:61: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tdb_fetch_bystring’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:67: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_tdb_data’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:68: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_tdb_data’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:69: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:69: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:71: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/util_tdb.h:73: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/includes.h:642:21: error:
tdbback.h: No existe el fichero ó directorio
En el fichero incluído de
/usr/src/sources/samba-3.0.26a/source/librpc/gen_ndr/srvsvc.h:3,
de
/usr/src/sources/samba-3.0.26a/source/librpc/gen_ndr/wkssvc.h:3,
de
/usr/src/sources/samba-3.0.26a/source/include/smb.h:315,
de
/usr/src/sources/samba-3.0.26a/source/include/includes.h:665,
de
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
de global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/librpc/gen_ndr/security.h:1:26:
error: ndr/security.h: No existe el fichero ó directorio
In file included from
/usr/src/sources/samba-3.0.26a/source/include/smb.h:606,
from
/usr/src/sources/samba-3.0.26a/source/include/includes.h:665,
from
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/vfs.h:245: error: expected
specifier-qualifier-list before ‘DIR’
In file included from
/usr/src/sources/samba-3.0.26a/source/include/includes.h:693,
from
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/rpc_eventlog.h:63: error:
expected specifier-qualifier-list before ‘TDB_CONTEXT’
En el fichero incluído de
/usr/src/sources/samba-3.0.26a/source/nsswitch/winbind_client.h:1,
de
/usr/src/sources/samba-3.0.26a/source/include/includes.h:710,
de
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
de global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/nsswitch/winbind_nss_config.h:39:27:
error: system/passwd.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/nsswitch/winbind_nss_config.h:40:28:
error: system/filesys.h: No existe el fichero ó directorio
/usr/src/sources/samba-3.0.26a/source/nsswitch/winbind_nss_config.h:41:28:
error: system/network.h: No existe el fichero ó directorio
In file included from
/usr/src/sources/samba-3.0.26a/source/include/includes.h:790,
from
/usr/src/sources/samba-3.0.26a/examples/VFS/samba3-vscan-0.4.0-snapshot1/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/sources/samba-3.0.26a/source/include/proto.h:147: aviso: se
declaró ‘struct group’ dentro de la lista de parámetros
/usr/src/sources/samba-3.0.26a/source/include/proto.h:147: aviso: su
ámbito es solamente esta definición o declaración, lo cual probablemente
no sea lo que desea
/usr/src/sources/samba-3.0.26a/source/include/proto.h:249: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:525: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:871: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:872: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:873: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:874: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:875: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:876: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:909: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:910: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1137: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1426: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_tdb_data’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1427: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_tdb_data’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1428: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1429: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1430: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1432: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1433: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1434: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1435: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1436: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1437: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1438: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1439: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1440: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1441: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1442: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1443: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1444: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tdb_fetch_bystring’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1445: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1446: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1447: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1453: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1455: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1458: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1458: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:1460: error:
expected declaration specifiers or ‘...’ before ‘TDB_DATA’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:2929: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:3622: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:4617: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘get_printer_notify_pid_list’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:4701: error:
expected ‘)’ before ‘key’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:4706: error:
expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:4710: error:
expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:6188: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:6189: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:6894: aviso: se
declaró ‘struct tm’ dentro de la lista de parámetros
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7473: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7475: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7476: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7478: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7479: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:7482: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:8146: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:8742: error:
expected ‘)’ before ‘*’ token
/usr/src/sources/samba-3.0.26a/source/include/proto.h:8743: error:
expected ‘;’, ‘,’ or ‘)’ before ‘void’
/usr/src/sources/samba-3.0.26a/source/include/proto.h:8774: error:
expected ‘)’ before ‘*’ token
make: *** [global/vscan-functions.po] Error 1
--
[ JoE ]