Bonjour,
j’essaye actuellement de compiler samba-vscan, mais en vain. J’ai suivi les differents tutos à la lettre :
- http://www.le-vert.net/howto/samba-vscan/
- http://linuxfr.org/~Meuuh/12856.html
- http://www.andesi.org/index.php?node=40
et viens de passer de nombreux forums.
Mon noyau : 2.6.18
Samba : 3.0.25b
Samba-vscan : 0.3.6b
Mon erreur lors du make :
Compiling global/vscan-functions.c with -fPIC
In file included from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/includes.h:102:31: error: system/capability.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:103:24: error: system/dir.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:104:28: error: system/filesys.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:105:25: error: system/glob.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:106:26: error: system/iconv.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:107:27: error: system/locale.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:108:28: error: system/network.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:109:27: error: system/passwd.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:110:29: error: system/printing.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:111:29: error: system/readline.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:112:27: error: system/select.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:113:26: error: system/shmem.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:114:27: error: system/syslog.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:115:29: error: system/terminal.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:116:25: error: system/time.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/include/includes.h:117:25: error: system/wait.h: Aucun fichier ou répertoire de ce type
In file included from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/includes.h:298: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'volatile'
/usr/src/samba-3.0.25b/source/include/includes.h:636:17: error: tdb.h: Aucun fichier ou répertoire de ce type
In file included from /usr/src/samba-3.0.25b/source/include/includes.h:637,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/util_tdb.h:35: error: expected specifier-qualifier-list before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:48: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/util_tdb.h:51: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/util_tdb.h:53: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/util_tdb.h:58: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:58: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:60: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdb_fetch_bystring'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_tdb_data'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'string_tdb_data'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:69: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:69: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/util_tdb.h:71: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/util_tdb.h:73: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/includes.h:638:21: error: tdbback.h: Aucun fichier ou répertoire de ce type
In file included from /usr/src/samba-3.0.25b/source/librpc/gen_ndr/srvsvc.h:3,
from /usr/src/samba-3.0.25b/source/librpc/gen_ndr/wkssvc.h:3,
from /usr/src/samba-3.0.25b/source/include/smb.h:315,
from /usr/src/samba-3.0.25b/source/include/includes.h:661,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/librpc/gen_ndr/security.h:1:26: error: ndr/security.h: Aucun fichier ou répertoire de ce type
In file included from /usr/src/samba-3.0.25b/source/include/smb.h:606,
from /usr/src/samba-3.0.25b/source/include/includes.h:661,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/vfs.h:245: error: expected specifier-qualifier-list before 'DIR'
In file included from /usr/src/samba-3.0.25b/source/include/includes.h:689,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/rpc_eventlog.h:63: error: expected specifier-qualifier-list before 'TDB_CONTEXT'
In file included from /usr/src/samba-3.0.25b/source/nsswitch/winbind_client.h:1,
from /usr/src/samba-3.0.25b/source/include/includes.h:706,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/nsswitch/winbind_nss_config.h:39:27: error: system/passwd.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/nsswitch/winbind_nss_config.h:40:28: error: system/filesys.h: Aucun fichier ou répertoire de ce type
/usr/src/samba-3.0.25b/source/nsswitch/winbind_nss_config.h:41:28: error: system/network.h: Aucun fichier ou répertoire de ce type
In file included from /usr/src/samba-3.0.25b/source/include/includes.h:788,
from /usr/src/samba-vscan-0.3.6b/include/vscan-global.h:4,
from global/vscan-functions.c:15:
/usr/src/samba-3.0.25b/source/include/proto.h:147: warning: 'struct group' declared inside parameter list
/usr/src/samba-3.0.25b/source/include/proto.h:147: warning: its scope is only this definition or declaration, which is probably not what you want
/usr/src/samba-3.0.25b/source/include/proto.h:249: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:525: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:909: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:910: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:911: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:912: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:913: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:914: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:947: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:948: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1175: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1464: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'make_tdb_data'
/usr/src/samba-3.0.25b/source/include/proto.h:1465: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'string_tdb_data'
/usr/src/samba-3.0.25b/source/include/proto.h:1466: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1467: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1468: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1470: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1471: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1472: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1473: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1474: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1475: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1476: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1477: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1478: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1479: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1480: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1481: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1482: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdb_fetch_bystring'
/usr/src/samba-3.0.25b/source/include/proto.h:1483: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1484: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1485: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1491: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1493: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:1496: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/proto.h:1496: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/proto.h:1498: error: expected declaration specifiers or '...' before 'TDB_DATA'
/usr/src/samba-3.0.25b/source/include/proto.h:2967: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:3682: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:4701: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'get_printer_notify_pid_list'
/usr/src/samba-3.0.25b/source/include/proto.h:4785: error: expected ')' before 'key'
/usr/src/samba-3.0.25b/source/include/proto.h:4790: error: expected declaration specifiers or '...' before 'TDB_CONTEXT'
/usr/src/samba-3.0.25b/source/include/proto.h:4794: error: expected declaration specifiers or '...' before 'TDB_CONTEXT'
/usr/src/samba-3.0.25b/source/include/proto.h:6272: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:6273: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:6978: warning: 'struct tm' declared inside parameter list
/usr/src/samba-3.0.25b/source/include/proto.h:7557: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:7559: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:7560: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:7562: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:7563: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:7566: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:8230: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:8825: error: expected ')' before '*' token
/usr/src/samba-3.0.25b/source/include/proto.h:8826: error: expected ';', ',' or ')' before 'void'
/usr/src/samba-3.0.25b/source/include/proto.h:8857: error: expected ')' before '*' token
global/vscan-functions.c: In function 'vscan_syslog':
global/vscan-functions.c:122: warning: implicit declaration of function 'syslog'
global/vscan-functions.c: In function 'vscan_inet_socket_init':
global/vscan-functions.c:203: warning: implicit declaration of function 'inet_pton'
global/vscan-functions.c: In function 'vscan_socket_end':
global/vscan-functions.c:251: warning: implicit declaration of function 'close'
make: *** [global/vscan-functions.po] Erreur 1
Cependant, j’ai vu sur ce forum que le projet avait ete abandonné depuis 2 ans. Mon erreur viendrait elle de la ?
Apparemment, un certain dazuko aurait pris le relai, mais je n’ai pas trouvé enormement d’infos. Pourrait vous m’eclairer ?
Merci