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] Error 1 gmake[2]: Leaving directory '/usr/local/ubinstaller/distfiles/stg-2.409/projects/stargazer/plugins/authorization/ao' gmake[1]: *** [Makefile:13: authorization/ao] Error 2 gmake[1]: Leaving directory '/usr/local/ubinstaller/distfiles/stg-2.409/projects/stargazer/plugins' gmake: *** [Makefile:64: plugins] Error 2 /usr/bin/clang++ -I/usr/local/include -DARCH_LE -DNDEBUG -DFREE_BSD5 -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/dotconfpp.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/common.lib/include -I ../../include -c admin_impl.cpp /usr/bin/clang++ -I/usr/local/include -DARCH_LE -DNDEBUG -DFREE_BSD5 -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/dotconfpp.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/common.lib/include -I ../../include -c admins_impl.cpp /usr/bin/clang++ -I/usr/local/include -DARCH_LE -DNDEBUG -DFREE_BSD5 -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/dotconfpp.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/common.lib/include -I ../../include -c corps_impl.cpp /usr/bin/clang++ -I/usr/local/include -DARCH_LE -DNDEBUG -DFREE_BSD5 -I ../../stglibs/scriptexecuter.lib/include -I ../../stglibs/dotconfpp.lib/include -I ../../stglibs/logger.lib/include -I ../../stglibs/common.lib/include -I ../../include -c eventloop.cpp In file included from eventloop.cpp:7: In file included from ./eventloop.h:7: ./actions.h:38:28: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? 38 | public std::unary_function | ~~~~~^~~~~~~~~~~~~~ | __unary_function /usr/include/c++/v1/__functional/unary_function.h:46:1: note: '__unary_function' declared here 46 | using __unary_function = __unary_function_keep_layout_base<_Arg, _Result>; | ^ In file included from eventloop.cpp:7: In file included from ./eventloop.h:7: In file included from ./actions.h:88: ./actions.inl.h:107:14: error: no member named 'mem_fun' in namespace 'std'; did you mean 'mem_fn'? 107 | std::mem_fun(&BASE_ACTION::Invoke) | ~~~~~^~~~~~~ | mem_fn /usr/include/c++/v1/__functional/mem_fn.h:51:1: note: 'mem_fn' declared here 51 | mem_fn(_Rp _Tp::* __pm) _NOEXCEPT | ^ 2 errors generated. gmake: *** [deps:40: eventloop.o] Error 1