[Mini-NDN] ndn-tools build failed on Ubuntu 16.04 LTS

Ashlesh Gawande (agawande) agawande at memphis.edu
Thu Nov 7 09:22:03 PST 2019


Problem seems to have resolved here and was a case of mixing source install with PPA (apt) install:
https://github.com/named-data/mini-ndn/issues/41

Ashlesh
________________________________
From: Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of Zakaria SABIR <zakaria.sabir at uit.ac.ma>
Sent: Wednesday, November 6, 2019 4:08 AM
To: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>
Subject: [Mini-NDN] ndn-tools build failed on Ubuntu 16.04 LTS


Hi,

I have a problem with the build of ndn-tools. In fact, it's my first time installing mini-ndn, so I am following the tutorial on the official website (http://minindn.memphis.edu/mini_ndn_installation.php). The command "./waf configure" ran successfully, but the next command "./waf" doesn't. I have always errors:

zakaria at ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf configure
[sudo] password for zakaria:
Setting top to                           : /home/zakaria/mini-ndn/ndn-tools
Setting out to                           : /home/zakaria/mini-ndn/ndn-tools/build
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking C++ compiler version            : 5.4.0
Checking supported CXXFLAGS              : -std=c++14
Checking supported LINKFLAGS             : -fuse-ld=gold
Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-build
Checking for program 'pkg-config'        : /usr/bin/pkg-config
Checking for 'libndn-cxx'                : yes
Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture
Checking boost includes                  : 1.58.0
Checking boost libs                      : boost_system boost_program_options boost_filesystem
Checking for boost linkage               : ok
Checking for 'libpcap'                   : yes
Checking if struct tcphdr has member th_off  : yes
Checking if struct udphdr has member uh_ulen : yes
Checking supported CXXFLAGS                  : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color
Checking supported LINKFLAGS                 : -Wl,-O1
Tools to build                               : peek, dump, dissect, ping, chunks, dissect-wireshark
'configure' finished successfully (16.311s)
zakaria at ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf
Waf: Entering directory `/home/zakaria/mini-ndn/ndn-tools/build'
[ 5/39] Linking build/bin/ndnpeek
../tools/peek/ndnpeek/ndnpeek.hpp:61: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'
../tools/peek/ndnpeek/main.cpp:182: error: undefined reference to 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'
../tools/peek/ndnpeek/main.cpp:197: error: undefined reference to 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'
../tools/peek/ndnpeek/ndnpeek.cpp:38: error: undefined reference to 'ndn::scheduler::Scheduler::Scheduler(boost::asio::io_service&)'
../tools/peek/ndnpeek/ndnpeek.cpp:70: error: undefined reference to 'ndn::Interest::setHopLimit(nonstd::optional_lite::optional<unsigned char>)'
../tools/peek/ndnpeek/ndnpeek.cpp:51: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/zakaria/mini-ndn/ndn-tools/build'
Build failed
 -> task in 'ndnpeek' failed with exit status 1 (run with -v to display more information)

Could you help me, please?
Thanks in advance.

--
==============================================================
Zakaria SABIR, Ph.D. Student, Computer Sciences, Connected Vehicles,
Systems Engineering Laboratory, National School of Applied Sciences<http://ensa.uit.ac.ma/>,
Ibn Tofail University<http://www.uit.ac.ma/>, Kenitra, Morocco
[https://docs.google.com/uc?export=download&id=0B7D6c4p4-LmXaGtYUWNDb0hVems&revid=0B7D6c4p4-LmXemtyZldXWVgrR1JuNTBmUkNNYzdFN29SZzBRPQ]zaksabir at gmail.com<mailto:zaksabir at gmail.com> ; zakaria.sabir at uit.ac.ma<mailto:zakaria.sabir at uit.ac.ma>
==============================================================
P

Consider the environment. Please don't print this e-mail unless you have to.

[https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=ba7f523f-7224-4d62-91e2-d5c1e6559c19]ᐧ
[https://my-email-signature.link/signature.gif?u=128007&e=74047980&v=2f73457b4e95ae2c26b62e31296575c0dd51898e4765f7054efd8730a976379c]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20191107/157dd58a/attachment.html>


More information about the Mini-NDN mailing list