Compiling global/vscan-functions.c with -fPIC In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/includes.h:652:17: error: tdb.h: No such file or directory In file included from /home/vscan-test/samba-3.2.5/source/include/includes.h:653, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:32: error: expected specifier-qualifier-list before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:49: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_tdb_data’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_tdb_data’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:53: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘string_term_tdb_data’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:58: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:61: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:64: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:66: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:68: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:70: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:72: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:74: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:77: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:80: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:81: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tdb_fetch_bystring’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:85: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:87: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:101: warning: ‘enum TDB_ERROR’ declared inside parameter list /home/vscan-test/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 /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:103: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:104: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ /home/vscan-test/samba-3.2.5/source/include/util_tdb.h:106: error: expected declaration specifiers or ‘...’ before ‘tdb_validate_data_func’ In file included from /home/vscan-test/samba-3.2.5/source/include/includes.h:700, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/rpc_eventlog.h:52: error: expected specifier-qualifier-list before ‘TDB_CONTEXT’ In file included from /home/vscan-test/samba-3.2.5/source/include/includes.h:718, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:24: error: expected specifier-qualifier-list before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:33: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:35: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:93: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/dbwrap.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dbwrap_fetch_bystring’ In file included from /home/vscan-test/samba-3.2.5/source/include/includes.h:720, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:49: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:52: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:55: error: expected ‘)’ before ‘key’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:57: error: expected ‘;’, ‘,’ or ‘)’ before ‘void’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/ctdbd_conn.h:68: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ In file included from /home/vscan-test/samba-3.2.5/source/include/includes.h:804, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/proto.h:411: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/proto.h:451: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/proto.h:453: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/proto.h:459: error: expected declaration specifiers or ‘...’ before ‘TDB_DATA’ /home/vscan-test/samba-3.2.5/source/include/proto.h:6588: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_printer_notify_pid_list’ /home/vscan-test/samba-3.2.5/source/include/proto.h:6767: error: expected ‘)’ before ‘key’ /home/vscan-test/samba-3.2.5/source/include/proto.h:6772: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’ /home/vscan-test/samba-3.2.5/source/include/proto.h:6776: error: expected declaration specifiers or ‘...’ before ‘TDB_CONTEXT’ /home/vscan-test/samba-3.2.5/source/include/proto.h:7658: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:7659: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:8158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:8160: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:8161: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:8162: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:8165: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:10075: error: expected ‘)’ before ‘*’ token /home/vscan-test/samba-3.2.5/source/include/proto.h:10288: error: expected ‘)’ before ‘*’ token In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-config.h:86:1: warning: "PACKAGE_BUGREPORT" redefined In file included from /home/vscan-test/samba-3.2.5/source/lib/replace/replace.h:32, from /home/vscan-test/samba-3.2.5/source/include/includes.h:28, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/config.h:2492:1: warning: this is the location of the previous definition In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-config.h:89:1: warning: "PACKAGE_NAME" redefined In file included from /home/vscan-test/samba-3.2.5/source/lib/replace/replace.h:32, from /home/vscan-test/samba-3.2.5/source/include/includes.h:28, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/config.h:2495:1: warning: this is the location of the previous definition In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-config.h:92:1: warning: "PACKAGE_STRING" redefined In file included from /home/vscan-test/samba-3.2.5/source/lib/replace/replace.h:32, from /home/vscan-test/samba-3.2.5/source/include/includes.h:28, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/config.h:2498:1: warning: this is the location of the previous definition In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-config.h:95:1: warning: "PACKAGE_TARNAME" redefined In file included from /home/vscan-test/samba-3.2.5/source/lib/replace/replace.h:32, from /home/vscan-test/samba-3.2.5/source/include/includes.h:28, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/config.h:2501:1: warning: this is the location of the previous definition In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:6, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-config.h:98:1: warning: "PACKAGE_VERSION" redefined In file included from /home/vscan-test/samba-3.2.5/source/lib/replace/replace.h:32, from /home/vscan-test/samba-3.2.5/source/include/includes.h:28, from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:4, from global/vscan-functions.c:15: /home/vscan-test/samba-3.2.5/source/include/config.h:2504:1: warning: this is the location of the previous definition In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:8, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-functions.h:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_boolean’ In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:9, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:22: error: expected specifier-qualifier-list before ‘pstring’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:28: error: expected ‘)’ before ‘fname’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:30: error: expected ‘)’ before ‘fname’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:31: error: expected ‘)’ before ‘fname’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileaccesslog.h:32: error: expected ‘)’ before ‘fname’ In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:12, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘filetype_init’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-filetype.h:18: error: expected ‘)’ before ‘fname’ In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:13, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:78: error: expected specifier-qualifier-list before ‘BOOL’ /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-parameter.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘do_common_parameter’ In file included from /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-global.h:15, from global/vscan-functions.c:15: /home/vscan-test/samba-vscan-0.3.6c-beta5/include/vscan-fileregexp.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fileregexp_init’ /home/vscan-test/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] Error 1