进入目录 = enter dir 无需做任何事 = need nothing to do 离开目录 = leave dir 错误 = error my g++ version is : g++ (Uos 8.3.0.3-3+rebuild) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Making all in res make[1]: 进入目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/res” make[1]: 对“all”无需做任何事。 make[1]: 离开目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/res” Making all in src make[1]: 进入目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src” make all-recursive make[2]: 进入目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src” Making all in filezilla make[3]: 进入目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src/filezilla” /bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -I/usr/include/p11-kit-1 -fno-exceptions -g -O2 -MT acme/libfilezilla_common_la-cert_info.lo -MD -MP -MF acme/.deps/libfilezilla_common_la-cert_info.Tpo -c -o acme/libfilezilla_common_la-cert_info.lo `test -f 'acme/cert_info.cpp' || echo './'`acme/cert_info.cpp libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -I/usr/include/p11-kit-1 -fno-exceptions -g -O2 -MT acme/libfilezilla_common_la-cert_info.lo -MD -MP -MF acme/.deps/libfilezilla_common_la-cert_info.Tpo -c acme/cert_info.cpp -fPIC -DPIC -o acme/.libs/libfilezilla_common_la-cert_info.o libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -I/usr/include/p11-kit-1 -fno-exceptions -g -O2 -MT acme/libfilezilla_common_la-cert_info.lo -MD -MP -MF acme/.deps/libfilezilla_common_la-cert_info.Tpo -c acme/cert_info.cpp -o acme/libfilezilla_common_la-cert_info.o >/dev/null 2>&1 mv -f acme/.deps/libfilezilla_common_la-cert_info.Tpo acme/.deps/libfilezilla_common_la-cert_info.Plo /bin/bash ../../libtool --tag=CXX --mode=compile g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -I/usr/include/p11-kit-1 -fno-exceptions -g -O2 -MT acme/libfilezilla_common_la-client.lo -MD -MP -MF acme/.deps/libfilezilla_common_la-client.Tpo -c -o acme/libfilezilla_common_la-client.lo `test -f 'acme/client.cpp' || echo './'`acme/client.cpp libtool: compile: g++ -std=c++17 -DHAVE_CONFIG_H -I. -I../../src -I/usr/local/include -I/usr/include/p11-kit-1 -fno-exceptions -g -O2 -MT acme/libfilezilla_common_la-client.lo -MD -MP -MF acme/.deps/libfilezilla_common_la-client.Tpo -c acme/client.cpp -fPIC -DPIC -o acme/.libs/libfilezilla_common_la-client.o In file included from acme/../http/client.hpp:13, from acme/client.hpp:10, from acme/client.cpp:1: acme/../http/../util/options.hpp: In instantiation of ‘fz::util::options::opt::opt(fz::util::options::opt&&) [with U = fz::util::options::empty; Value = std::function; Holder = fz::http::client::options]’: acme/../http/client.hpp:36:55: required from here acme/../http/../util/options.hpp:30:37: error: call of overloaded ‘function(std::remove_reference::empty&>::type)’ is ambiguous , holder_(std::move(rhs.holder_)) ^ In file included from /usr/include/c++/8/functional:59, from /usr/local/include/libfilezilla/thread.hpp:6, from /usr/local/include/libfilezilla/event_loop.hpp:8, from /usr/local/include/libfilezilla/event_handler.hpp:4, from /usr/local/include/libfilezilla/socket.hpp:13, from /usr/local/include/libfilezilla/tls_layer.hpp:8, from acme/client.hpp:8, from acme/client.cpp:1: /usr/include/c++/8/bits/std_function.h:422:7: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(std::function<_Res(_ArgTypes ...)>&&) [with _Res = void; _ArgTypes = {fz::http::response&&}]’ function(function&& __x) noexcept : _Function_base() ^~~~~~~~ /usr/include/c++/8/bits/std_function.h:652:5: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(const std::function<_Res(_ArgTypes ...)>&) [with _Res = void; _ArgTypes = {fz::http::response&&}]’ function<_Res(_ArgTypes...)>:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/8/bits/std_function.h:402:7: note: candidate: ‘std::function<_Res(_ArgTypes ...)>::function(std::nullptr_t) [with _Res = void; _ArgTypes = {fz::http::response&&}; std::nullptr_t = std::nullptr_t]’ function(nullptr_t) noexcept ^~~~~~~~ In file included from acme/../http/client.hpp:13, from acme/client.hpp:10, from acme/client.cpp:1: acme/../http/../util/options.hpp: In instantiation of ‘fz::util::options::opt::opt(fz::util::options::opt&&) [with U = fz::util::options::empty; Value = fz::http::headers; Holder = fz::http::client::options]’: acme/../http/client.hpp:37:55: required from here acme/../http/../util/options.hpp:30:37: error: call of overloaded ‘headers(std::remove_reference::empty&>::type)’ is ambiguous , holder_(std::move(rhs.holder_)) ^ In file included from /usr/include/c++/8/map:61, from /usr/local/include/libfilezilla/json.hpp:9, from /usr/local/include/libfilezilla/jws.hpp:8, from acme/client.hpp:6, from acme/client.cpp:1: /usr/include/c++/8/bits/stl_map.h:192:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::map(const _Compare&, const allocator_type&) [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = fz::less_insensitive_ascii; _Alloc = std::allocator, std::__cxx11::basic_string > >; std::map<_Key, _Tp, _Compare, _Alloc>::allocator_type = std::allocator, std::__cxx11::basic_string > >]’ map(const _Compare& __comp, ^~~ In file included from acme/../http/request.hpp:7, from acme/../http/client.hpp:15, from acme/client.hpp:10, from acme/client.cpp:1: acme/../http/headers.hpp:53:13: note: inherited here using map::map; ^~~ In file included from /usr/include/c++/8/map:61, from /usr/local/include/libfilezilla/json.hpp:9, from /usr/local/include/libfilezilla/jws.hpp:8, from acme/client.hpp:6, from acme/client.cpp:1: /usr/include/c++/8/bits/stl_map.h:226:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::map(std::initializer_list >, const _Compare&, const allocator_type&) [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = fz::less_insensitive_ascii; _Alloc = std::allocator, std::__cxx11::basic_string > >; std::map<_Key, _Tp, _Compare, _Alloc>::allocator_type = std::allocator, std::__cxx11::basic_string > >]’ map(initializer_list __l, ^~~ In file included from acme/../http/request.hpp:7, from acme/../http/client.hpp:15, from acme/client.hpp:10, from acme/client.cpp:1: acme/../http/headers.hpp:53:13: note: inherited here using map::map; ^~~ In file included from /usr/include/c++/8/map:61, from /usr/local/include/libfilezilla/json.hpp:9, from /usr/local/include/libfilezilla/jws.hpp:8, from acme/client.hpp:6, from acme/client.cpp:1: /usr/include/c++/8/bits/stl_map.h:234:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>::map(const allocator_type&) [with _Key = std::__cxx11::basic_string; _Tp = std::__cxx11::basic_string; _Compare = fz::less_insensitive_ascii; _Alloc = std::allocator, std::__cxx11::basic_string > >; std::map<_Key, _Tp, _Compare, _Alloc>::allocator_type = std::allocator, std::__cxx11::basic_string > >]’ map(const allocator_type& __a) ^~~ In file included from acme/../http/request.hpp:7, from acme/../http/client.hpp:15, from acme/client.hpp:10, from acme/client.cpp:1: acme/../http/headers.hpp:53:13: note: inherited here using map::map; ^~~ acme/../http/headers.hpp:12:7: note: candidate: ‘fz::http::headers::headers(const fz::http::headers&)’ class headers: public std::map ^~~~~~~ acme/../http/headers.hpp:12:7: note: candidate: ‘fz::http::headers::headers(fz::http::headers&&)’ make[3]: *** [Makefile:1032:acme/libfilezilla_common_la-client.lo] 错误 1 make[3]: 离开目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src/filezilla” make[2]: *** [Makefile:419:all-recursive] 错误 1 make[2]: 离开目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src” make[1]: *** [Makefile:358:all] 错误 2 make[1]: 离开目录“/home/fozei/code/c-cpp/filezilla-server-1.3.0/src” make: *** [Makefile:448:all-recursive] 错误 1