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

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: