Jump to content

не компілиться stargazer після оновлення системи з 13.1 на 13.3


Recommended Posts

Після оновлення на 13.3 не вдається скомпілити stargazer, вилітає з помилками (це кінцівка):

 

In file included from /usr/include/c++/v1/string:569:
In file included from /usr/include/c++/v1/__algorithm/remove.h:12:
/usr/include/c++/v1/__algorithm/find.h:17:10: fatal error: '__string/constexpr_c_functions.h' file not found
   17 | #include <__string/constexpr_c_functions.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./user_impl.cpp:35:
In file included from ./user_impl.h:30:
In file included from ../../include/stg/user.h:25:
In file included from ../../include/stg/message.h:14:
In file included from /usr/include/c++/v1/string:569:
In file included from /usr/include/c++/v1/__algorithm/remove.h:12:
/usr/include/c++/v1/__algorithm/find.h:17:10: fatal error: '__string/constexpr_c_functions.h' file not found
   17 | #include <__string/constexpr_c_functions.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./user_property.cpp:1:
In file included from ../../include/stg/user_property.h:13:
In file included from /usr/include/c++/v1/string:569:
In file included from /usr/include/c++/v1/__algorithm/remove.h:12:
/usr/include/c++/v1/__algorithm/find.h:17:10: fatal error: '__string/constexpr_c_functions.h' file not found
   17 | #include <__string/constexpr_c_functions.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from ./users_impl.cpp:39:
In file included from /usr/include/c++/v1/algorithm:1751:
In file included from /usr/include/c++/v1/__algorithm/copy.h:12:
In file included from /usr/include/c++/v1/__algorithm/copy_move_common.h:14:
In file included from /usr/include/c++/v1/__algorithm/unwrap_range.h:19:
In file included from /usr/include/c++/v1/__utility/pair.h:17:
/usr/include/c++/v1/__fwd/get.h:18:10: fatal error: '__tuple/tuple_element.h' file not found
   18 | #include <__tuple/tuple_element.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
deps:1: *** пропущен разделитель.  Останов.

Link to post
Share on other sites

з base.txz розпакував недостаючі каталоги, тепер помилка далі:

 

gmake[2]: выход из каталога «/usr/home/andrey/stg3/stg-2.409/stglibs/dotconfpp.lib»
gmake[2]: вход в каталог «/usr/home/andrey/stg3/stg-2.409/stglibs/smux.lib»
gmake[2]: Цель «all» не требует выполнения команд.
gmake[2]: выход из каталога «/usr/home/andrey/stg3/stg-2.409/stglibs/smux.lib»
gmake[1]: выход из каталога «/usr/home/andrey/stg3/stg-2.409/stglibs»
gmake -C /home/andrey/stg3/stg-2.409/projects/stargazer/plugins
gmake[1]: вход в каталог «/usr/home/andrey/stg3/stg-2.409/projects/stargazer/plugins»
gmake  -C authorization/ao
gmake[2]: вход в каталог «/usr/home/andrey/stg3/stg-2.409/projects/stargazer/plugins/authorization/ao»
clang++ -c ao.cpp -I/usr/local/include -DARCH_LE -fPIC -DNDEBUG -DFREE_BSD5 -I /home/andrey/stg3/stg-2.409/projects/stargazer/../../include -I ../../../../../stglibs/scriptexecuter.lib/include -I ../../../../../stglibs/logger.lib/include -I ../../../../../stglibs/common.lib/include -I /home/andrey/stg3/stg-2.409/projects/stargazer/../../include -DNDEBUG -DFREE_BSD5
ao.cpp:56:37: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
   56 | class IS_CONTAINS_USER: public std::binary_function<varType, USER_PTR, bool>
      |                                ~~~~~^~~~~~~~~~~~~~~
      |                                     __binary_function
/usr/include/c++/v1/__functional/binary_function.h:49:1: note: '__binary_function' declared here
   49 | using __binary_function = __binary_function_keep_layout_base<_Arg1, _Arg2, _Result>;
      | ^
ao.cpp:89:56: error: no member named 'bind1st' in namespace 'std'
   89 | std::for_each(usersList.begin(), usersList.end(), std::bind1st(std::mem_fun(&AUTH_AO::UpdateUserAuthorization), this));
      |                                                   ~~~~~^
ao.cpp:89:69: error: no member named 'mem_fun' in namespace 'std'
   89 | std::for_each(usersList.begin(), usersList.end(), std::bind1st(std::mem_fun(&AUTH_AO::UpdateUserAuthorization), this));
      |                                                                ~~~~~^
ao.cpp:154:19: error: use of undeclared identifier 'bind2nd'
  154 |                   bind2nd(IsContainsUserAOB, u));
      |                   ^
ao.cpp:164:19: error: use of undeclared identifier 'bind2nd'
  164 |                   bind2nd(IsContainsUserAOA, u));
      |                   ^
ao.cpp:182:24: error: use of undeclared identifier 'bind2nd'
  182 |                        bind2nd(IsContainsUserIPB, u));
      |                        ^
ao.cpp:192:19: error: use of undeclared identifier 'bind2nd'
  192 |                   bind2nd(IsContainsUserIPA, u));
      |                   ^
7 errors generated.
gmake[2]: *** [deps:37: ao.o] Ошибка 1
gmake[2]: выход из каталога «/usr/home/andrey/stg3/stg-2.409/projects/stargazer/plugins/authorization/ao»
gmake[1]: *** [Makefile:13: authorization/ao] Ошибка 2
gmake[1]: выход из каталога «/usr/home/andrey/stg3/stg-2.409/projects/stargazer/plugins»
gmake: *** [Makefile:64: plugins] Ошибка 2

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...