--- bareos-dir --- Linking bareos-dir ... /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib -fstack-protector -L../lib -L../cats -L../findlib -o bareos-dir admin.o archive.o authenticate.o autoprune.o backup.o bsr.o catreq.o consolidate.o dir_plugins.o dird_conf.o dird.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o ndmp_dma_storage.o ndmp_dma_backup_common.o ndmp_dma_backup_NDMP_BAREOS.o ndmp_dma_backup_NDMP_NATIVE.o ndmp_dma_generic.o ndmp_dma_restore_common.o ndmp_dma_restore_NDMP_BAREOS.o ndmp_dma_restore_NDMP_NATIVE.o ndmp_fhdb_common.o ndmp_fhdb_helpers.o ndmp_fhdb_mem.o ndmp_fhdb_lmdb.o ndmp_ndmmedia_db_helpers.o newvol.o next_vol.o quota.o socket_server.o recycle.o restore.o run_conf.o sd_cmds.o scheduler.o stats.o storage.o ua_acl.o ua_audit.o ua_cmds.o ua_configure.o ua_db.o ua_dotcmds.o ua_input.o ua_impexp.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_query.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 -lbareosfind -lbareossql -lbareoscats -lbareoscfg -lbareos -lm -lpthread -lintl -lwrap /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto -L/usr/local/lib -ljansson /usr/bin/ld: warning: libbareos-16.2.7.so, needed by /usr/local/lib/libbareosfind.so, not found (try using -rpath or -rpath-link) admin.o: In function `admin_cleanup(JCR*, int)': admin.c:(.text+0x116): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' admin.c:(.text+0x133): undefined reference to `B_DB::strerror()' archive.o: In function `archive_cleanup(JCR*, int)': archive.c:(.text+0x116): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' archive.c:(.text+0x133): undefined reference to `B_DB::strerror()' autoprune.o: In function `prune_volumes(JCR*, bool, MEDIA_DBR*, STORERES*)': autoprune.c:(.text+0x1e6): undefined reference to `B_DB::_lock_db(char const*, int)' autoprune.c:(.text+0x23e): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' autoprune.c:(.text+0x3fc): undefined reference to `B_DB::get_query_dbids(JCR*, POOL_MEM&, dbid_list&)' autoprune.c:(.text+0x4a3): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' autoprune.c:(.text+0x518): undefined reference to `B_DB::strerror()' autoprune.c:(.text+0x7ee): undefined reference to `B_DB::strerror()' autoprune.c:(.text+0x841): undefined reference to `B_DB::_unlock_db(char const*, int)' backup.o: In function `send_accurate_current_files(JCR*)': backup.c:(.text+0x373): undefined reference to `B_DB::get_base_jobid(JCR*, JOB_DBR*, unsigned int*)' backup.c:(.text+0x3ea): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' backup.c:(.text+0x5f5): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' backup.c:(.text+0x677): undefined reference to `B_DB::create_base_file_list(JCR*, char*)' backup.c:(.text+0x69d): undefined reference to `B_DB::get_base_file_list(JCR*, bool, int (*)(void*, int, char**), void*)' backup.c:(.text+0x6ad): undefined reference to `B_DB::strerror()' backup.c:(.text+0x6dd): undefined reference to `B_DB::open_batch_connection(JCR*)' backup.c:(.text+0x70b): undefined reference to `B_DB::get_file_list(JCR*, char*, bool, bool, int (*)(void*, int, char**), void*)' backup.c:(.text+0x720): undefined reference to `B_DB::strerror()' backup.o: In function `do_native_backup(JCR*)': backup.c:(.text+0x9fe): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' backup.c:(.text+0xa42): undefined reference to `B_DB::strerror()' backup.c:(.text+0xf63): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' backup.c:(.text+0xf74): undefined reference to `B_DB::strerror()' backup.c:(.text+0x102a): undefined reference to `B_DB::write_batch_file_records(JCR*)' backup.c:(.text+0x1045): undefined reference to `B_DB::commit_base_file_attributes_record(JCR*)' backup.c:(.text+0x1056): undefined reference to `B_DB::strerror()' backup.o: In function `native_backup_cleanup(JCR*, int)': backup.c:(.text+0x15a7): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' backup.c:(.text+0x15c4): undefined reference to `B_DB::strerror()' backup.c:(.text+0x161a): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' backup.c:(.text+0x1637): undefined reference to `B_DB::strerror()' backup.o: In function `update_bootstrap_file(JCR*)': backup.c:(.text+0x18af): undefined reference to `B_DB::get_job_volume_parameters(JCR*, unsigned int, VOL_PARAMS**)' backup.c:(.text+0x18d1): undefined reference to `B_DB::strerror()' backup.o: In function `generate_backup_summary(JCR*, CLIENT_DBR*, int, char const*)': backup.c:(.text+0x1e01): undefined reference to `B_DB::get_job_volume_names(JCR*, unsigned int, char*&)' backup.c:(.text+0x1e37): undefined reference to `B_DB::strerror()' backup.c:(.text+0x1ea5): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' backup.c:(.text+0x1ec3): undefined reference to `B_DB::strerror()' bsr.o: In function `complete_bsr(UAContext*, RBSR*)': bsr.c:(.text+0x144): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' bsr.c:(.text+0x17a): undefined reference to `B_DB::get_job_volume_parameters(JCR*, unsigned int, VOL_PARAMS**)' bsr.c:(.text+0x1b3): undefined reference to `B_DB::strerror()' bsr.c:(.text+0x1e1): undefined reference to `B_DB::strerror()' catreq.o: In function `catalog_request(JCR*, BSOCK*)': catreq.c:(.text+0x158): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' catreq.c:(.text+0x313): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' catreq.c:(.text+0x468): undefined reference to `B_DB::_lock_db(char const*, int)' catreq.c:(.text+0x4e7): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' catreq.c:(.text+0x729): undefined reference to `B_DB::create_jobmedia_record(JCR*, JOBMEDIA_DBR*)' catreq.c:(.text+0x87b): undefined reference to `B_DB::strerror()' catreq.c:(.text+0x8b8): undefined reference to `B_DB::strerror()' catreq.c:(.text+0x8fc): undefined reference to `B_DB::strerror()' catreq.c:(.text+0xb00): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' catreq.c:(.text+0xb40): undefined reference to `B_DB::strerror()' catreq.c:(.text+0xbb1): undefined reference to `B_DB::_unlock_db(char const*, int)' catreq.o: In function `update_attribute(JCR*, char*, int)': catreq.c:(.text+0x131a): undefined reference to `B_DB::create_attributes_record(JCR*, ATTR_DBR*)' catreq.c:(.text+0x133e): undefined reference to `B_DB::strerror()' catreq.c:(.text+0x179f): undefined reference to `B_DB::create_restore_object_record(JCR*, ROBJECT_DBR*)' catreq.c:(.text+0x17c0): undefined reference to `B_DB::strerror()' catreq.c:(.text+0x19b5): undefined reference to `B_DB::create_attributes_record(JCR*, ATTR_DBR*)' catreq.c:(.text+0x19d9): undefined reference to `B_DB::strerror()' catreq.c:(.text+0x1a36): undefined reference to `B_DB::add_digest_to_file_record(JCR*, unsigned long, char*, int)' catreq.c:(.text+0x1a53): undefined reference to `B_DB::strerror()' consolidate.o: In function `do_consolidate(JCR*)': consolidate.c:(.text+0x20d): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' consolidate.c:(.text+0x2fd): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' consolidate.c:(.text+0x3e1): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' consolidate.c:(.text+0x5d6): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' consolidate.c:(.text+0x99e): undefined reference to `B_DB::strerror()' consolidate.o: In function `consolidate_cleanup(JCR*, int)': consolidate.c:(.text+0xaa6): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' consolidate.c:(.text+0xac3): undefined reference to `B_DB::strerror()' dir_plugins.o: In function `bareosGetValue(bpContext*, brDirVariable, void*)': dir_plugins.c:(.text+0x1679): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' dird.o: In function `check_catalog(cat_op)': dird.c:(.text+0x14d8): undefined reference to `B_DB::check_max_connections(JCR*, unsigned int)' dird.c:(.text+0x1500): undefined reference to `B_DB::strerror()' dird.c:(.text+0x16b1): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' dird.c:(.text+0x1799): undefined reference to `B_DB::create_mediatype_record(JCR*, MEDIATYPE_DBR*)' dird.c:(.text+0x17d2): undefined reference to `B_DB::create_storage_record(JCR*, STORAGE_DBR*)' dird.c:(.text+0x180b): undefined reference to `B_DB::update_storage_record(JCR*, STORAGE_DBR*)' dird.c:(.text+0x18db): undefined reference to `B_DB::create_counter_record(JCR*, COUNTER_DBR*)' dird.c:(.text+0x1954): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' dird.c:(.text+0x1963): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' dird.c:(.text+0x196b): undefined reference to `B_DB::get_type()' dird.c:(.text+0x1ab2): undefined reference to `B_DB::strerror()' dird.c:(.text+0x1ad0): undefined reference to `B_DB::strerror()' dird.o: In function `dir_db_log_insert(JCR*, long, char*)': dird.c:(.text+0x1d40): undefined reference to `B_DB::sql_query(char const*, int)' expand.o: In function `lookup_var(var_st*, void*, char const*, int, int, int, char const**, int*, int*)': expand.c:(.text+0x8bd): undefined reference to `B_DB::update_counter_record(JCR*, COUNTER_DBR*)' expand.c:(.text+0x8e6): undefined reference to `B_DB::strerror()' fd_cmds.o: In function `send_job_info(JCR*)': fd_cmds.c:(.text+0x4d9): undefined reference to `B_DB::update_client_record(JCR*, CLIENT_DBR*)' fd_cmds.c:(.text+0x4fa): undefined reference to `B_DB::strerror()' fd_cmds.o: In function `send_restore_objects(JCR*, unsigned int, bool)': fd_cmds.c:(.text+0x66c): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' fd_cmds.c:(.text+0x685): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' fd_cmds.c:(.text+0x6a6): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' fd_cmds.c:(.text+0x6bf): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' fd_cmds.c:(.text+0x6ef): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' fd_cmds.c:(.text+0x708): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' fd_cmds.c:(.text+0x74d): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' fd_cmds.c:(.text+0x766): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' fd_cmds.c:(.text+0x792): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' fd_cmds.c:(.text+0x7ab): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' fd_cmds.o: In function `get_attributes_and_put_in_catalog(JCR*)': fd_cmds.c:(.text+0x1978): undefined reference to `B_DB::create_file_attributes_record(JCR*, ATTR_DBR*)' fd_cmds.c:(.text+0x1995): undefined reference to `B_DB::strerror()' fd_cmds.c:(.text+0x1d17): undefined reference to `B_DB::create_file_attributes_record(JCR*, ATTR_DBR*)' fd_cmds.c:(.text+0x1d34): undefined reference to `B_DB::strerror()' job.o: In function `job_thread(void*)': job.c:(.text+0x31c): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' job.c:(.text+0x32c): undefined reference to `B_DB::strerror()' job.c:(.text+0x389): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' job.c:(.text+0x399): undefined reference to `B_DB::strerror()' job.o: In function `setup_job(JCR*, bool)': job.c:(.text+0x13a4): undefined reference to `B_DB::create_job_record(JCR*, JOB_DBR*)' job.c:(.text+0x14b9): undefined reference to `B_DB::strerror()' job.o: In function `get_or_create_client_record(JCR*)': job.c:(.text+0x1b00): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' job.c:(.text+0x1b3d): undefined reference to `B_DB::get_quota_record(JCR*, CLIENT_DBR*)' job.c:(.text+0x1b57): undefined reference to `B_DB::create_quota_record(JCR*, CLIENT_DBR*)' job.c:(.text+0x1b74): undefined reference to `B_DB::strerror()' job.c:(.text+0x1c7b): undefined reference to `B_DB::strerror()' job.o: In function `get_or_create_fileset_record(JCR*)': job.c:(.text+0x1e0c): undefined reference to `B_DB::get_fileset_record(JCR*, FILESET_DBR*)' job.c:(.text+0x1e69): undefined reference to `B_DB::create_fileset_record(JCR*, FILESET_DBR*)' job.c:(.text+0x1ef8): undefined reference to `B_DB::strerror()' job.o: In function `get_level_since_time(JCR*)': job.c:(.text+0x20c4): undefined reference to `B_DB::find_job_start_time(JCR*, JOB_DBR*, char*&, char*)' job.c:(.text+0x20f5): undefined reference to `B_DB::find_last_job_start_time(JCR*, JOB_DBR*, char*&, char*, int)' job.c:(.text+0x21a8): undefined reference to `B_DB::find_last_job_start_time(JCR*, JOB_DBR*, char*&, char*, int)' job.c:(.text+0x2305): undefined reference to `B_DB::strerror()' job.c:(.text+0x23e0): undefined reference to `B_DB::strerror()' job.c:(.text+0x2525): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' job.c:(.text+0x2543): undefined reference to `B_DB::strerror()' job.c:(.text+0x2631): undefined reference to `B_DB::find_failed_job_since(JCR*, JOB_DBR*, char*, int&)' job.o: In function `update_job_end_record(JCR*)': job.c:(.text+0x2da0): undefined reference to `B_DB::update_job_end_record(JCR*, JOB_DBR*)' job.c:(.text+0x2dc2): undefined reference to `B_DB::strerror()' job.o: In function `get_or_create_pool_record(JCR*, char*)': job.c:(.text+0x3066): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' job.c:(.text+0x30ce): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' job.c:(.text+0x30f4): undefined reference to `B_DB::strerror()' migrate.o: In function `do_migration_init(JCR*)': migrate.c:(.text+0x224): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' migrate.c:(.text+0x3b1): undefined reference to `B_DB::strerror()' migrate.o: In function `set_migration_next_pool(JCR*, POOLRES**)': migrate.c:(.text+0x856): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' migrate.c:(.text+0x907): undefined reference to `B_DB::strerror()' migrate.o: In function `do_migration(JCR*)': migrate.c:(.text+0x101d): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' migrate.c:(.text+0x106f): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' migrate.c:(.text+0x1240): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x1263): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x1318): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x1458): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x15ae): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x15cf): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x1a38): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x1a73): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x1b37): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x1cb7): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x1ec1): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x208b): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x22be): undefined reference to `B_DB::write_batch_file_records(JCR*)' migrate.c:(.text+0x2310): undefined reference to `B_DB::strerror()' migrate.o: In function `migration_cleanup(JCR*, int)': migrate.c:(.text+0x2701): undefined reference to `B_DB::sql_query(char const*, int)' migrate.c:(.text+0x276a): undefined reference to `B_DB::sql_query(char const*, int)' migrate.c:(.text+0x27a0): undefined reference to `B_DB::sql_query(char const*, int)' migrate.c:(.text+0x27ee): undefined reference to `B_DB::sql_query(char const*, int)' migrate.c:(.text+0x2858): undefined reference to `B_DB::sql_query(char const*, int)' migrate.o:migrate.c:(.text+0x28a6): more undefined references to `B_DB::sql_query(char const*, int)' follow migrate.o: In function `migration_cleanup(JCR*, int)': migrate.c:(.text+0x291d): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' migrate.c:(.text+0x293b): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x298a): undefined reference to `B_DB::get_job_volume_names(JCR*, unsigned int, char*&)' migrate.c:(.text+0x29bf): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x2a30): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' migrate.c:(.text+0x2a4e): undefined reference to `B_DB::strerror()' migrate.o: In function `regex_find_jobids(JCR*, idpkt*, char const*, char const*, char const*)': migrate.c:(.text+0x3373): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x3484): undefined reference to `B_DB::strerror()' migrate.c:(.text+0x37b8): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x37d9): undefined reference to `B_DB::strerror()' migrate.o: In function `find_mediaid_then_jobids(JCR*, idpkt*, char const*, char const*)': migrate.c:(.text+0x3aeb): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x3b56): undefined reference to `B_DB::strerror()' migrate.o: In function `find_jobids_from_mediaid_list(JCR*, idpkt*, char const*)': migrate.c:(.text+0x3c91): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' migrate.c:(.text+0x3cf1): undefined reference to `B_DB::strerror()' newvol.o: In function `newVolume(JCR*, MEDIA_DBR*, STORERES*)': newvol.c:(.text+0x53): undefined reference to `B_DB::_lock_db(char const*, int)' newvol.c:(.text+0x72): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' newvol.c:(.text+0x155): undefined reference to `B_DB::create_media_record(JCR*, MEDIA_DBR*)' newvol.c:(.text+0x173): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' newvol.c:(.text+0x2bf): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' newvol.c:(.text+0x2e4): undefined reference to `B_DB::strerror()' newvol.c:(.text+0x319): undefined reference to `B_DB::_unlock_db(char const*, int)' newvol.c:(.text+0x3fe): undefined reference to `B_DB::strerror()' newvol.c:(.text+0x4b1): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' next_vol.o: In function `find_next_volume_for_append(JCR*, MEDIA_DBR*, int, char const*, bool, bool)': next_vol.c:(.text+0xc4): undefined reference to `B_DB::_lock_db(char const*, int)' next_vol.c:(.text+0x158): undefined reference to `B_DB::find_next_volume(JCR*, int, bool, MEDIA_DBR*, char const*)' next_vol.c:(.text+0x41d): undefined reference to `B_DB::find_next_volume(JCR*, int, bool, MEDIA_DBR*, char const*)' next_vol.c:(.text+0x629): undefined reference to `B_DB::_unlock_db(char const*, int)' next_vol.o: In function `get_scratch_volume(JCR*, bool, MEDIA_DBR*, STORERES*)': next_vol.c:(.text+0x70f): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' next_vol.c:(.text+0x7a0): undefined reference to `B_DB::find_next_volume(JCR*, int, bool, MEDIA_DBR*, char const*)' next_vol.c:(.text+0x84d): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' next_vol.c:(.text+0x8da): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' next_vol.c:(.text+0x924): undefined reference to `B_DB::strerror()' next_vol.c:(.text+0x95c): undefined reference to `B_DB::strerror()' next_vol.o: In function `has_volume_expired(JCR*, MEDIA_DBR*)': next_vol.c:(.text+0xcb5): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' next_vol.c:(.text+0xce3): undefined reference to `B_DB::strerror()' quota.o: In function `check_hardquotas(JCR*)': quota.c:(.text+0x20b): undefined reference to `B_DB::get_quota_jobbytes(JCR*, JOB_DBR*, long)' quota.c:(.text+0x21e): undefined reference to `B_DB::get_quota_jobbytes_nofailed(JCR*, JOB_DBR*, long)' quota.c:(.text+0x291): undefined reference to `B_DB::strerror()' quota.o: In function `check_softquotas(JCR*)': quota.c:(.text+0x36b): undefined reference to `B_DB::get_quota_jobbytes(JCR*, JOB_DBR*, long)' quota.c:(.text+0x39e): undefined reference to `B_DB::get_quota_jobbytes_nofailed(JCR*, JOB_DBR*, long)' quota.c:(.text+0x5f0): undefined reference to `B_DB::reset_quota_record(JCR*, CLIENT_DBR*)' quota.c:(.text+0x648): undefined reference to `B_DB::strerror()' quota.c:(.text+0x6a9): undefined reference to `B_DB::update_quota_gracetime(JCR*, JOB_DBR*)' quota.c:(.text+0x6ee): undefined reference to `B_DB::strerror()' quota.c:(.text+0x77a): undefined reference to `B_DB::strerror()' quota.c:(.text+0x7dd): undefined reference to `B_DB::update_quota_softlimit(JCR*, JOB_DBR*)' quota.c:(.text+0x7fb): undefined reference to `B_DB::strerror()' recycle.o: In function `find_recycled_volume(JCR*, bool, MEDIA_DBR*, STORERES*, char const*)': recycle.c:(.text+0x58): undefined reference to `B_DB::find_next_volume(JCR*, int, bool, MEDIA_DBR*, char const*)' recycle.o: In function `recycle_oldest_purged_volume(JCR*, bool, MEDIA_DBR*, STORERES*, char const*)': recycle.c:(.text+0x12c): undefined reference to `B_DB::find_next_volume(JCR*, int, bool, MEDIA_DBR*, char const*)' recycle.c:(.text+0x1df): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' recycle.o: In function `recycle_volume(JCR*, MEDIA_DBR*)': recycle.c:(.text+0x309): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' restore.o: In function `do_native_restore(JCR*)': restore.c:(.text+0x12f): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' restore.c:(.text+0x23b): undefined reference to `B_DB::strerror()' stats.o: In function `statistics_thread_runner': stats.c:(.text+0x38f): undefined reference to `B_DB::create_device_statistics(JCR*, DEVICE_STATS_DBR*)' stats.c:(.text+0x493): undefined reference to `B_DB::create_tapealert_statistics(JCR*, TAPEALERT_STATS_DBR*)' stats.c:(.text+0x5b8): undefined reference to `B_DB::create_job_statistics(JCR*, JOB_STATS_DBR*)' stats.o: In function `lookup_device(JCR*, char const*, unsigned int, unsigned int*)': stats.c:(.text+0xbba): undefined reference to `B_DB::create_device_record(JCR*, DEVICE_DBR*)' ua_acl.o: In function `UAContext::GetStoreResWithId(unsigned int, bool, bool)': ua_acl.c:(.text+0x9c3): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_cmds.o: In function `add_cmd(UAContext*, char const*)': ua_cmds.c:(.text+0x7bc): undefined reference to `B_DB::create_media_record(JCR*, MEDIA_DBR*)' ua_cmds.c:(.text+0x818): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_cmds.c:(.text+0x84b): undefined reference to `B_DB::strerror()' ua_cmds.c:(.text+0x86b): undefined reference to `B_DB::strerror()' ua_cmds.o: In function `create_cmd(UAContext*, char const*)': ua_cmds.c:(.text+0xae7): undefined reference to `B_DB::strerror()' ua_cmds.o: In function `truncate_cmd(UAContext*, char const*)': ua_cmds.c:(.text+0x28dc): undefined reference to `B_DB::prepare_media_sql_query(JCR*, MEDIA_DBR*, POOL_MEM*, POOL_MEM&)' ua_cmds.c:(.text+0x2911): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, char const*, bool)' ua_cmds.c:(.text+0x2930): undefined reference to `B_DB::get_query_dbids(JCR*, POOL_MEM&, dbid_list&)' ua_cmds.c:(.text+0x2959): undefined reference to `B_DB::verify_media_ids_from_single_storage(JCR*, dbid_list&)' ua_cmds.c:(.text+0x2989): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_cmds.c:(.text+0x2af2): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_cmds.c:(.text+0x2b62): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_cmds.c:(.text+0x2b8a): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_cmds.o: In function `wait_cmd(UAContext*, char const*)': ua_cmds.c:(.text+0x3312): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_cmds.o: In function `delete_volume(UAContext*)': ua_cmds.c:(.text+0x42b9): undefined reference to `B_DB::get_volume_jobids(JCR*, MEDIA_DBR*, db_list_ctx*)' ua_cmds.c:(.text+0x42ec): undefined reference to `B_DB::delete_media_record(JCR*, MEDIA_DBR*)' ua_cmds.o: In function `delete_pool(UAContext*)': ua_cmds.c:(.text+0x4409): undefined reference to `B_DB::delete_pool_record(JCR*, POOL_DBR*)' ua_db.o: In function `create_pool(JCR*, B_DB*, POOLRES*, e_pool_op)': ua_db.c:(.text+0x4c6): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_db.c:(.text+0x509): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_db.c:(.text+0x542): undefined reference to `B_DB::create_pool_record(JCR*, POOL_DBR*)' ua_db.o: In function `set_pooldbr_references(JCR*, B_DB*, POOL_DBR*, POOLRES*)': ua_db.c:(.text+0x77a): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_db.c:(.text+0x838): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_db.o: In function `update_pool_references(JCR*, B_DB*, POOLRES*)': ua_db.c:(.text+0xa15): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_db.c:(.text+0xa5a): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_dotcmds.o: In function `dot_bvfs_update_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x14f): undefined reference to `B_DB::bvfs_update_path_hierarchy_cache(JCR*, char*)' ua_dotcmds.c:(.text+0x179): undefined reference to `B_DB::bvfs_update_cache(JCR*)' ua_dotcmds.o: In function `bvfs_validate_jobids(UAContext*, char const*, POOL_MEM&, bool)': ua_dotcmds.c:(.text+0x7ac): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_dotcmds.c:(.text+0x7ec): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_dotcmds.o: In function `dot_bvfs_versions_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x1375): undefined reference to `Bvfs::get_all_file_versions(unsigned int, char const*, char const*)' ua_dotcmds.c:(.text+0x13d9): undefined reference to `Bvfs::get_all_file_versions(char const*, char const*, char const*)' ua_dotcmds.o: In function `dot_bvfs_get_jobids_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x1577): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_dotcmds.c:(.text+0x15f2): undefined reference to `B_DB::strerror()' ua_dotcmds.c:(.text+0x164d): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_dotcmds.c:(.text+0x1668): undefined reference to `B_DB::get_query_dbids(JCR*, POOL_MEM&, dbid_list&)' ua_dotcmds.c:(.text+0x16fb): undefined reference to `B_DB::get_fileset_record(JCR*, FILESET_DBR*)' ua_dotcmds.c:(.text+0x1744): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' ua_dotcmds.o: In function `dot_jobstatus_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x1d1b): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_dotcmds.c:(.text+0x1d5b): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_dotcmds.o: In function `dot_sql_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x291e): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_dotcmds.c:(.text+0x296b): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_dotcmds.c:(.text+0x2983): undefined reference to `B_DB::strerror()' ua_dotcmds.c:(.text+0x29be): undefined reference to `B_DB::strerror()' ua_dotcmds.o: In function `dot_mediatypes_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x2b68): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_dotcmds.c:(.text+0x2b82): undefined reference to `B_DB::strerror()' ua_dotcmds.o: In function `dot_media_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x2c48): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_dotcmds.c:(.text+0x2c62): undefined reference to `B_DB::strerror()' ua_dotcmds.o: In function `dot_locations_cmd(UAContext*, char const*)': ua_dotcmds.c:(.text+0x2e18): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_dotcmds.c:(.text+0x2e32): undefined reference to `B_DB::strerror()' ua_label.o: In function `send_label_request(UAContext*, STORERES*, MEDIA_DBR*, MEDIA_DBR*, POOL_DBR*, bool, bool, short, short)': ua_label.c:(.text+0xaf): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x26c): undefined reference to `B_DB::create_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x2ae): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_label.c:(.text+0x2c2): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0x2d0): undefined reference to `B_DB::strerror()' ua_label.o: In function `do_label(UAContext*, char const*, bool)': ua_label.c:(.text+0x90d): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x988): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x9a6): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0xb14): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0xb25): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0xc6f): undefined reference to `B_DB::create_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0xcae): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_label.c:(.text+0xcbf): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0xcef): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0xd50): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0xd5d): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0xf51): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x10e2): undefined reference to `B_DB::delete_media_record(JCR*, MEDIA_DBR*)' ua_label.c:(.text+0x1125): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_label.c:(.text+0x1136): undefined reference to `B_DB::strerror()' ua_label.c:(.text+0x11ac): undefined reference to `B_DB::strerror()' ua_output.o: In function `do_list_cmd(UAContext*, char const*, e_list_type)': ua_output.c:(.text+0xfe6): undefined reference to `B_DB::list_job_totals(JCR*, JOB_DBR*, OUTPUT_FORMATTER*)' ua_output.c:(.text+0x116f): undefined reference to `B_DB::list_job_records(JCR*, JOB_DBR*, char const*, char const*, int, int, char const*, long, bool, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1425): undefined reference to `B_DB::list_job_records(JCR*, JOB_DBR*, char const*, char const*, int, int, char const*, long, bool, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x14a4): undefined reference to `B_DB::list_base_files_for_job(JCR*, unsigned int, OUTPUT_FORMATTER*)' ua_output.c:(.text+0x14e2): undefined reference to `B_DB::list_files_for_job(JCR*, unsigned int, OUTPUT_FORMATTER*)' ua_output.c:(.text+0x15e6): undefined reference to `B_DB::list_filesets(JCR*, JOB_DBR*, char const*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1651): undefined reference to `B_DB::list_jobmedia_records(JCR*, unsigned int, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x171d): undefined reference to `B_DB::list_filesets(JCR*, JOB_DBR*, char const*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x177d): undefined reference to `B_DB::list_joblog_records(JCR*, unsigned int, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1930): undefined reference to `B_DB::list_pool_records(JCR*, POOL_DBR*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1a2e): undefined reference to `B_DB::list_log_records(JCR*, char const*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1b0c): undefined reference to `B_DB::list_client_records(JCR*, char*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1bfb): undefined reference to `B_DB::list_client_records(JCR*, char*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x1ce4): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, char const*, bool)' ua_output.c:(.text+0x1d6b): undefined reference to `B_DB::get_job_volume_names(JCR*, unsigned int, char*&)' ua_output.c:(.text+0x1e26): undefined reference to `B_DB::list_media_records(JCR*, MEDIA_DBR*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x2044): undefined reference to `B_DB::list_media_records(JCR*, MEDIA_DBR*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x2144): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_output.c:(.text+0x23b7): undefined reference to `B_DB::list_copies_records(JCR*, char const*, char const*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x2468): undefined reference to `B_DB::list_media_records(JCR*, MEDIA_DBR*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x2631): undefined reference to `B_DB::list_jobstatistics_records(JCR*, unsigned int, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x2653): undefined reference to `B_DB::get_pool_ids(JCR*, int*, unsigned int**)' ua_output.c:(.text+0x26c0): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_output.c:(.text+0x2752): undefined reference to `B_DB::list_media_records(JCR*, MEDIA_DBR*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x27cd): undefined reference to `B_DB::list_copies_records(JCR*, char const*, char const*, OUTPUT_FORMATTER*, e_list_type)' ua_output.c:(.text+0x282b): undefined reference to `B_DB::strerror()' ua_output.c:(.text+0x2e3e): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_output.c:(.text+0x2e4e): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_output.c:(.text+0x3042): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, char const*, bool)' ua_output.o: In function `complete_jcr_for_job(JCR*, JOBRES*, POOLRES*)': ua_output.c:(.text+0x363a): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_output.c:(.text+0x369e): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_output.c:(.text+0x3700): undefined reference to `B_DB::strerror()' ua_output.o: In function `get_jobid_from_cmdline(UAContext*)': ua_output.c:(.text+0x44de): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_output.c:(.text+0x4533): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_output.c:(.text+0x458b): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_prune.o: In function `prune_cmd(UAContext*, char const*)': ua_prune.c:(.text+0x45a): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x498): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x4ac): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.c:(.text+0x4ee): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x51b): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x52f): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.c:(.text+0x55d): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x58a): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x59e): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.c:(.text+0x955): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' ua_prune.c:(.text+0x9af): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x9c2): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x9d6): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.c:(.text+0xa5f): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0xa72): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0xa86): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.o: In function `prune_files(UAContext*, CLIENTRES*, POOLRES*)': ua_prune.c:(.text+0xc09): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0xca1): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0xd46): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0xd8f): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0xe05): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.o: In function `prune_jobs(UAContext*, CLIENTRES*, POOLRES*, int)': ua_prune.c:(.text+0x100f): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x103f): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_prune.c:(.text+0x1050): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_prune.c:(.text+0x1069): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_prune.c:(.text+0x1149): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x11ad): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0x11bb): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x124b): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' ua_prune.c:(.text+0x1297): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x12f0): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x1351): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x13b3): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0x13c1): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x142b): undefined reference to `B_DB::get_used_base_jobids(JCR*, char*, db_list_ctx*)' ua_prune.c:(.text+0x1458): undefined reference to `B_DB::sql_query(char const*, int)' ua_prune.c:(.text+0x14bb): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0x14c9): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x152c): undefined reference to `B_DB::strerror()' ua_prune.c:(.text+0x159b): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_prune.c:(.text+0x15af): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.o: In function `prune_volume(UAContext*, MEDIA_DBR*)': ua_prune.c:(.text+0x180c): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x18d5): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.o: In function `prune_set_filter(UAContext*, CLIENTRES*, POOLRES*, long, POOL_MEM*, POOL_MEM*)': ua_prune.c:(.text+0x1a1d): undefined reference to `B_DB::_lock_db(char const*, int)' ua_prune.c:(.text+0x1b87): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_prune.o: In function `get_prune_list_for_volume(UAContext*, MEDIA_DBR*, del_ctx*)': ua_prune.c:(.text+0x1ca6): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_prune.c:(.text+0x1d2d): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_prune.c:(.text+0x1d57): undefined reference to `B_DB::strerror()' ua_purge.o: In function `purge_cmd(UAContext*, char const*)': ua_purge.c:(.text+0x7ba): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_purge.c:(.text+0x83b): undefined reference to `B_DB::get_media_ids(JCR*, MEDIA_DBR*, POOL_MEM&, int*, unsigned int**)' ua_purge.c:(.text+0x8c7): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_purge.c:(.text+0xae4): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_purge.o: In function `purge_files_from_jobs(UAContext*, char*)': ua_purge.c:(.text+0xdaa): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0xdf4): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0xe3e): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.o: In function `purge_files_from_client(UAContext*, CLIENTRES*)': ua_purge.c:(.text+0xf2a): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' ua_purge.c:(.text+0xff7): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_purge.o: In function `purge_jobs_from_client(UAContext*, CLIENTRES*)': ua_purge.c:(.text+0x119a): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' ua_purge.c:(.text+0x1285): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_purge.o: In function `purge_jobs_from_volume(UAContext*, MEDIA_DBR*, bool)': ua_purge.c:(.text+0x14a8): undefined reference to `B_DB::get_volume_jobids(JCR*, MEDIA_DBR*, db_list_ctx*)' ua_purge.c:(.text+0x1508): undefined reference to `B_DB::strerror()' ua_purge.o: In function `purge_quota_from_client(UAContext*, CLIENTRES*)': ua_purge.c:(.text+0x165d): undefined reference to `B_DB::create_client_record(JCR*, CLIENT_DBR*)' ua_purge.c:(.text+0x1675): undefined reference to `B_DB::create_quota_record(JCR*, CLIENT_DBR*)' ua_purge.c:(.text+0x168d): undefined reference to `B_DB::reset_quota_record(JCR*, CLIENT_DBR*)' ua_purge.o: In function `purge_jobs_from_catalog(UAContext*, char*)': ua_purge.c:(.text+0x1945): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x198f): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x19d9): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x1a23): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x1a6d): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.o:ua_purge.c:(.text+0x1ab7): more undefined references to `B_DB::sql_query(char const*, int)' follow ua_purge.o: In function `upgrade_copies(UAContext*, char*)': ua_purge.c:(.text+0x1d7b): undefined reference to `B_DB::_lock_db(char const*, int)' ua_purge.c:(.text+0x1d9a): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_purge.c:(.text+0x1da9): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x1df0): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x1e0f): undefined reference to `B_DB::sql_query(char const*, int)' ua_purge.c:(.text+0x1e22): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_purge.o: In function `is_volume_purged(UAContext*, MEDIA_DBR*, bool)': ua_purge.c:(.text+0x1f1d): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_purge.c:(.text+0x1f34): undefined reference to `B_DB::strerror()' ua_purge.c:(.text+0x1fd8): undefined reference to `B_DB::strerror()' ua_purge.o: In function `mark_media_purged(UAContext*, MEDIA_DBR*)': ua_purge.c:(.text+0x20c1): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_purge.c:(.text+0x2156): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_purge.c:(.text+0x216d): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_purge.c:(.text+0x21ab): undefined reference to `B_DB::strerror()' ua_query.o: In function `query_cmd(UAContext*, char const*)': ua_query.c:(.text+0x39f): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_query.c:(.text+0x3bc): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_query.c:(.text+0x520): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_query.c:(.text+0x55b): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_query.o: In function `sqlquery_cmd(UAContext*, char const*)': ua_query.c:(.text+0xbf4): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.o: In function `restore_cmd(UAContext*, char const*)': ua_restore.c:(.text+0x900): undefined reference to `B_DB::list_sql_query(JCR*, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.c:(.text+0xb43): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0xb94): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.c:(.text+0xc64): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.c:(.text+0xd02): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_restore.c:(.text+0xd5b): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' ua_restore.c:(.text+0x1129): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x123b): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_restore.c:(.text+0x1386): undefined reference to `B_DB::get_used_base_jobids(JCR*, char*, db_list_ctx*)' ua_restore.c:(.text+0x1393): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x140b): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x1432): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.c:(.text+0x151e): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x1541): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x1555): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x15f4): undefined reference to `B_DB::get_file_list(JCR*, char*, bool, bool, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x1608): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x16a0): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x16b4): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x19a6): undefined reference to `B_DB::strerror()' ua_restore.o: In function `get_client_name(UAContext*, RESTORE_CTX*)': ua_restore.c:(.text+0x248b): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_restore.o: In function `insert_one_file_or_dir(UAContext*, RESTORE_CTX*, char*, bool)': ua_restore.c:(.text+0x2b3d): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2b5d): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x2b82): undefined reference to `B_DB::strerror()' ua_restore.o: In function `select_backups_before_date(UAContext*, RESTORE_CTX*, char*)': ua_restore.c:(.text+0x2d08): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2d18): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2d28): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2d35): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x2d5a): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2d67): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x2e49): undefined reference to `B_DB::get_fileset_record(JCR*, FILESET_DBR*)' ua_restore.c:(.text+0x2e67): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x2eb2): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x2edf): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x2eec): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x2f6e): undefined reference to `B_DB::get_fileset_record(JCR*, FILESET_DBR*)' ua_restore.c:(.text+0x2f88): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3023): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_restore.c:(.text+0x30d1): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x30e4): undefined reference to `B_DB::sql_query(char const*, int)' ua_restore.c:(.text+0x30f1): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3115): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x3124): undefined reference to `B_DB::sql_query(char const*, int)' ua_restore.c:(.text+0x313c): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x315e): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x3176): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x3183): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3207): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x321a): undefined reference to `B_DB::sql_query(char const*, int)' ua_restore.c:(.text+0x3227): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3256): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x326e): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x327b): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x32fe): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x3311): undefined reference to `B_DB::sql_query(char const*, int)' ua_restore.c:(.text+0x331e): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3352): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x336a): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x3377): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x33dc): undefined reference to `B_DB::list_copies_records(JCR*, char const*, char const*, OUTPUT_FORMATTER*, e_list_type)' ua_restore.c:(.text+0x340a): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x3435): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x345d): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x346d): undefined reference to `B_DB::sql_query(B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x356c): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x3584): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x3591): undefined reference to `B_DB::strerror()' ua_restore.c:(.text+0x35d3): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x35f5): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_restore.o: In function `insert_dir_into_findex_list(UAContext*, RESTORE_CTX*, char*, char*)': ua_restore.c:(.text+0x3719): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x3738): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x3756): undefined reference to `B_DB::strerror()' ua_restore.o: In function `insert_file_into_findex_list(UAContext*, RESTORE_CTX*, char*, char*)': ua_restore.c:(.text+0x3981): undefined reference to `B_DB::fill_query(char*&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_restore.c:(.text+0x39a7): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' ua_restore.c:(.text+0x39c6): undefined reference to `B_DB::strerror()' ua_run.o: In function `rerun_cmd(UAContext*, char const*)': ua_run.c:(.text+0x37c): undefined reference to `B_DB::get_query_dbids(JCR*, POOL_MEM&, dbid_list&)' ua_run.o: In function `rerun_job(UAContext*, unsigned int, bool, long)': ua_run.c:(.text+0x562): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_run.c:(.text+0x5d2): undefined reference to `B_DB::strerror()' ua_run.c:(.text+0x66b): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_run.c:(.text+0x6d6): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_run.c:(.text+0x762): undefined reference to `B_DB::strerror()' ua_run.c:(.text+0x79b): undefined reference to `B_DB::strerror()' ua_run.c:(.text+0x8e1): undefined reference to `B_DB::get_fileset_record(JCR*, FILESET_DBR*)' ua_run.c:(.text+0x9bf): undefined reference to `B_DB::strerror()' ua_run.o: In function `do_run_cmd(UAContext*, char const*)': ua_run.c:(.text+0x25b0): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_run.c:(.text+0x463c): undefined reference to `B_DB::strerror()' ua_select.o: In function `get_client_dbr(UAContext*, CLIENT_DBR*)': ua_select.c:(.text+0x1a0b): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_select.c:(.text+0x1a36): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x1ae0): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_select.c:(.text+0x1b03): undefined reference to `B_DB::strerror()' ua_select.o: In function `select_client_dbr(UAContext*, CLIENT_DBR*)': ua_select.c:(.text+0x1b83): undefined reference to `B_DB::get_client_ids(JCR*, int*, unsigned int**)' ua_select.c:(.text+0x1c4c): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_select.c:(.text+0x1d0e): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' ua_select.c:(.text+0x1d44): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x1d96): undefined reference to `B_DB::strerror()' ua_select.o: In function `get_storage_dbr(UAContext*, STORAGE_DBR*, char const*)': ua_select.c:(.text+0x1e0e): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_select.c:(.text+0x1e4f): undefined reference to `B_DB::strerror()' ua_select.o: In function `select_storage_dbr(UAContext*, STORAGE_DBR*, char const*)': ua_select.c:(.text+0x1f2a): undefined reference to `B_DB::get_storage_ids(JCR*, int*, unsigned int**)' ua_select.c:(.text+0x201c): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_select.c:(.text+0x211c): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_select.c:(.text+0x2156): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x21be): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_select.c:(.text+0x21e0): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x2215): undefined reference to `B_DB::strerror()' ua_select.o: In function `get_pool_dbr(UAContext*, POOL_DBR*, char const*)': ua_select.c:(.text+0x228e): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_select.c:(.text+0x22cf): undefined reference to `B_DB::strerror()' ua_select.o: In function `select_pool_dbr(UAContext*, POOL_DBR*, char const*)': ua_select.c:(.text+0x23aa): undefined reference to `B_DB::get_pool_ids(JCR*, int*, unsigned int**)' ua_select.c:(.text+0x249c): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_select.c:(.text+0x257c): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_select.c:(.text+0x25b6): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x261e): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_select.c:(.text+0x2640): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x2675): undefined reference to `B_DB::strerror()' ua_select.o: In function `select_pool_and_media_dbr(UAContext*, POOL_DBR*, MEDIA_DBR*)': ua_select.c:(.text+0x2703): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_select.c:(.text+0x274f): undefined reference to `B_DB::strerror()' ua_select.o: In function `select_media_dbr(UAContext*, MEDIA_DBR*)': ua_select.c:(.text+0x289b): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_select.c:(.text+0x28ae): undefined reference to `B_DB::strerror()' ua_select.c:(.text+0x2923): undefined reference to `B_DB::list_media_records(JCR*, MEDIA_DBR*, char const*, bool, OUTPUT_FORMATTER*, e_list_type)' ua_select.o: In function `select_job_dbr(UAContext*, JOB_DBR*)': ua_select.c:(.text+0x2cb6): undefined reference to `B_DB::list_job_records(JCR*, JOB_DBR*, char const*, char const*, int, int, char const*, long, bool, bool, OUTPUT_FORMATTER*, e_list_type)' ua_select.c:(.text+0x2cec): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_select.c:(.text+0x2cfe): undefined reference to `B_DB::strerror()' ua_select.o: In function `get_job_dbr(UAContext*, JOB_DBR*)': ua_select.c:(.text+0x2dec): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_select.c:(.text+0x2e0f): undefined reference to `B_DB::strerror()' ua_status.o: In function `status_cmd(UAContext*, char const*)': ua_status.c:(.text+0x22c8): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_status.c:(.text+0x2300): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_status.o: In function `content_send_info_api(UAContext*, char, int, char*)': ua_status.c:(.text+0x385a): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_status.c:(.text+0x3882): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_status.o: In function `content_send_info_json(UAContext*, char const*, int, char*)': ua_status.c:(.text+0x3a14): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_status.c:(.text+0x3a43): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_tree.o: In function `estimatecmd(UAContext*, TREE_CTX*)': ua_tree.c:(.text+0xa37): undefined reference to `B_DB::get_file_attributes_record(JCR*, char*, JOB_DBR*, FILE_DBR*)' ua_tree.o: In function `set_extract(UAContext*, s_tree_node*, TREE_CTX*, bool)': ua_tree.c:(.text+0x1b6f): undefined reference to `B_DB::get_file_attributes_record(JCR*, char*, JOB_DBR*, FILE_DBR*)' ua_tree.o: In function `do_dircmd(UAContext*, TREE_CTX*, bool)': ua_tree.c:(.text+0x2005): undefined reference to `B_DB::get_file_attributes_record(JCR*, char*, JOB_DBR*, FILE_DBR*)' ua_update.o: In function `update_cmd(UAContext*, char const*)': ua_update.c:(.text+0x22e): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' ua_update.c:(.text+0x383): undefined reference to `B_DB::update_stats(JCR*, long)' ua_update.c:(.text+0x3ca): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x635): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x646): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x66f): undefined reference to `B_DB::update_stats(JCR*, long)' ua_update.o: In function `update_volume(UAContext*)': ua_update.c:(.text+0x921): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x9c6): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0xa10): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0xa4c): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x1156): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x136c): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x13f9): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x141a): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x14cc): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x151a): undefined reference to `B_DB::get_storage_record(JCR*, STORAGE_DBR*)' ua_update.c:(.text+0x1568): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x1693): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_pool(UAContext*)': ua_update.c:(.text+0x180c): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x1828): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x186a): undefined reference to `B_DB::fill_query(POOL_MEM&, B_DB_QUERY_ENUM_CLASS::SQL_QUERY_ENUM, ...)' ua_update.c:(.text+0x1891): undefined reference to `B_DB::list_sql_query(JCR*, char const*, OUTPUT_FORMATTER*, e_list_type, bool)' ua_update.o: In function `update_slots(UAContext*)': ua_update.c:(.text+0x1b1e): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x1d5b): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x1d6f): undefined reference to `B_DB::make_inchanger_unique(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x1d82): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.c:(.text+0x1de7): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x1e41): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x1fb6): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x1fec): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x2014): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.c:(.text+0x2075): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x20be): undefined reference to `B_DB::make_inchanger_unique(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x20d6): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_vol_pool(UAContext*, char*, MEDIA_DBR*, POOL_DBR*)': ua_update.c:(.text+0x2289): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x22da): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x231c): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x232a): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x235b): undefined reference to `B_DB::update_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x2369): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x238a): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x23b3): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_vol_recyclepool(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x24ec): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x253e): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x256a): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x2592): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_vol_storage(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x26c4): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x2716): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x2723): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x274b): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_slots_from_vol_list(UAContext*, STORERES*, changer_vol_list_t*, char*)': ua_update.c:(.text+0x290d): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x291d): undefined reference to `B_DB::make_inchanger_unique(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x2930): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.c:(.text+0x29a6): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x2a03): undefined reference to `B_DB::get_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x2ab8): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x2ac5): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x2b40): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_inchanger_for_export(UAContext*, STORERES*, changer_vol_list_t*, char*)': ua_update.c:(.text+0x2ced): undefined reference to `B_DB::_lock_db(char const*, int)' ua_update.c:(.text+0x2cfd): undefined reference to `B_DB::make_inchanger_unique(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x2d10): undefined reference to `B_DB::_unlock_db(char const*, int)' ua_update.o: In function `update_volstatus(UAContext*, char const*, MEDIA_DBR*)': ua_update.c:(.text+0x2f13): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x2f3f): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volretention(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3085): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x30e7): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_voluseduration(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3215): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x3277): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volmaxjobs(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3368): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x3394): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volmaxfiles(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3478): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x34a4): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volmaxbytes(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x35c2): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x3620): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volrecycle(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3721): undefined reference to `B_DB::sql_query(char const*, int)' ua_update.c:(.text+0x376c): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volslot(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3857): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x38a7): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x38d2): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3910): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_vol_from_pool(UAContext*, MEDIA_DBR*)': ua_update.c:(.text+0x39a4): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x39ed): undefined reference to `B_DB::update_media_defaults(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3a27): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_all_vols_from_pool(UAContext*, char const*)': ua_update.c:(.text+0x3b05): undefined reference to `B_DB::update_media_defaults(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3b3e): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_volenabled(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3bb2): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3bf5): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_vol_actiononpurge(UAContext*, char*, MEDIA_DBR*)': ua_update.c:(.text+0x3c6a): undefined reference to `B_DB::update_media_record(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3cb5): undefined reference to `B_DB::strerror()' ua_update.o: In function `update_all_vols(UAContext*)': ua_update.c:(.text+0x3d6f): undefined reference to `B_DB::get_pool_ids(JCR*, int*, unsigned int**)' ua_update.c:(.text+0x3db6): undefined reference to `B_DB::get_pool_record(JCR*, POOL_DBR*)' ua_update.c:(.text+0x3e02): undefined reference to `B_DB::update_media_defaults(JCR*, MEDIA_DBR*)' ua_update.c:(.text+0x3e42): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x3e6d): undefined reference to `B_DB::strerror()' ua_update.c:(.text+0x3ecd): undefined reference to `B_DB::strerror()' vbackup.o: In function `do_native_vbackup_init(JCR*)': vbackup.c:(.text+0x100): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' vbackup.c:(.text+0x110): undefined reference to `B_DB::strerror()' vbackup.o: In function `do_native_vbackup(JCR*)': vbackup.c:(.text+0x546): undefined reference to `B_DB::accurate_get_jobids(JCR*, JOB_DBR*, db_list_ctx*)' vbackup.c:(.text+0x68c): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' vbackup.c:(.text+0x749): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' vbackup.c:(.text+0x7d4): undefined reference to `B_DB::open_batch_connection(JCR*)' vbackup.c:(.text+0x800): undefined reference to `B_DB::get_file_list(JCR*, char*, bool, bool, int (*)(void*, int, char**), void*)' vbackup.c:(.text+0x810): undefined reference to `B_DB::strerror()' vbackup.c:(.text+0x978): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' vbackup.c:(.text+0x9e2): undefined reference to `B_DB::write_batch_file_records(JCR*)' vbackup.c:(.text+0xaaa): undefined reference to `B_DB::strerror()' vbackup.c:(.text+0xb47): undefined reference to `B_DB::strerror()' vbackup.o: In function `native_vbackup_cleanup(JCR*, int, int)': vbackup.c:(.text+0xd06): undefined reference to `B_DB::sql_query(char const*, int)' vbackup.c:(.text+0xd1c): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' vbackup.c:(.text+0xd39): undefined reference to `B_DB::strerror()' vbackup.c:(.text+0xd8f): undefined reference to `B_DB::get_client_record(JCR*, CLIENT_DBR*)' vbackup.c:(.text+0xdac): undefined reference to `B_DB::strerror()' verify.o: In function `do_verify(JCR*)': verify.c:(.text+0x1c6): undefined reference to `B_DB::find_last_jobid(JCR*, char const*, JOB_DBR*)' verify.c:(.text+0x214): undefined reference to `B_DB::get_job_record(JCR*, JOB_DBR*)' verify.c:(.text+0x2bd): undefined reference to `B_DB::strerror()' verify.c:(.text+0x342): undefined reference to `B_DB::update_job_start_record(JCR*, JOB_DBR*)' verify.c:(.text+0x4b5): undefined reference to `B_DB::strerror()' verify.c:(.text+0x896): undefined reference to `B_DB::write_batch_file_records(JCR*)' verify.o: In function `get_attributes_and_compare_to_catalog(JCR*, unsigned int)': verify.c:(.text+0x12e6): undefined reference to `B_DB::get_file_attributes_record(JCR*, char*, JOB_DBR*, FILE_DBR*)' verify.c:(.text+0x130b): undefined reference to `B_DB::mark_file_record(JCR*, unsigned long, unsigned int)' verify.c:(.text+0x1d87): undefined reference to `B_DB::sql_query(char const*, int (*)(void*, int, char**), void*)' c++: error: linker command failed with exit code 1 (use -v to see invocation) *** [bareos-dir] Error code 1 make[3]: stopped in /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5/src/dird 1 error make[3]: stopped in /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5/src/dird ====== Error in /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5/src/dird ====== *** [all] Error code 1 make[2]: stopped in /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5 1 error make[2]: stopped in /usr/ports/sysutils/bareos-server/work/bareos-Release-17.2.5 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/sysutils/bareos-server *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/bareos-server ===>>> make build failed for sysutils/bareos-server ===>>> Aborting update