|
[root@thelaptop NFD]# ./waf clean
|
|
'clean' finished successfully (0.090s)
|
|
[root@thelaptop NFD]# ./waf
|
|
Waf: Entering directory `/home/susmit/Code/NFD/build'
|
|
[ 1/102] subst: version.hpp.in -> build/version.hpp
|
|
[ 2/102] gchx: common.hpp -> build/core-objects.2.gch
|
|
[ 3/102] subst: nfd.conf.sample.in -> build/nfd.conf.sample
|
|
[ 6/102] subst: tools/nfd-stop.sh -> build/bin/nfd-stop
|
|
[ 6/102] subst: tools/nfd-start.sh -> build/bin/nfd-start
|
|
[ 6/102] subst: tools/nfd-status-http-server.py -> build/bin/nfd-status-http-server
|
|
[ 7/102] cxx: core/logger-factory.cpp -> build/core/logger-factory.cpp.2.o
|
|
[ 8/102] cxx: daemon/fw/broadcast-strategy.cpp -> build/daemon/fw/broadcast-strategy.cpp.3.o
|
|
[ 9/102] cxx: daemon/table/fib.cpp -> build/daemon/table/fib.cpp.3.o
|
|
[ 10/102] cxx: daemon/table/strategy-choice-entry.cpp -> build/daemon/table/strategy-choice-entry.cpp.3.o
|
|
[ 11/102] cxx: tools/nfd-autoreg.cpp -> build/tools/nfd-autoreg.cpp.11.o
|
|
[ 12/102] cxx: daemon/face/udp-factory.cpp -> build/daemon/face/udp-factory.cpp.3.o
|
|
[ 13/102] cxx: daemon/fw/available-strategies.cpp -> build/daemon/fw/available-strategies.cpp.3.o
|
|
[ 14/102] cxx: daemon/mgmt/face-manager.cpp -> build/daemon/mgmt/face-manager.cpp.3.o
|
|
[ 15/102] cxx: daemon/mgmt/manager-base.cpp -> build/daemon/mgmt/manager-base.cpp.3.o
|
|
[ 16/102] cxx: tools/ndn-tlv-poke.cpp -> build/tools/ndn-tlv-poke.cpp.10.o
|
|
[ 17/102] cxx: daemon/mgmt/internal-face.cpp -> build/daemon/mgmt/internal-face.cpp.3.o
|
|
[ 18/102] cxx: daemon/table/cs-entry.cpp -> build/daemon/table/cs-entry.cpp.3.o
|
|
[ 19/102] cxx: core/city-hash.cpp -> build/core/city-hash.cpp.2.o
|
|
[ 20/102] cxx: core/network-interface.cpp -> build/core/network-interface.cpp.2.o
|
|
[ 21/102] cxx: daemon/face/tcp-face.cpp -> build/daemon/face/tcp-face.cpp.3.o
|
|
[ 22/102] cxx: daemon/fw/forwarder.cpp -> build/daemon/fw/forwarder.cpp.3.o
|
|
[ 23/102] cxx: daemon/mgmt/segment-publisher.cpp -> build/daemon/mgmt/segment-publisher.cpp.3.o
|
|
[ 24/102] cxx: daemon/table/measurements-accessor.cpp -> build/daemon/table/measurements-accessor.cpp.3.o
|
|
[ 25/102] cxx: rib/main.cpp -> build/rib/main.cpp.6.o
|
|
[ 26/102] cxx: daemon/face/ethernet-face.cpp -> build/daemon/face/ethernet-face.cpp.3.o
|
|
[ 27/102] cxx: daemon/mgmt/face-status-publisher.cpp -> build/daemon/mgmt/face-status-publisher.cpp.3.o
|
|
[ 28/102] cxx: rib/rib.cpp -> build/rib/rib.cpp.5.o
|
|
[ 29/102] cxx: daemon/face/tcp-channel.cpp -> build/daemon/face/tcp-channel.cpp.3.o
|
|
[ 30/102] cxx: core/privilege-helper.cpp -> build/core/privilege-helper.cpp.2.o
|
|
../daemon/face/tcp-channel.cpp: In member function ‘void nfd::TcpChannel::handleSuccessfulConnect(const boost::system::error_code&, const boost::shared_ptr<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&, const EventId&, const FaceCreatedCallback&, const ConnectFailedCallback&)’:
|
|
../daemon/face/tcp-channel.cpp:216:11: error: no match for ‘operator=’ (operand types are ‘const boost::system::error_code’ and ‘boost::system::error_code’)
|
|
error = anotherErrorCode;
|
|
^
|
|
../daemon/face/tcp-channel.cpp:216:11: note: candidates are:
|
|
In file included from /usr/include/boost/chrono/detail/system.hpp:12:0,
|
|
from /usr/include/boost/chrono/system_clocks.hpp:64,
|
|
from /usr/include/boost/chrono/chrono.hpp:13,
|
|
from /usr/include/boost/chrono/include.hpp:15,
|
|
from /usr/include/boost/chrono.hpp:17,
|
|
from /usr/local/include/ndn-cxx/util/time.hpp:26,
|
|
from /usr/local/include/ndn-cxx/name.hpp:31,
|
|
from /usr/local/include/ndn-cxx/interest.hpp:29,
|
|
from ./../common.hpp:47,
|
|
from <command-line>:0:
|
|
/usr/include/boost/system/error_code.hpp:342:11: note: template<class ErrorCodeEnum> typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum>, boost::system::error_code>::type& boost::system::error_code::operator=(ErrorCodeEnum)
|
|
operator=( ErrorCodeEnum val ) BOOST_SYSTEM_NOEXCEPT
|
|
^
|
|
/usr/include/boost/system/error_code.hpp:342:11: note: template argument deduction/substitution failed:
|
|
/usr/include/boost/system/error_code.hpp: In substitution of ‘template<class ErrorCodeEnum> typename boost::enable_if<boost::system::is_error_code_enum<ErrorCodeEnum>, boost::system::error_code>::type& boost::system::error_code::operator=(ErrorCodeEnum) [with ErrorCodeEnum = boost::system::error_code]’:
|
|
../daemon/face/tcp-channel.cpp:216:11: required from here
|
|
/usr/include/boost/system/error_code.hpp:342:11: error: no type named ‘type’ in ‘struct boost::enable_if<boost::system::is_error_code_enum<boost::system::error_code>, boost::system::error_code>’
|
|
/usr/include/boost/system/error_code.hpp:318:11: note: boost::system::error_code& boost::system::error_code::operator=(const boost::system::error_code&) <near match>
|
|
class error_code
|
|
^
|
|
/usr/include/boost/system/error_code.hpp:318:11: note: no known conversion for implicit ‘this’ parameter from ‘const boost::system::error_code*’ to ‘boost::system::error_code*’
|
|
At global scope:
|
|
cc1plus: error: unrecognized command line option "-Wno-unneeded-internal-declaration" [-Werror]
|
|
cc1plus: all warnings being treated as errors
|
|
|
|
Waf: Leaving directory `/home/susmit/Code/NFD/build'
|
|
Build failed
|
|
-> task in 'daemon-objects' failed (exit status 1):
|
|
{task 19074448: cxx tcp-channel.cpp -> tcp-channel.cpp.3.o}
|
|
['/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-Wno-unneeded-internal-declaration', '-O0', '-Og', '-g3', '-fdiagnostics-color', '-Werror', '-Wno-error=maybe-uninitialized', '-fPIC', '-include', '/home/susmit/Code/NFD/build/core-objects.2', '-I/home/susmit/Code/NFD/build/daemon', '-I/home/susmit/Code/NFD/daemon', '-I/home/susmit/Code/NFD/build', '-I/home/susmit/Code/NFD', '-I/home/susmit/Code/NFD/build/core', '-I/home/susmit/Code/NFD/core', '-I/usr/include', '-I/usr/local/include', '-I/home/susmit/Code/NFD/websocketpp', '../daemon/face/tcp-channel.cpp', '-c', '-o', '/home/susmit/Code/NFD/build/daemon/face/tcp-channel.cpp.3.o']
|
|
|