Hi. I tried to compile version 5.0 from ports, but it doesn't. Is it FreeBSD- specific? Errors (on 2 different machines, 8.0p2 and 7.2STABLE, both i386):
==>Entering directory /usr/ports/sysutils/bacula- server/work/bacula-5.0.0/src/dird Linking bacula-dir ... /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lbacfind -lbacsql -lbacpy -lbaccfg -lbac -lm -L/usr/local/lib/mysql - lmysqlclient_r -lz -lpthread -lintl -lwrap -lssl -lcrypto dird.o(.text+0x230): In function `check_catalog(cat_op)': : undefined reference to `db_check_max_connections(JCR*, B_DB*, unsigned int)' dird.o(.text+0xea2): In function `check_resources()': : undefined reference to `store_size32(s_lex_context*, RES_ITEM*, int, int)' dird.o(.text+0xece): In function `check_resources()': : undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, int)' dird.o(.text+0x2103): In function `main': : undefined reference to `prt_kaboom' dird.o(.text+0x2353): In function `main': : undefined reference to `drop(char*, char*, bool)' dird.o(.text+0x2424): In function `main': : undefined reference to `db_debug_print(JCR*, __sFILE*)' dird.o(.text+0x2501): In function `main': : undefined reference to `drop(char*, char*, bool)' backup.o(.text+0xc67): In function `send_accurate_current_files(JCR*)': : undefined reference to `db_get_base_jobid(JCR*, B_DB*, JOB_DBR*, unsigned int*)' backup.o(.text+0xef0): In function `send_accurate_current_files(JCR*)': : undefined reference to `db_create_base_file_list(JCR*, B_DB*, char*)' backup.o(.text+0xf0e): In function `send_accurate_current_files(JCR*)': : undefined reference to `db_get_base_file_list(JCR*, B_DB*, int (*)(void*, int, char**), void*)' backup.o(.text+0x2325): In function `do_backup(JCR*)': : undefined reference to `db_commit_base_file_attributes_record(JCR*, B_DB*)' bsr.o(.text+0x605): In function `write_bsr(UAContext*, RESTORE_CTX&, __sFILE*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' bsr.o(.text+0xf4d): In function `display_bsr_info(UAContext*, RESTORE_CTX&)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' catreq.o(.text+0x171): In function `update_attribute(JCR*, char*, int)': : undefined reference to `db_create_attributes_record(JCR*, B_DB*, ATTR_DBR*)' catreq.o(.text+0x4f4): In function `update_attribute(JCR*, char*, int)': : undefined reference to `db_create_attributes_record(JCR*, B_DB*, ATTR_DBR*)' dird_conf.o(.data+0x510): undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, int)' dird_conf.o(.data+0x18c8): undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, int)' dird_conf.o(.data+0x1954): undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, int)' dird_conf.o(.data+0x1970): undefined reference to `store_size64(s_lex_context*, RES_ITEM*, int, int)' migrate.o(.text+0x2638): In function `do_migration_init(JCR*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' migrate.o(.text+0x32a3): In function `do_migration_init(JCR*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' ua_dotcmds.o(.text+0x785): In function `dot_bvfs_lsfiles(UAContext*, char const*)': : undefined reference to `Bvfs::Bvfs(JCR*, B_DB*)' ua_dotcmds.o(.text+0x7bf): In function `dot_bvfs_lsfiles(UAContext*, char const*)': : undefined reference to `Bvfs::ls_files()' ua_dotcmds.o(.text+0x7c7): In function `dot_bvfs_lsfiles(UAContext*, char const*)': : undefined reference to `Bvfs::~Bvfs()' ua_dotcmds.o(.text+0x7e2): In function `dot_bvfs_lsfiles(UAContext*, char const*)': : undefined reference to `Bvfs::ch_dir(char const*)' ua_dotcmds.o(.text+0x7ee): In function `dot_bvfs_lsfiles(UAContext*, char const*)': : undefined reference to `Bvfs::~Bvfs()' ua_dotcmds.o(.text+0x917): In function `bvfs_result_handler(void*, int, char**)': : undefined reference to `bvfs_basename_dir(char*)' ua_dotcmds.o(.text+0x11f5): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::Bvfs(JCR*, B_DB*)' ua_dotcmds.o(.text+0x122f): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::ls_special_dirs()' ua_dotcmds.o(.text+0x1237): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::ls_dirs()' ua_dotcmds.o(.text+0x123f): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::~Bvfs()' ua_dotcmds.o(.text+0x125b): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::ch_dir(char const*)' ua_dotcmds.o(.text+0x1267): In function `dot_bvfs_lsdirs(UAContext*, char const*)': : undefined reference to `Bvfs::~Bvfs()' ua_dotcmds.o(.text+0x1ac8): In function `dot_bvfs_update(UAContext*, char const*)': : undefined reference to `bvfs_update_cache(JCR*, B_DB*)' ua_dotcmds.o(.text+0x1b1b): In function `dot_bvfs_update(UAContext*, char const*)': : undefined reference to `bvfs_update_path_hierarchy_cache(JCR*, B_DB*, char*)' ua_output.o(.text+0x1438): In function `do_list_cmd(UAContext*, char const*, e_list_type)': : undefined reference to `db_list_base_files_for_job(JCR*, B_DB*, unsigned int, void (*)(void*, char const*), void*)' ua_restore.o(.text+0x1a07): In function `user_select_jobids_or_files(UAContext*, RESTORE_CTX*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' ua_restore.o(.text+0x2cb1): In function `restore_cmd(UAContext*, char const*)': : undefined reference to `db_get_used_base_jobids(JCR*, B_DB*, char*, db_list_ctx*)' ua_restore.o(.text+0x2cf2): In function `restore_cmd(UAContext*, char const*)': : undefined reference to `uar_print_jobs' ua_restore.o(.text+0x2def): In function `restore_cmd(UAContext*, char const*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' ua_restore.o(.text+0x2f1b): In function `restore_cmd(UAContext*, char const*)': : undefined reference to `get_next_jobid_from_list(char**, unsigned int*)' ua_update.o(.text+0x1101): In function `update_vol_actiononpurge(UAContext*, char*, MEDIA_DBR*)': : undefined reference to `aop_to_str(int, POOL_MEM&)' ua_update.o(.text+0x1ef8): In function `update_volume(UAContext*)': : undefined reference to `aop_to_str(int, POOL_MEM&)' *** Error code 1 Stop in /usr/ports/sysutils/bacula-server/work/bacula-5.0.0/src/dird. -- Silver ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users