codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
make all-recursive make[1]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist' Making all in ext/yahttp make[2]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp' Making all in yahttp make[3]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp/yahttp' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp/yahttp' make[3]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp' make[2]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist/ext/yahttp' make[2]: Entering directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist' CXX dnsdist-lua.o dnsdist-lua.cc: In lambda function: dnsdist-lua.cc:359:24: error: ‘NoRecurseAction’ was not declared in this scope std::make_shared<NoRecurseAction>() }); ^ dnsdist-lua.cc:359:41: error: no matching function for call to ‘make_shared()’ std::make_shared<NoRecurseAction>() }); ^ dnsdist-lua.cc:359:41: note: candidate is: In file included from /usr/include/c++/4.8/memory:82:0, from ext/luawrapper/include/LuaContext.hpp:40, from dnsdist.hh:2, from dnsdist-lua.cc:1: /usr/include/c++/4.8/bits/shared_ptr.h:610:5: note: template<class _Tp, class ... _Args> std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) make_shared(_Args&&... __args) ^ /usr/include/c++/4.8/bits/shared_ptr.h:610:5: note: template argument deduction/substitution failed: dnsdist-lua.cc:359:41: error: template argument 1 is invalid std::make_shared<NoRecurseAction>() }); ^ dnsdist-lua.cc:359:45: error: no matching function for call to ‘std::vector<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >::push_back(<brace-enclosed initializer list>)’ std::make_shared<NoRecurseAction>() }); ^ dnsdist-lua.cc:359:45: note: candidates are: In file included from /usr/include/c++/4.8/vector:64:0, from /usr/include/c++/4.8/bits/random.h:34, from /usr/include/c++/4.8/random:50, from /usr/include/c++/4.8/bits/stl_algo.h:65, from /usr/include/c++/4.8/algorithm:62, from ext/luawrapper/include/LuaContext.hpp:31, from dnsdist.hh:2, from dnsdist-lua.cc:1: /usr/include/c++/4.8/bits/stl_vector.h:901:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >; _Alloc = std::allocator<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >] push_back(const value_type& __x) ^ /usr/include/c++/4.8/bits/stl_vector.h:901:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const value_type& {aka const std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >&}’ /usr/include/c++/4.8/bits/stl_vector.h:919:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >; _Alloc = std::allocator<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >] push_back(value_type&& __x) ^ /usr/include/c++/4.8/bits/stl_vector.h:919:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> > >::value_type&& {aka std::pair<std::shared_ptr<DNSRule>, std::shared_ptr<DNSAction> >&&}’ make[2]: *** [dnsdist-lua.o] Error 1 make[2]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/burak/Desktop/YEDEK/pdns/pdns/dnsdistdist' make: *** [all] Error 2
Private
[
?
]
Run code
Submit