[Mini-NDN] error during the ndn-cxx build

Tanusree Chatterjee tnsr.chatterjee at gmail.com
Thu May 18 23:01:13 PDT 2017


Can you please tell me why the following error is coming?

./build/examples/producer
ERROR: error while connecting to the forwarder (No such file or directory)

there are all the files in ndn-cxx/build/examples

Thanks & Regards,

On Thu, May 18, 2017 at 9:23 AM, Tanusree Chatterjee <
tnsr.chatterjee at gmail.com> wrote:

> Yes. I apologize for mentioning it wrong.
> On May 18, 2017 4:54 AM, "Ashlesh Gawande (agawande)" <
> agawande at memphis.edu> wrote:
>
>> You need to pull the latest ndn-cxx from github (If you have installed it
>> from apt-get before you need to remove it completely: sudo apt-get remove
>> --purge nfd) and install it. Then do sudo ldconfig.
>>
>> (And that is an NFD build failure not ndn-cxx which seems to be already
>> installed in the system).
>>
>>
>> Ashlesh
>>
>> ------------------------------
>> *From:* Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of
>> Tanusree Chatterjee <tnsr.chatterjee at gmail.com>
>> *Sent:* Wednesday, May 17, 2017 4:50:44 AM
>> *To:* mini-ndn at lists.cs.ucla.edu
>> *Subject:* [Mini-NDN] error during the ndn-cxx build
>>
>> Hello,
>>
>> I have encountered the following error during the build of ndn-cxx.
>>
>>
>>
>>
>>
>>
>>
>> *tools/nfd-autoreg.cpp.2.o: In function `AutoregServer':
>> /home/rist/NFD/build/../tools/nfd-autoreg.cpp:56: undefined reference to
>> `ndn::nfd::FaceMonitor::FaceMonitor(ndn::Face&)' collect2: error: ld
>> returned 1 exit status daemon/face/generic-link-service.cpp.3.o: In
>> function `ndn::lp::Packet&
>> ndn::lp::Packet::add<ndn::lp::detail::FieldDecl<ndn::lp::field_location_tags::Header,
>> ndn::lp::NackHeader, 800ul, false>
>> >(ndn::lp::detail::FieldDecl<ndn::lp::field_location_tags::Header,
>> ndn::lp::NackHeader, 800ul, false>::ValueType const&)':
>> /usr/local/include/ndn-cxx/lp/packet.hpp:169: undefined reference to
>> `ndn::lp::Packet::comparePos(unsigned long, ndn::Block const&)' *
>> Is this for any version of ndn-cxx? How to debug it?
>>
>> --Thanks & Regards,
>> Tanusree Chatterjee
>>
>


-- 
Tanusree Chatterjee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170519/012b17da/attachment.html>


More information about the Mini-NDN mailing list