首页 > 解决方案 > 有人可以帮我解决 DBUpdater.cpp 错误吗?

问题描述

我的知识还不够,但是当我尝试在最新状态下编译 Core 时,我可以在这里向您发送我的控制台输出。

有人可以帮我解决这个问题吗?

服务器:Debian GNU/Linux 10 (buster)

Debian clang 版本 13.0.0

AzerothCore 最新提交: https ://github.com/azerothcore/azerothcore-wotlk/commit/2e829144c36d4060dc1fc806ffa8a14879ecc8ce

    /usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdaterUtil::CheckExecutable()':
DBUpdater.cpp:(.text+0x278): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text+0x294): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text+0x31c): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text+0x336): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text+0x453): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `std::filesystem::__cxx11::path::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)':
DBUpdater.cpp:(.text._ZNSt10filesystem7__cxx114pathaSEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE[_ZNSt10filesystem7__cxx114pathaSEONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE]+0x6f): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<LoginDatabaseConnection>::Create(DatabaseWorkerPool<LoginDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0x5e2): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0xb4f): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `std::filesystem::__cxx11::path::path<char [17], std::filesystem::__cxx11::path>(char const (&) [17], std::filesystem::__cxx11::path::format)':
DBUpdater.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA17_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC2IA17_cS1_EERKT_NS1_6formatE]+0x28): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<LoginDatabaseConnection>::Update(DatabaseWorkerPool<LoginDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x223): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x242): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<LoginDatabaseConnection>::Update(DatabaseWorkerPool<LoginDatabaseConnection>&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
DBUpdater.cpp:(.text._ZZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_[_ZZN9DBUpdaterI23LoginDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_]+0x463): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<LoginDatabaseConnection>::Populate(DatabaseWorkerPool<LoginDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x2f0): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x32e): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x35f): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x380): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3d4): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3df): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5a9): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5d4): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5f5): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x653): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x660): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x7a1): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23LoginDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x8fa): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `std::filesystem::__cxx11::path::path<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::filesystem::__cxx11::path>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::filesystem::__cxx11::path::format)':
DBUpdater.cpp:(.text._ZNSt10filesystem7__cxx114pathC2INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC2INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES1_EERKT_NS1_6formatE]+0x81): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `std::filesystem::__cxx11::path::extension() const':
DBUpdater.cpp:(.text._ZNKSt10filesystem7__cxx114path9extensionEv[_ZNKSt10filesystem7__cxx114path9extensionEv]+0x14): undefined reference to `std::filesystem::__cxx11::path::_M_find_extension() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZNKSt10filesystem7__cxx114path9extensionEv[_ZNKSt10filesystem7__cxx114path9extensionEv]+0x125): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<WorldDatabaseConnection>::Create(DatabaseWorkerPool<WorldDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0x5e2): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0xb4f): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<WorldDatabaseConnection>::Update(DatabaseWorkerPool<WorldDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x225): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x244): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<WorldDatabaseConnection>::Update(DatabaseWorkerPool<WorldDatabaseConnection>&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
DBUpdater.cpp:(.text._ZZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_[_ZZN9DBUpdaterI23WorldDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_]+0x463): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<WorldDatabaseConnection>::Populate(DatabaseWorkerPool<WorldDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x2f2): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x330): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x35f): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x380): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3d4): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3df): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5a9): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5d4): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5f5): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x653): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x660): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x7a1): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI23WorldDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x8fa): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<CharacterDatabaseConnection>::Create(DatabaseWorkerPool<CharacterDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0x5e2): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE6CreateER18DatabaseWorkerPoolIS0_E]+0xb4f): undefined reference to `std::filesystem::remove(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<CharacterDatabaseConnection>::Update(DatabaseWorkerPool<CharacterDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x22c): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_E]+0x24b): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<CharacterDatabaseConnection>::Update(DatabaseWorkerPool<CharacterDatabaseConnection>&)::{lambda(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)#1}::operator()(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const':
DBUpdater.cpp:(.text._ZZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_[_ZZN9DBUpdaterI27CharacterDatabaseConnectionE6UpdateER18DatabaseWorkerPoolIS0_EENKUlRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE_clESC_]+0x463): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `DBUpdater<CharacterDatabaseConnection>::Populate(DatabaseWorkerPool<CharacterDatabaseConnection>&)':
DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x2f9): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x337): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x35f): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x380): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3d4): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x3df): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5a9): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5d4): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x5f5): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x653): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x660): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x7a1): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: DBUpdater.cpp:(.text._ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E[_ZN9DBUpdaterI27CharacterDatabaseConnectionE8PopulateER18DatabaseWorkerPoolIS0_E]+0x8fa): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: ../database/libdatabase.a(DBUpdater.cpp.o): in function `std::filesystem::__cxx11::path::operator=(std::filesystem::__cxx11::path&&)':
DBUpdater.cpp:(.text._ZNSt10filesystem7__cxx114pathaSEOS1_[_ZNSt10filesystem7__cxx114pathaSEOS1_]+0x12b): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../database/libdatabase.a(UpdateFetcher.cpp.o): in function `UpdateFetcher::ReceiveIncludedDirectories() const':
UpdateFetcher.cpp:(.text+0x905): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x16e4): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../database/libdatabase.a(UpdateFetcher.cpp.o): in function `UpdateFetcher::FillFileListRecursively(std::filesystem::__cxx11::path const&, std::set<std::pair<std::filesystem::__cxx11::path, UpdateFetcher::State>, UpdateFetcher::PathCompare, std::allocator<std::pair<std::filesystem::__cxx11::path, UpdateFetcher::State> > >&, UpdateFetcher::State, unsigned int) const':
UpdateFetcher.cpp:(.text+0x20a7): undefined reference to `std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x20f4): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator++()'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x2111): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x2119): undefined reference to `std::filesystem::status(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x212f): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x2164): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x21b0): undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x21bb): undefined reference to `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path const&) const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x22aa): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x2484): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: UpdateFetcher.cpp:(.text+0x2761): undefined reference to `std::filesystem::__cxx11::directory_iterator::operator*() const'
/usr/bin/ld: ../../common/libcommon.a(StartProcess.cpp.o): in function `Acore::StartProcess(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool)':
StartProcess.cpp:(.text+0x5d2): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: StartProcess.cpp:(.text+0x65b): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: ../../common/libcommon.a(StartProcess.cpp.o): in function `Acore::AsyncProcessResultImplementation::StartProcess()':
StartProcess.cpp:(.text._ZN5Acore32AsyncProcessResultImplementation12StartProcessEv[_ZN5Acore32AsyncProcessResultImplementation12StartProcessEv]+0x5e8): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
/usr/bin/ld: StartProcess.cpp:(.text._ZN5Acore32AsyncProcessResultImplementation12StartProcessEv[_ZN5Acore32AsyncProcessResultImplementation12StartProcessEv]+0x666): undefined reference to `std::filesystem::absolute(std::filesystem::__cxx11::path const&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/server/authserver/CMakeFiles/authserver.dir/build.make:173: src/server/authserver/authserver] Error 1
make[1]: *** [CMakeFiles/Makefile2:1364: src/server/authserver/CMakeFiles/authserver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

标签: c++azerothcore

解决方案


推荐阅读