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

Zakaria SABIR zakaria.sabir at uit.ac.ma
Wed Nov 6 02:08:56 PST 2019


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

zaksabir at gmail.com ; zakaria.sabir at uit.ac.ma

==============================================================
P

*Consider the environment. Please don't print this e-mail unless you have
to.*
ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20191106/5b9b5466/attachment.html>


More information about the Mini-NDN mailing list