From grad, 4 Years ago, written in Plain Text.
Embed
  1. grad@mh001:~/TBC_New/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/grad
  2. -- The C compiler identification is GNU 10.2.0
  3. -- The CXX compiler identification is GNU 10.2.0
  4. -- Detecting C compiler ABI info
  5. -- Detecting C compiler ABI info - done
  6. -- Check for working C compiler: /usr/bin/cc - skipped
  7. -- Detecting C compile features
  8. -- Detecting C compile features - done
  9. -- Detecting CXX compiler ABI info
  10. -- Detecting CXX compiler ABI info - done
  11. -- Check for working CXX compiler: /usr/bin/c++ - skipped
  12. -- Detecting CXX compile features
  13. -- Detecting CXX compile features - done
  14. -- Detected 64-bit platform
  15. -- UNIX: Using default configuration directory
  16. -- UNIX: Using default library directory
  17. -- UNIX: Configuring uninstall target
  18. -- UNIX: Created uninstall target
  19. -- UNIX: Detected compiler: /usr/bin/cc
  20. -- GCC: SFMT enabled, SSE2 flags forced
  21. -- Looking for pthread.h
  22. -- Looking for pthread.h - found
  23. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  24. -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  25. -- Looking for pthread_create in pthreads
  26. -- Looking for pthread_create in pthreads - not found
  27. -- Looking for pthread_create in pthread
  28. -- Looking for pthread_create in pthread - found
  29. -- Found Threads: TRUE
  30. -- Using mysql-config: /usr/bin/mysql_config
  31. -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmariadb.so
  32. -- Found MySQL headers: /usr/include/mariadb
  33. -- cotire 1.8.0 loaded.
  34. -- Found git binary : /usr/bin/git
  35. --
  36.     Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
  37.     Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
  38.  
  39. * Sunstrider revision:   unknown 1970-01-01 00:00:00 +0000 (Archived branch)
  40. * Sunstrider buildtype  : RelWithDebInfo
  41.  
  42. * Will install to:        /home/grad
  43. * With config dir at:     /home/grad/etc
  44. * Libs install dir at:    /home/grad/lib
  45. * Build map/vmap/mmaps tools:   No
  46. * Debug mode:                   No
  47. * All warnings:                 No
  48. * Playerbot:                    No
  49. * Tests:                        No
  50. * Use gperftools:               No
  51. Boost 1.62 found.
  52. Found Boost components:
  53.    system;filesystem;thread;program_options;iostreams;regex
  54. -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM
  55. -- Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success
  56. -- Looking for open
  57. -- Looking for open - found
  58. -- Found OpenSSL library: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so
  59. -- Found OpenSSL headers: /usr/include
  60. -- Found Readline library: /usr/lib/x86_64-linux-gnu/libreadline.so
  61. -- Include dir is: /usr/include
  62. -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
  63. -- CXX target common cotired without unity build.
  64. -- CXX target database cotired without unity build.
  65. -- CXX target shared cotired without unity build.
  66. -- CXX target game cotired without unity build.
  67.  
  68. * Script configuration (static):
  69.     |
  70.     +- worldserver
  71.     |   +- Battlegrounds
  72.     |   +- Commands
  73.     |   +- EasternKingdoms
  74.     |   +- Events
  75.     |   +- Kalimdor
  76.     |   +- OutdoorPvP
  77.     |   +- Outland
  78.     |   +- Pet
  79.     |   +- Spells
  80.     |   +- World
  81.     |
  82. -- CXX target scripts cotired without unity build.
  83.  
  84. -- CXX target authserver cotired without unity build.
  85. -- Configuring done
  86. -- Generating done
  87. -- Build files have been written to: /home/grad/TBC_New/build
  88. grad@mh001:~/TBC_New/build$ make -j10
  89. Scanning dependencies of target gsoap
  90. Scanning dependencies of target fmt
  91. Scanning dependencies of target g3dlib
  92. Scanning dependencies of target revision_data.h
  93. Scanning dependencies of target Recast
  94. Scanning dependencies of target Detour
  95. [  0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/format.cc.o
  96. [  0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/ostream.cc.o
  97. [  0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/printf.cc.o
  98. [  0%] Building CXX object dep/fmt/CMakeFiles/fmt.dir/fmt/posix.cc.o
  99. [  0%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapServer.cpp.o
  100. [  0%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/soapC.cpp.o
  101. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o
  102. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o
  103. --
  104.     Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
  105.     Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
  106. [  1%] Built target revision_data.h
  107. [  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o
  108. [  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o
  109. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAssert.cpp.o
  110. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o
  111. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o
  112. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o
  113. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAssert.cpp.o
  114. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o
  115. [  1%] Building CXX object dep/gsoap/CMakeFiles/gsoap.dir/stdsoap2.cpp.o
  116. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o
  117. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o
  118. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o
  119. [  1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o
  120. [  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AnyTableReader.cpp.o
  121. [  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o
  122. [  1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o
  123. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o
  124. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o
  125. [  1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o
  126. [  2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o
  127. [  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o
  128. [  2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o
  129. [  2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o
  130. [  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o
  131. [  2%] Linking CXX static library libDetour.a
  132. [  2%] Built target Detour
  133. [  2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o
  134. [  3%] Linking CXX static library libfmt.a
  135. [  3%] Built target fmt
  136. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o
  137. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o
  138. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o
  139. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o
  140. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o
  141. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o
  142. [  4%] Linking CXX static library libRecast.a
  143. [  4%] Built target Recast
  144. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o
  145. [  4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o
  146. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o
  147. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o
  148. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/GThread.cpp.o
  149. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o
  150. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o
  151. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o
  152. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o
  153. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o
  154. [  5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o
  155. [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o
  156. [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o
  157. [  6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o
  158. [  7%] Linking CXX static library libgsoap.a
  159. [  7%] Built target gsoap
  160. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o
  161. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o
  162. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o
  163. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o
  164. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
  165. [  7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o
  166. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o
  167. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o
  168. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o
  169. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o
  170. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o
  171. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o
  172. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o
  173. [  8%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o
  174. [  9%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o
  175. [  9%] Linking CXX static library libg3dlib.a
  176. [  9%] Built target g3dlib
  177. [  9%] Generating CXX prefix source src/common/cotire/common_CXX_prefix.cxx
  178. [ 10%] Generating CXX prefix header src/common/cotire/common_CXX_prefix.hxx
  179. [ 10%] Building CXX precompiled header src/common/cotire/common_CXX_prefix.hxx.gch
  180. Scanning dependencies of target common
  181. [ 10%] Building CXX object src/common/CMakeFiles/common.dir/GitRevision.cpp.o
  182. [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapManager2.cpp.o
  183. [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Collision/DynamicTree.cpp.o
  184. [ 10%] Building CXX object src/common/CMakeFiles/common.dir/Common.cpp.o
  185. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/VMapFactory.cpp.o
  186. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapFactory.cpp.o
  187. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Banner.cpp.o
  188. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/BoundingIntervalHierarchy.cpp.o
  189. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Management/MMapManager.cpp.o
  190. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/MapTree.cpp.o
  191. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Maps/TileAssembler.cpp.o
  192. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/GameObjectModel.cpp.o
  193. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/ModelInstance.cpp.o
  194. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/Models/WorldModel.cpp.o
  195. [ 11%] Building CXX object src/common/CMakeFiles/common.dir/Collision/PrecompiledHeaders/collisionPCH.cpp.o
  196. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Configuration/BuiltInConfig.cpp.o
  197. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/ARC4.cpp.o
  198. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Configuration/Config.cpp.o
  199. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/BigNumber.cpp.o
  200. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/OpenSSLCrypto.cpp.o
  201. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/HMACSHA1.cpp.o
  202. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/SHA1.cpp.o
  203. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/Cryptography/Authentication/AuthCrypt.cpp.o
  204. [ 12%] Building CXX object src/common/CMakeFiles/common.dir/DataStores/DBCFileLoader.cpp.o
  205. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Appender.cpp.o
  206. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/AppenderConsole.cpp.o
  207. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/AppenderFile.cpp.o
  208. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Log.cpp.o
  209. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/LogMessage.cpp.o
  210. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/LogOperation.cpp.o
  211. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Logging/Logger.cpp.o
  212. [ 13%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/EventMap.cpp.o
  213. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/EventProcessor.cpp.o
  214. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/Random.cpp.o
  215. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/StartProcess.cpp.o
  216. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/TaskScheduler.cpp.o
  217. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Utilities/Util.cpp.o
  218. [ 14%] Building CXX object src/common/CMakeFiles/common.dir/Debugging/Errors.cpp.o
  219. /home/grad/TBC_New/src/common/Debugging/Errors.cpp:44:38: warning: ‘TrinityAssertionFailedMessage’ initialized and declared ‘extern’
  220.    44 | extern "C" TC_COMMON_API char const* TrinityAssertionFailedMessage = nullptr;
  221.       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  222. [ 14%] Linking CXX static library libcommon.a
  223. [ 14%] Built target common
  224. [ 14%] Generating CXX prefix source src/server/database/cotire/database_CXX_prefix.cxx
  225. [ 14%] Generating CXX prefix header src/server/database/cotire/database_CXX_prefix.hxx
  226. [ 14%] Building CXX precompiled header src/server/database/cotire/database_CXX_prefix.hxx.gch
  227. Scanning dependencies of target database
  228. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/PreparedStatement.cpp.o
  229. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallback.cpp.o
  230. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseLoader.cpp.o
  231. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseEnv.cpp.o
  232. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLConnection.cpp.o
  233. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/MySQLThreading.cpp.o
  234. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/AdhocStatement.cpp.o
  235. [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorker.cpp.o
  236. [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Field.cpp.o
  237. [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/DatabaseWorkerPool.cpp.o
  238. [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryCallbackProcessor.cpp.o
  239. [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryHolder.cpp.o
  240. [ 15%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/QueryResult.cpp.o
  241. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Transaction.cpp.o
  242. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o
  243. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LoginDatabase.cpp.o
  244. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/LogsDatabase.cpp.o
  245. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Logging/AppenderDB.cpp.o
  246. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/WorldDatabase.cpp.o
  247. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/DBUpdater.cpp.o
  248. [ 16%] Building CXX object src/server/database/CMakeFiles/database.dir/Updater/UpdateFetcher.cpp.o
  249. [ 17%] Linking CXX static library libdatabase.a
  250. [ 17%] Built target database
  251. [ 17%] Generating CXX prefix source src/server/shared/cotire/shared_CXX_prefix.cxx
  252. [ 17%] Generating CXX prefix header src/server/shared/cotire/shared_CXX_prefix.hxx
  253. [ 18%] Building CXX precompiled header src/server/shared/cotire/shared_CXX_prefix.hxx.gch
  254. Scanning dependencies of target shared
  255. [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Packets/ByteBuffer.cpp.o
  256. [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o
  257. [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCDatabaseLoader.cpp.o
  258. [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/DataStores/DBCStore.cpp.o
  259. [ 18%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o
  260. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  261.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:21:
  262. /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters
  263.    54 | class basic_resolver;
  264.       |       ^~~~~~~~~~~~~~
  265. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  266.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  267. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  268.    57 |             class basic_resolver;
  269.       |                   ^~~~~~~~~~~~~~
  270. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  271.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:21:
  272. /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters
  273.    68 | class basic_resolver
  274.       |       ^~~~~~~~~~~~~~
  275. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  276.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  277. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  278.    57 |             class basic_resolver;
  279.       |                   ^~~~~~~~~~~~~~
  280. In file included from /usr/include/boost/asio/deadline_timer.hpp:24,
  281.                  from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21,
  282.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21:
  283. /usr/include/boost/asio/basic_deadline_timer.hpp:130:7: error: redeclared with 3 template parameters
  284.   130 | class basic_deadline_timer
  285.       |       ^~~~~~~~~~~~~~~~~~~~
  286. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  287.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  288.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  289. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: previous declaration ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’ used 2 template parameters
  290.    51 |         class basic_deadline_timer;
  291.       |               ^~~~~~~~~~~~~~~~~~~~
  292. In file included from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21,
  293.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21:
  294. /usr/include/boost/asio/deadline_timer.hpp:32:54: error: wrong number of template arguments (1, should be 2)
  295.    32 | typedef basic_deadline_timer<boost::posix_time::ptime> deadline_timer;
  296.       |                                                      ^
  297. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  298.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  299.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  300. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’
  301.    51 |         class basic_deadline_timer;
  302.       |               ^~~~~~~~~~~~~~~~~~~~
  303. In file included from /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:21,
  304.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21:
  305. /usr/include/boost/asio/deadline_timer.hpp:32:56: error: conflicting declaration ‘typedef int boost::asio::deadline_timer’
  306.    32 | typedef basic_deadline_timer<boost::posix_time::ptime> deadline_timer;
  307.       |                                                        ^~~~~~~~~~~~~~
  308. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  309.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  310.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  311. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:96: note: previous declaration as ‘typedef class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > boost::asio::deadline_timer’
  312.    52 |         typedef basic_deadline_timer<posix_time::ptime, time_traits<boost::posix_time::ptime>> deadline_timer;
  313.       |                                                                                                ^~~~~~~~~~~~~~
  314. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21:
  315. /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:31:172: error: wrong number of template arguments (3, should be 2)
  316.    31 | #define DeadlineTimerBase boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> BasicDeadlineTimerThirdTemplateArg>
  317.       |                                                                                                                                                                            ^
  318. /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:37:38: note: in expansion of macro ‘DeadlineTimerBase’
  319.    37 |         class DeadlineTimer : public DeadlineTimerBase
  320.       |                                      ^~~~~~~~~~~~~~~~~
  321. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  322.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  323.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  324. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’
  325.    51 |         class basic_deadline_timer;
  326.       |               ^~~~~~~~~~~~~~~~~~~~
  327. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:21:
  328. /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:31:172: error: wrong number of template arguments (3, should be 2)
  329.    31 | #define DeadlineTimerBase boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> BasicDeadlineTimerThirdTemplateArg>
  330.       |                                                                                                                                                                            ^
  331. /home/grad/TBC_New/src/common/Asio/DeadlineTimer.h:40:19: note: in expansion of macro ‘DeadlineTimerBase’
  332.    40 |             using DeadlineTimerBase::basic_deadline_timer;
  333.       |                   ^~~~~~~~~~~~~~~~~
  334. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  335.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  336.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  337. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: provided for ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’
  338.    51 |         class basic_deadline_timer;
  339.       |               ^~~~~~~~~~~~~~~~~~~~
  340. make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:139: src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o] Ошибка 1
  341. make[2]: *** Ожидание завершения заданий…
  342. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  343.                  from /home/grad/TBC_New/src/common/Asio/Resolver.h:22,
  344.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24:
  345. /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters
  346.    54 | class basic_resolver;
  347.       |       ^~~~~~~~~~~~~~
  348. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  349.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  350.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  351. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  352.    57 |             class basic_resolver;
  353.       |                   ^~~~~~~~~~~~~~
  354. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  355.                  from /home/grad/TBC_New/src/common/Asio/Resolver.h:22,
  356.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24:
  357. /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters
  358.    68 | class basic_resolver
  359.       |       ^~~~~~~~~~~~~~
  360. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  361.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  362.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  363. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  364.    57 |             class basic_resolver;
  365.       |                   ^~~~~~~~~~~~~~
  366. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:24:
  367. /home/grad/TBC_New/src/common/Asio/Resolver.h: In function ‘Optional<boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> > Trinity::Net::Resolve(boost::asio::ip::tcp::resolver&, const boost::asio::ip::tcp&, const string&, const string&)’:
  368. /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<boost::asio::ip::tcp>’} used in nested name specifier
  369.    34 |             boost::asio::ip::tcp::resolver::results_type results = resolver.resolve(protocol, host, service, ec);
  370.       |                                             ^~~~~~~~~~~~
  371. /home/grad/TBC_New/src/common/Asio/Resolver.h:35:17: error: ‘results’ was not declared in this scope
  372.    35 |             if (results.begin() == results.end() || ec)
  373.       |                 ^~~~~~~
  374. /home/grad/TBC_New/src/common/Asio/Resolver.h:38:20: error: ‘results’ was not declared in this scope
  375.    38 |             return results.begin()->endpoint();
  376.       |                    ^~~~~~~
  377. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::Close()’:
  378. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:55:17: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  379.    55 |     _updateTimer->cancel();
  380.       |                 ^~
  381. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  382.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  383.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  384. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  385.    51 |         class basic_deadline_timer;
  386.       |               ^~~~~~~~~~~~~~~~~~~~
  387. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::UpdateRealms(const boost::system::error_code&)’:
  388. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:170:21: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  389.   170 |         _updateTimer->expires_from_now(boost::posix_time::seconds(_updateInterval));
  390.       |                     ^~
  391. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  392.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  393.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  394. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  395.    51 |         class basic_deadline_timer;
  396.       |               ^~~~~~~~~~~~~~~~~~~~
  397. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:171:21: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  398.   171 |         _updateTimer->async_wait(std::bind(&RealmList::UpdateRealms, this, std::placeholders::_1));
  399.       |                     ^~
  400. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  401.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  402.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  403. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  404.    51 |         class basic_deadline_timer;
  405.       |               ^~~~~~~~~~~~~~~~~~~~
  406. In file included from /usr/include/c++/10/memory:83,
  407.                  from /home/grad/TBC_New/src/common/Common.h:44,
  408.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  409.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  410.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  411. /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<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >; _Args = {Trinity::Asio::IoContext&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >]’:
  412. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:46:79:   required from here
  413. /usr/include/c++/10/bits/unique_ptr.h:962:30: error: invalid use of incomplete type ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  414.   962 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
  415.       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  416. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  417.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  418.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  419. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:51:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  420.    51 |         class basic_deadline_timer;
  421.       |               ^~~~~~~~~~~~~~~~~~~~
  422. In file included from /usr/include/c++/10/memory:83,
  423.                  from /home/grad/TBC_New/src/common/Common.h:44,
  424.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  425.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  426.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  427. /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<boost::asio::ip::tcp>; _Args = {Trinity::Asio::IoContext&}; typename std::_MakeUniq<_Tp>::__single_object = std::unique_ptr<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> >]’:
  428. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:47:79:   required from here
  429. /usr/include/c++/10/bits/unique_ptr.h:962:30: error: invalid use of incomplete type ‘class boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’
  430.   962 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
  431.       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  432. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  433.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  434.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  435. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:57:19: note: declaration of ‘class boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’
  436.    57 |             class basic_resolver;
  437.       |                   ^~~~~~~~~~~~~~
  438. In file included from /usr/include/c++/10/memory:83,
  439.                  from /home/grad/TBC_New/src/common/Common.h:44,
  440.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  441.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  442.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  443. /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<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >]’:
  444. /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<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >; _Dp = std::default_delete<boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> > >]’
  445. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43:   required from here
  446. /usr/include/c++/10/bits/unique_ptr.h:83:16: error: invalid application of ‘sizeof’ to incomplete type ‘boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  447.    83 |  static_assert(sizeof(_Tp)>0,
  448.       |                ^~~~~~~~~~~
  449. /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<boost::asio::ip::tcp>]’:
  450. /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<boost::asio::ip::tcp>; _Dp = std::default_delete<boost::asio::ip::basic_resolver<boost::asio::ip::tcp> >]’
  451. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43:   required from here
  452. /usr/include/c++/10/bits/unique_ptr.h:83:16: error: invalid application of ‘sizeof’ to incomplete type ‘boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’
  453. make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:153: src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o] Ошибка 1
  454. make[1]: *** [CMakeFiles/Makefile2:1049: src/server/shared/CMakeFiles/shared.dir/all] Ошибка 2
  455. make: *** [Makefile:149: all] Ошибка 2
  456. grad@mh001:~/TBC_New/build$
  457.