grad@mh001:~/TBC_New/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/grad -- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected 64-bit platform -- UNIX: Using default configuration directory -- UNIX: Using default library directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- GCC: SFMT enabled, SSE2 flags forced -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmariadb.so -- Found MySQL headers: /usr/include/mariadb -- cotire 1.8.0 loaded. -- Found git binary : /usr/bin/git -- Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)" * Sunstrider revision: unknown 1970-01-01 00:00:00 +0000 (Archived branch) * Sunstrider buildtype : RelWithDebInfo * Will install to: /home/grad * With config dir at: /home/grad/etc * Libs install dir at: /home/grad/lib * Build map/vmap/mmaps tools: No * Debug mode: No * All warnings: No * Playerbot: No * Tests: No * Use gperftools: No Boost 1.62 found. Found Boost components: system;filesystem;thread;program_options;iostreams;regex -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success -- Looking for open -- Looking for open - found -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so -- Found OpenSSL headers: /usr/include -- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so -- Include dir is: /usr/include -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") -- CXX target common cotired without unity build. -- CXX target database cotired without unity build. -- CXX target shared cotired without unity build. -- CXX target game cotired without unity build. * Script configuration (static): | +- worldserver | +- Battlegrounds | +- Commands | +- EasternKingdoms | +- Events | +- Kalimdor | +- OutdoorPvP | +- Outland | +- Pet | +- Spells | +- World | -- CXX target scripts cotired without unity build. -- CXX target authserver cotired without unity build. -- Configuring done -- Generating done -- Build files have been written to: /home/grad/TBC_New/build grad@mh001:~/TBC_New/build$ make -j10 Scanning dependencies of target gsoap Scanning dependencies of target fmt Scanning dependencies of target g3dlib Scanning dependencies of target revision_data.h Scanning dependencies of target Recast Scanning dependencies of target Detour [ 0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/format.cc.o [ 0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/ostream.cc.o [ 0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/printf.cc.o [ 0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/posix.cc.o [ 0%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o [ 0%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o -- Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)" [ 1%] Built target revision_data.h [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o [ 1%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AnyTableReader.cpp.o [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o [ 2%] Linking CXX static library libDetour.a [ 2%] Built target Detour [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o [ 3%] Linking CXX static library libfmt.a [ 3%] Built target fmt [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o [ 4%] Linking CXX static library libRecast.a [ 4%] Built target Recast [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/GThread.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o [ 7%] Linking CXX static library libgsoap.a [ 7%] Built target gsoap [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o [ 8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o [ 9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o [ 9%] Linking CXX static library libg3dlib.a [ 9%] Built target g3dlib [ 9%] Generating CXX prefix source src/common/cotire/common_CXX_prefix.cxx [ 10%] Generating CXX prefix header src/common/cotire/common_CXX_prefix.hxx [ 10%] Building CXX precompiled header src/common/cotire/common_CXX_prefix.hxx.gch Scanning dependencies of target common [ 10%] Building CXX object src/common/CMakeFiles/common.dir/GitRevision.cpp.o [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapManager2.cpp.o [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/DynamicTree.cpp.o [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapFactory.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapFactory.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Banner.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/BoundingIntervalHierarchy.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapManager.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/MapTree.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/TileAssembler.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/GameObjectModel.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/ModelInstance.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/WorldModel.cpp.o [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/PrecompiledHeaders/collisionPCH.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Configuration/BuiltInConfig.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/ARC4.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Configuration/Config.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/BigNumber.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/OpenSSLCrypto.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/HMACSHA1.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/SHA1.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/Authentication/AuthCrypt.cpp.o [ 12%] Building CXX object src/common/CMakeFiles/common.dir/DataStores/DBCFileLoader.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Appender.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/AppenderConsole.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/AppenderFile.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Log.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/LogMessage.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/LogOperation.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Logger.cpp.o [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/EventMap.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/EventProcessor.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/Random.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/StartProcess.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/TaskScheduler.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/Util.cpp.o [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Debugging/Errors.cpp.o /home/grad/TBC_New/src/common/Debugging/Errors.cpp:44:38: warning: ‘TrinityAssertionFailedMessage’ initialized and declared ‘extern’ 44 | extern "C" TC_COMMON_API char const* TrinityAssertionFailedMessage = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Linking CXX static library libcommon.a [ 14%] Built target common [ 14%] Generating CXX prefix source src/server/database/cotire/database_CXX_prefix.cxx [ 14%] Generating CXX prefix header src/server/database/cotire/database_CXX_prefix.hxx [ 14%] Building CXX precompiled header src/server/database/cotire/database_CXX_prefix.hxx.gch Scanning dependencies of target database [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/PreparedStatement.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallback.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseLoader.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseEnv.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLThreading.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/AdhocStatement.cpp.o [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorker.cpp.o [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Field.cpp.o [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorkerPool.cpp.o [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallbackProcessor.cpp.o [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryHolder.cpp.o [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryResult.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Transaction.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LoginDatabase.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LogsDatabase.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Logging/AppenderDB.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/WorldDatabase.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/DBUpdater.cpp.o [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/UpdateFetcher.cpp.o [ 17%] Linking CXX static library libdatabase.a [ 17%] Built target database [ 17%] Generating CXX prefix source src/server/shared/cotire/shared_CXX_prefix.cxx [ 17%] Generating CXX prefix header src/server/shared/cotire/shared_CXX_prefix.hxx [ 18%] Building CXX precompiled header src/server/shared/cotire/shared_CXX_prefix.hxx.gch Scanning dependencies of target shared [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Packets/ByteBuffer.cpp.o [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCStore.cpp.o [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o In file included from /usr/include/boost/asio/ip/tcp.hpp:25, from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:21: /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters 54 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template class boost::asio::ip::basic_resolver’ used 1 template parameter 57 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /usr/include/boost/asio/ip/tcp.hpp:25, from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:21: /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters 68 | class basic_resolver | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template class boost::asio::ip::basic_resolver’ used 1 template parameter 57 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /usr/include/boost/asio/deadline_timer.hpp:24, from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21: /usr/include/boost/asio/basic_deadline_timer.hpp:130:7: error: redeclared with 3 template parameters 130 | class basic_deadline_timer | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: previous declaration ‘template class boost::asio::basic_deadline_timer’ used 2 template parameters 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21: /usr/include/boost/asio/deadline_timer.hpp:32:54: error: wrong number of template arguments (1, should be 2) 32 | typedef basic_deadline_timer deadline_timer; | ^ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template class boost::asio::basic_deadline_timer’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21: /usr/include/boost/asio/deadline_timer.hpp:32:56: error: conflicting declaration ‘typedef int boost::asio::deadline_timer’ 32 | typedef basic_deadline_timer deadline_timer; | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:96: note: previous declaration as ‘typedef class boost::asio::basic_deadline_timer > boost::asio::deadline_timer’ 52 | typedef basic_deadline_timer> deadline_timer; | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21: /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:31:172: error: wrong number of template arguments (3, should be 2) 31 | #define DeadlineTimerBase boost::asio::basic_deadline_timer BasicDeadlineTimerThirdTemplateArg> | ^ /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:37:38: note: in expansion of macro ‘DeadlineTimerBase’ 37 | class DeadlineTimer : public DeadlineTimerBase | ^~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template class boost::asio::basic_deadline_timer’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21: /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:31:172: error: wrong number of template arguments (3, should be 2) 31 | #define DeadlineTimerBase boost::asio::basic_deadline_timer BasicDeadlineTimerThirdTemplateArg> | ^ /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:40:19: note: in expansion of macro ‘DeadlineTimerBase’ 40 | using DeadlineTimerBase::basic_deadline_timer; | ^~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template class boost::asio::basic_deadline_timer’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:139: src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o] Ошибка 1 make[2]: *** Ожидание завершения заданий… In file included from /usr/include/boost/asio/ip/tcp.hpp:25, from /home/grad/TBC_New/src/common/Asio/Resolver.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24: /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters 54 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template class boost::asio::ip::basic_resolver’ used 1 template parameter 57 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /usr/include/boost/asio/ip/tcp.hpp:25, from /home/grad/TBC_New/src/common/Asio/Resolver.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24: /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters 68 | class basic_resolver | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template class boost::asio::ip::basic_resolver’ used 1 template parameter 57 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24: /home/grad/TBC_New/src/common/Asio/Resolver.h: In function ‘Optional > Trinity::Net::Resolve(boost::asio::ip::tcp::resolver&, const boost::asio::ip::tcp&, const string&, const string&)’: /home/grad/TBC_New/src/common/Asio/Resolver.h:34:45: error: incomplete type ‘boost::asio::ip::tcp::resolver’ {aka ‘boost::asio::ip::basic_resolver’} used in nested name specifier 34 | boost::asio::ip::tcp::resolver::results_type results = resolver.resolve(protocol, host, service, ec); | ^~~~~~~~~~~~ /home/grad/TBC_New/src/common/Asio/Resolver.h:35:17: error: ‘results’ was not declared in this scope 35 | if (results.begin() == results.end() || ec) | ^~~~~~~ /home/grad/TBC_New/src/common/Asio/Resolver.h:38:20: error: ‘results’ was not declared in this scope 38 | return results.begin()->endpoint(); | ^~~~~~~ /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::Close()’: /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:55:17: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer >’ 55 | _updateTimer->cancel(); | ^~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer >’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::UpdateRealms(const boost::system::error_code&)’: /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:170:21: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer >’ 170 | _updateTimer->expires_from_now(boost::posix_time::seconds(_updateInterval)); | ^~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer >’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:171:21: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer >’ 171 | _updateTimer->async_wait(std::bind(&RealmList::UpdateRealms, this, std::placeholders::_1)); | ^~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer >’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /home/grad/TBC_New/src/common/Common.h:44, from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /usr/include/c++/10/bits/unique_ptr.h: In instantiation of ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = boost::asio::basic_deadline_timer >; _Args = {Trinity::Asio::IoContext&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr > >]’: /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:46:79: required from here /usr/include/c++/10/bits/unique_ptr.h:962:30: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer >’ 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer >’ 51 | class basic_deadline_timer; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /home/grad/TBC_New/src/common/Common.h:44, from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /usr/include/c++/10/bits/unique_ptr.h: In instantiation of ‘typename std::_MakeUniq<_Tp>::__single_object std::make_unique(_Args&& ...) [with _Tp = boost::asio::ip::basic_resolver; _Args = {Trinity::Asio::IoContext&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr >]’: /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:47:79: required from here /usr/include/c++/10/bits/unique_ptr.h:962:30: error: invalid use of incomplete type ‘class boost::asio::ip::basic_resolver’ 962 | { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: declaration of ‘class boost::asio::ip::basic_resolver’ 57 | class basic_resolver; | ^~~~~~~~~~~~~~ In file included from /usr/include/c++/10/memory:83, from /home/grad/TBC_New/src/common/Common.h:44, from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23, from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19: /usr/include/c++/10/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = boost::asio::basic_deadline_timer >]’: /usr/include/c++/10/bits/unique_ptr.h:361:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = boost::asio::basic_deadline_timer >; _Dp = std::default_delete > >]’ /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43: required from here /usr/include/c++/10/bits/unique_ptr.h:83:16: error: invalid application of ‘sizeof’ to incomplete type ‘boost::asio::basic_deadline_timer >’ 83 | static_assert(sizeof(_Tp)>0, | ^~~~~~~~~~~ /usr/include/c++/10/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = boost::asio::ip::basic_resolver]’: /usr/include/c++/10/bits/unique_ptr.h:361:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = boost::asio::ip::basic_resolver; _Dp = std::default_delete >]’ /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43: required from here /usr/include/c++/10/bits/unique_ptr.h:83:16: error: invalid application of ‘sizeof’ to incomplete type ‘boost::asio::ip::basic_resolver’ make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:153: src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o] Ошибка 1 make[1]: *** [CMakeFiles/Makefile2:1049: src/server/shared/CMakeFiles/shared.dir/all] Ошибка 2 make: *** [Makefile:149: all] Ошибка 2 grad@mh001:~/TBC_New/build$