

























thanks for the quick response
@cmosak I'm not sure how to fix these GCC compilation issues, however you can use Clang instead. I pushed an update.
/usr/include/c++/11.1.0/tr1/functional:2119:19: required from ‘std::tr1::function<_Res(_ArgTypes ...)>::function(_Functor, typename __gnu_cxx::__enable_if<(! std::tr1::is_integral<_Functor>::value), std::tr1::function<_Res(_ArgTypes ...)>::_Useless>::__type) [with _Functor = std::tr1::_Bind<int (*())() noexcept>; _Res = torrent::Object; _ArgTypes = {rpc::rt_triple<int, void*, void*>, const torrent::Object&}; typename __gnu_cxx::__enable_if<(! std::tr1::is_integral<_Functor>::value), std::tr1::function<_Res(_ArgTypes ...)>::_Useless>::__type = __gnu_cxx::__enable_if<true, std::tr1::function\<torrent::Object(rpc::rt_triple\<int, void*, void*>, const torrent::Object&)>::_Useless>::__type]’ rpc/command_map.h:117:43: required from ‘void rpc::CommandMap::insert_slot(std::map<const char*, rpc::command_map_data_type, rpc::command_map_comp>::key_type, Slot, rpc::command_base::any_slot, int, const char, const char) [with T = std::tr1::function<torrent::Object(rpc::rt_triple\<int, void*, void*>, const torrent::Object&);; Slot = std::tr1::_Bind<int (*())() noexcept>; std::map<const char*, rpc::command_map_data_type, rpc::command_map_comp>::key_type = const char; rpc::command_base::any_slot = const torrent::Object ()(rpc::command_base, rpc::rt_triple<int, void*, void*>, const torrent::Object&)]’ command_local.cc:230:3: required from here /usr/include/c++/11.1.0/tr1/functional:1159:18: error: return-statement with a value, in function returning ‘std::tr1::_Result_of_impl<false, int (*())() noexcept>::type’ {aka ‘void’} [-fpermissive] 1159 | return _M_f(_Mu<_Bound_args>() | ^~~~ mv -f .deps/command_logging.Tpo .deps/command_logging.Po make[3]: [Makefile:600: command_local.o] Error 1 make[3]: Leaving directory '/tmp/rtorrent-ps/src/rtorrent-0.9.6/src' make[2]: [Makefile:633: all-recursive] Error 1 make[2]: Leaving directory '/tmp/rtorrent-ps/src/rtorrent-0.9.6/src' make[1]: [Makefile:446: all-recursive] Error 1 make[1]: Leaving directory '/tmp/rtorrent-ps/src/rtorrent-0.9.6' make: * [Makefile:378: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
No issues here with a fresh installation, without openssl-1.1