[Nfd-dev] Having problem while installing NFD
Alex Afanasyev
aa at cs.fiu.edu
Thu Sep 14 10:35:21 PDT 2017
Please pull the latest updates from ndn-cxx and NFD. We just merged to commit that fixes the compilation of the master branch of NFD.
--
Alex
> On Sep 14, 2017, at 1:15 PM, Md Toufiqul Islam <toufiqulislam.bd at gmail.com <mailto:toufiqulislam.bd at gmail.com>> wrote:
>
> Dear All,
>
> I hope all of you are doing well. I am having problem while trying to install NFD. I have installed all the dependencies that are required to install NFD. But everytime is tried to run the command: ./waf it gives me the following error. Can you please help:
>
> .
> .
> .
> .
> [103/158] Compiling daemon/fw/client-control-strategy.cpp
> [104/158] Compiling daemon/fw/process-nack-traits.cpp
>
> ../daemon/fw/process-nack-traits.cpp: In member function ‘void nfd::fw::ProcessNackTraitsBase::processNack(const nfd::face::Face&, const ndn::lp::Nack&, const std::shared_ptr<nfd::pit::Entry>&)’:
> ../daemon/fw/process-nack-traits.cpp:66:60: error: call of overloaded ‘isLessSevere(ndn::lp::NackReason, ndn::lp::NackReason&)’ is ambiguous
> if (isLessSevere(inNack->getReason(), leastSevereReason)) {
> ^
> ../daemon/fw/process-nack-traits.cpp:39:1: note: candidate: bool nfd::fw::isLessSevere(ndn::lp::NackReason, ndn::lp::NackReason)
> isLessSevere(lp::NackReason x, lp::NackReason y)
> ^~~~~~~~~~~~
> In file included from /usr/local/include/ndn-cxx/lp/nack.hpp:31:0,
> from ./../core/common.hpp:66,
> from <command-line>:0:
> /usr/local/include/ndn-cxx/lp/nack-header.hpp:54:1: note: candidate: bool ndn::lp::isLessSevere(ndn::lp::NackReason, ndn::lp::NackReason)
> isLessSevere(lp::NackReason x, lp::NackReason y);
> ^~~~~~~~~~~~
>
> Waf: Leaving directory `/home/toufiq/NFD/build'
> Build failed
> -> task in 'daemon-objects' failed (exit status 1):
> {task 140696484953104: cxx process-nack-traits.cpp -> process-nack-traits.cpp.3.o}
> ['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-pthread', '-include', '/home/toufiq/NFD/build/core-objects.2', '-I/home/toufiq/NFD/build/daemon', '-I/home/toufiq/NFD/daemon', '-I/home/toufiq/NFD/build', '-I/home/toufiq/NFD', '-I/usr/local/include', '-I/usr/include', '-I/home/toufiq/NFD/websocketpp', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '-DBOOST_LOG_DYN_LINK', '../daemon/fw/process-nack-traits.cpp', '-c', '-o', '/home/toufiq/NFD/build/daemon/fw/process-nack-traits.cpp.3.o']
>
>
> With best regards
> Toufiqul
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu <mailto:Nfd-dev at lists.cs.ucla.edu>
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170914/cba98e37/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20170914/cba98e37/attachment.sig>
More information about the Nfd-dev
mailing list