From grad, 11 Months ago, written in Plain Text.
Embed
  1. [ 20%] Building CXX object src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o
  2. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  3.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:23,
  4.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  5. /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters
  6.    54 | class basic_resolver;
  7.       |       ^~~~~~~~~~~~~~
  8. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  9.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  10. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:59:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  11.    59 |             class basic_resolver;
  12.       |                   ^~~~~~~~~~~~~~
  13. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  14.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:23,
  15.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  16. /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters
  17.    68 | class basic_resolver
  18.       |       ^~~~~~~~~~~~~~
  19. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  20.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.cpp:18:
  21. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:59:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  22.    59 |             class basic_resolver;
  23.       |                   ^~~~~~~~~~~~~~
  24. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  25.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:23,
  26.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  27.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  28. /usr/include/boost/asio/ip/basic_resolver.hpp:54:7: error: redeclared with 2 template parameters
  29.    54 | class basic_resolver;
  30.       |       ^~~~~~~~~~~~~~
  31. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  32.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  33.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  34. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:59:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  35.    59 |             class basic_resolver;
  36.       |                   ^~~~~~~~~~~~~~
  37. In file included from /usr/include/boost/asio/ip/tcp.hpp:25,
  38.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:23,
  39.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  40.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  41. /usr/include/boost/asio/ip/basic_resolver.hpp:68:7: error: redeclared with 2 template parameters
  42.    68 | class basic_resolver
  43.       |       ^~~~~~~~~~~~~~
  44. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  45.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  46.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  47. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:59:19: note: previous declaration ‘template<class InternetProtocol> class boost::asio::ip::basic_resolver’ used 1 template parameter
  48.    59 |             class basic_resolver;
  49.       |                   ^~~~~~~~~~~~~~
  50. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:23:
  51. /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&)’:
  52. /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
  53.    34 |             boost::asio::ip::tcp::resolver::results_type results = resolver.resolve(protocol, host, service, ec);
  54.       |                                             ^~~~~~~~~~~~
  55. /home/grad/TBC_New/src/common/Asio/Resolver.h:35:17: error: ‘results’ was not declared in this scope
  56.    35 |             if (results.begin() == results.end() || ec)
  57.       |                 ^~~~~~~
  58. /home/grad/TBC_New/src/common/Asio/Resolver.h:38:20: error: ‘results’ was not declared in this scope
  59.    38 |             return results.begin()->endpoint();
  60.       |                    ^~~~~~~
  61. In file included from /usr/include/boost/asio/deadline_timer.hpp:24,
  62.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:25:
  63. /usr/include/boost/asio/basic_deadline_timer.hpp: At global scope:
  64. /usr/include/boost/asio/basic_deadline_timer.hpp:130:7: error: redeclared with 3 template parameters
  65.   130 | class basic_deadline_timer
  66.       |       ^~~~~~~~~~~~~~~~~~~~
  67. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  68.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  69.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  70. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: previous declaration ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’ used 2 template parameters
  71.    52 |         class basic_deadline_timer;
  72.       |               ^~~~~~~~~~~~~~~~~~~~
  73. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:25:
  74. /usr/include/boost/asio/deadline_timer.hpp:32:54: error: wrong number of template arguments (1, should be 2)
  75.    32 | typedef basic_deadline_timer<boost::posix_time::ptime> deadline_timer;
  76.       |                                                      ^
  77. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  78.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  79.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  80. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: provided for ‘template<class Time, class TimeTraits> class boost::asio::basic_deadline_timer’
  81.    52 |         class basic_deadline_timer;
  82.       |               ^~~~~~~~~~~~~~~~~~~~
  83. In file included from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:25:
  84. /usr/include/boost/asio/deadline_timer.hpp:32:56: error: conflicting declaration ‘typedef int boost::asio::deadline_timer’
  85.    32 | typedef basic_deadline_timer<boost::posix_time::ptime> deadline_timer;
  86.       |                                                        ^~~~~~~~~~~~~~
  87. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  88.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  89.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  90. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:54:89: 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’
  91.    54 |         typedef basic_deadline_timer<posix_time::ptime, time_traits<posix_time::ptime>> deadline_timer;
  92.       |                                                                                         ^~~~~~~~~~~~~~
  93. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::Close()’:
  94. /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> >’
  95.    55 |     _updateTimer->cancel();
  96.       |                 ^~
  97. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  98.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  99.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  100. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  101.    52 |         class basic_deadline_timer;
  102.       |               ^~~~~~~~~~~~~~~~~~~~
  103. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp: In member function ‘void RealmList::UpdateRealms(const boost::system::error_code&)’:
  104. /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> >’
  105.   170 |         _updateTimer->expires_from_now(boost::posix_time::seconds(_updateInterval));
  106.       |                     ^~
  107. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  108.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  109.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  110. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  111.    52 |         class basic_deadline_timer;
  112.       |               ^~~~~~~~~~~~~~~~~~~~
  113. /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> >’
  114.   171 |         _updateTimer->async_wait(std::bind(&RealmList::UpdateRealms, this, std::placeholders::_1));
  115.       |                     ^~
  116. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  117.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  118.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  119. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  120.    52 |         class basic_deadline_timer;
  121.       |               ^~~~~~~~~~~~~~~~~~~~
  122. make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:139: src/server/shared/CMakeFiles/shared.dir/Realm/Realm.cpp.o] Ошибка 1
  123. make[2]: *** Ожидание завершения заданий…
  124. In file included from /usr/include/c++/10/memory:83,
  125.                  from /home/grad/TBC_New/src/common/Common.h:44,
  126.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  127.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  128.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  129. /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> > >]’:
  130. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:46:79:   required from here
  131. /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> >’
  132.   962 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
  133.       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  134. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  135.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  136.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  137. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:52:15: note: declaration of ‘class boost::asio::basic_deadline_timer<boost::posix_time::ptime, boost::asio::time_traits<boost::posix_time::ptime> >’
  138.    52 |         class basic_deadline_timer;
  139.       |               ^~~~~~~~~~~~~~~~~~~~
  140. In file included from /usr/include/c++/10/memory:83,
  141.                  from /home/grad/TBC_New/src/common/Common.h:44,
  142.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  143.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  144.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  145. /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> >]’:
  146. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:47:79:   required from here
  147. /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>’
  148.   962 |     { return unique_ptr<_Tp>(new _Tp(std::forward<_Args>(__args)...)); }
  149.       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  150. In file included from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:22,
  151.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  152.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  153. /home/grad/TBC_New/src/common/Asio/AsioHacksFwd.h:59:19: note: declaration of ‘class boost::asio::ip::basic_resolver<boost::asio::ip::tcp>’
  154.    59 |             class basic_resolver;
  155.       |                   ^~~~~~~~~~~~~~
  156. In file included from /usr/include/c++/10/memory:83,
  157.                  from /home/grad/TBC_New/src/common/Common.h:44,
  158.                  from /home/grad/TBC_New/src/server/shared/Realm/Realm.h:21,
  159.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.h:23,
  160.                  from /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:19:
  161. /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> >]’:
  162. /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> > >]’
  163. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43:   required from here
  164. /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> >’
  165.    83 |  static_assert(sizeof(_Tp)>0,
  166.       |                ^~~~~~~~~~~
  167. /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>]’:
  168. /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> >]’
  169. /home/grad/TBC_New/src/server/shared/Realm/RealmList.cpp:28:43:   required from here
  170. /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>’
  171. make[2]: *** [src/server/shared/CMakeFiles/shared.dir/build.make:153: src/server/shared/CMakeFiles/shared.dir/Realm/RealmList.cpp.o] Ошибка 1
  172. make[1]: *** [CMakeFiles/Makefile2:1049: src/server/shared/CMakeFiles/shared.dir/all] Ошибка 2
  173. make: *** [Makefile:149: all] Ошибка 2
  174. [email protected]:~/TBC_New/build$
  175.  

A PHP Error was encountered

Severity: Core Warning

Message: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/lib/php/20170718/mcrypt.so (/usr/lib/php/20170718/mcrypt.so: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/mcrypt.so.so (/usr/lib/php/20170718/mcrypt.so.so: cannot open shared object file: No such file or directory))

Filename: Unknown

Line Number: 0

Backtrace: