[Mini-NDN] reg:NFD

Saurab Dulal (sdulal) sdulal at memphis.edu
Sun Jul 28 10:25:06 PDT 2019


Hi D.Kavi Priya,

This is a linking problem. Either you have multiple version of ndn-cxx installed in your system or the latest version is not installed yet. Please check ndn-cxx installation directory (default: /usr/local/lib/libndn*) and see if it’s the latest one. if not, remove all the old versions, pull the latest one, compile and install it. Also do the same for NFD (pull, compile and install latest one).

Saurab,



From: KaviPriya D <kavipriyad at ssn.edu.in>
Date: Sunday, July 28, 2019 at 12:44 AM
To: "Saurab Dulal (sdulal)" <sdulal at memphis.edu>, "mini-ndn at lists.cs.ucla.edu" <mini-ndn at lists.cs.ucla.edu>
Subject: Re: [Mini-NDN] reg:NFD

Hi saurab,
I tried what did u said.But i get same error.

[154/156] Linking build/bin/ndn-autoconfig
[155/156] Linking build/bin/ndn-autoconfig-server
[156/156] Linking build/bin/nfdc
../tools/ndn-autoconfig/main.cpp:93: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
../tools/ndn-autoconfig/main.cpp:90: error: undefined reference to 'ndn::scheduler::Scheduler::Scheduler(boost::asio::io_service&)'
../tools/ndn-autoconfig/main.cpp:90: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'
../tools/ndn-autoconfig/main.cpp:90: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'
collect2: error: ld returned 1 exit status

/usr/include/c++/7/bits/unique_ptr.h:825: error: undefined reference to 'ndn::scheduler::Scheduler::Scheduler(boost::asio::io_service&)'
/usr/include/c++/7/bits/unique_ptr.h:78: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'
/usr/include/c++/7/bits/unique_ptr.h:78: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'
../daemon/face/lp-reassembler.cpp:117: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
/usr/local/include/ndn-cxx/detail/cancel-handle.hpp:126: error: undefined reference to 'ndn::scheduler::EventId::operator bool() const'
../daemon/face/lp-reliability.cpp:202: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
../daemon/face/lp-reliability.cpp:83: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
../daemon/face/lp-reliability.cpp:298: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
../daemon/face/lp-reliability.cpp:117: error: undefined reference to 'ndn::util::RttEstimator::addMeasurement(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, unsigned long, nonstd::optional_lite::optional<unsigned long>)'
../daemon/mgmt/fib-manager.cpp:128: error: undefined reference to 'ndn::nfd::NextHopRecord::setEndpointId(unsigned long)'
../daemon/mgmt/fib-manager.cpp:128: error: undefined reference to 'ndn::nfd::NextHopRecord::setEndpointId(unsigned long)'
../daemon/mgmt/manager-base.cpp:70: error: undefined reference to 'ndn::KeyLocator::getType() const'
/usr/local/include/ndn-cxx/interest.hpp:371: error: undefined reference to 'ndn::Interest::s_autoCheckParametersDigest'
/usr/include/boost/log/utility/formatting_ostream.hpp:870: error: undefined reference to 'ndn::scheduler::operator<<(std::ostream&, ndn::scheduler::EventId const&)'
../daemon/rib/rib.cpp:122: error: undefined reference to 'ndn::scheduler::EventId::operator bool() const'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/kavipriya/minindnsimulation/NFD/build'
Build failed
 -> task in 'ndn-autoconfig' failed with exit status 1 (run with -v to display more information)
 -> task in 'nfd' failed with exit status 1 (run with -v to display more information)

Thanks and Regards,
D.Kavi Priya,
Research Scholar,
Dept of Computer Science and Engineering,
SSN College of Engineering.Anna University,
Chennai, India.


On Sun, Jul 28, 2019 at 10:28 AM Saurab Dulal (sdulal) <sdulal at memphis.edu<mailto:sdulal at memphis.edu>> wrote:
Hi D.Kavi Priya,

Don’t use sudo just to compile NFD or any other ndn lib/package unless specifically required. Delete the NFD build folder, and recompile it. But before, recompile/install ndn-cxx.

Also, in case of error or build failure, please post full error message. The one which you have posted doesn’t gives much information.

Saurab,

From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu<mailto:mini-ndn-bounces at lists.cs.ucla.edu>> on behalf of KaviPriya D <kavipriyad at ssn.edu.in<mailto:kavipriyad at ssn.edu.in>>
Date: Saturday, July 27, 2019 at 4:04 AM
To: "mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>" <mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>>, "Lan Wang (lanwang)" <lanwang at memphis.edu<mailto:lanwang at memphis.edu>>
Subject: [Mini-NDN] reg:NFD

Hi pals,
While i give sudo ./waf in NFD. I m getting following error. How to clear the error. Can anyone help me?

Build failed
 -> task in 'ndn-autoconfig' failed with exit status 1 (run with -v to display more information)
 -> task in 'nfd' failed with exit status 1 (run with -v to display more information)

Thanks and Regards,
D.Kavi Priya,
Research Scholar,
Dept of Computer Science and Engineering,
SSN College of Engineering.Anna University,
Chennai, India.

::DISCLAIMER::

---------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and

intended for the named recipient(s) only. Views or opinions, if any,

presented in this email are solely those of the author and may not

necessarily reflect the views or opinions of SSN Institutions (SSN) or its

affiliates. Any form of reproduction, dissemination, copying, disclosure,

modification, distribution and / or publication of this message without the

prior written consent of authorized representative of SSN is strictly

prohibited. If you have received this email in error please delete it and

notify the sender immediately.

---------------------------------------------------------------------
Header of this mail should have a valid DKIM signature for the domain ssn.edu.in<http://www.ssn.edu.in/>

::DISCLAIMER::

---------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and

intended for the named recipient(s) only. Views or opinions, if any,

presented in this email are solely those of the author and may not

necessarily reflect the views or opinions of SSN Institutions (SSN) or its

affiliates. Any form of reproduction, dissemination, copying, disclosure,

modification, distribution and / or publication of this message without the

prior written consent of authorized representative of SSN is strictly

prohibited. If you have received this email in error please delete it and

notify the sender immediately.

---------------------------------------------------------------------
Header of this mail should have a valid DKIM signature for the domain ssn.edu.in<http://www.ssn.edu.in/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20190728/83c7961a/attachment-0001.html>


More information about the Mini-NDN mailing list