<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Problem seems to have resolved here and was a case of mixing source install with PPA (apt) install:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="https://github.com/named-data/mini-ndn/issues/41" id="LPNoLP324902">https://github.com/named-data/mini-ndn/issues/41</a></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Ashlesh<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Zakaria SABIR <zakaria.sabir@uit.ac.ma><br>
<b>Sent:</b> Wednesday, November 6, 2019 4:08 AM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> [Mini-NDN] ndn-tools build failed on Ubuntu 16.04 LTS</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<p style="box-sizing:border-box; margin-bottom:16px; color:rgb(36,41,46); font-size:14px; margin-top:0px">
Hi,</p>
<p style="box-sizing:border-box; margin-top:0px; margin-bottom:16px; color:rgb(36,41,46); font-size:14px">
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 (<a rel="nofollow" href="http://minindn.memphis.edu/mini_ndn_installation.php" style="box-sizing:border-box; color:rgb(3,102,214); text-decoration-line:none">http://minindn.memphis.edu/mini_ndn_installation.php</a>).
 The command "./waf configure" ran successfully, but the next command "./waf" doesn't. I have always errors:</p>
<p style="box-sizing:border-box; margin-top:0px; margin-bottom:16px; font-size:14px">
<b style="color:rgb(36,41,46)">zakaria@ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf configure</b><br>
<font color="#24292e">[sudo] password for zakaria: </font><br>
<font color="#24292e">Setting top to                           : /home/zakaria/mini-ndn/ndn-tools
</font><br>
<font color="#24292e">Setting out to                           : /home/zakaria/mini-ndn/ndn-tools/build
</font><br>
<font color="#24292e">Checking for 'g++' (C++ compiler)        : /usr/bin/g++ </font>
<br>
<font color="#24292e">Checking C++ compiler version            : 5.4.0 </font><br>
<font color="#24292e">Checking supported CXXFLAGS              : -std=c++14 </font>
<br>
<font color="#24292e">Checking supported LINKFLAGS             : -fuse-ld=gold </font>
<br>
<font color="#24292e">Checking for program 'sphinx-build'      : /usr/local/bin/sphinx-build
</font><br>
<font color="#24292e">Checking for program 'pkg-config'        : /usr/bin/pkg-config
</font><br>
<font color="#24292e">Checking for 'libndn-cxx'                : yes </font><br>
<font color="#24292e">Checking for program 'dpkg-architecture' : /usr/bin/dpkg-architecture
</font><br>
<font color="#24292e">Checking boost includes                  : 1.58.0 </font><br>
<font color="#24292e">Checking boost libs                      : boost_system boost_program_options boost_filesystem
</font><br>
<font color="#24292e">Checking for boost linkage               : ok </font><br>
<font color="#24292e">Checking for 'libpcap'                   : yes </font><br>
<font color="#24292e">Checking if struct tcphdr has member th_off  : yes </font><br>
<font color="#24292e">Checking if struct udphdr has member uh_ulen : yes </font><br>
<font color="#24292e">Checking supported CXXFLAGS                  : -O2 -g -pedantic -Wall -Wextra -Wnon-virtual-dtor -Wno-unused-parameter -fdiagnostics-color
</font><br>
<font color="#24292e">Checking supported LINKFLAGS                 : -Wl,-O1 </font>
<br>
<font color="#24292e">Tools to build                               : peek, dump, dissect, ping, chunks, dissect-wireshark
</font><br>
<font color="#24292e">'configure' finished successfully (16.311s)</font><br>
<b style="color:rgb(36,41,46)">zakaria@ubuntu:~/mini-ndn/ndn-tools$ sudo ./waf</b><br>
<font color="#24292e">Waf: Entering directory `/home/zakaria/mini-ndn/ndn-tools/build'</font><br>
<font color="#24292e">[ 5/39] Linking build/bin/ndnpeek</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/</font>ndnpeek.hpp<font color="#24292e">:61: error: undefined reference to 'ndn::scheduler::Scheduler::~Scheduler()'</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/main.cpp:182: error: undefined reference to 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/main.cpp:197: error: undefined reference to 'ndn::io::loadBuffer(std::istream&, ndn::io::IoEncoding)'</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/ndnpeek.cpp:38: error: undefined reference to 'ndn::scheduler::Scheduler::Scheduler(boost::asio::io_service&)'</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/ndnpeek.cpp:70: error: undefined reference to 'ndn::Interest::setHopLimit(nonstd::optional_lite::optional<unsigned char>)'</font><br>
<font color="#24292e">../tools/peek/</font>ndnpeek<font color="#24292e">/ndnpeek.cpp:51: error: undefined reference to 'ndn::scheduler::Scheduler::schedule(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> >, std::function<void ()>)'</font><br>
<font color="#24292e">collect2: error: ld returned 1 exit status</font><br>
<br>
<font color="#24292e">Waf: Leaving directory `/home/zakaria/mini-ndn/ndn-tools/build'</font><br>
<font color="#ff0000"><b>Build failed<br>
 -> task in 'ndnpeek' failed with exit status 1 (run with -v to display more information)</b></font><br>
</p>
<p style="box-sizing:border-box; margin-top:0px; color:rgb(36,41,46); font-size:14px; margin-bottom:0px">
Could you help me, please?<br style="box-sizing:border-box">
Thanks in advance.</p>
</div>
<br clear="all">
<div>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font color="#333333" face="Georgia"><span style="font-size:12.6px; letter-spacing:0.14px">--</span></font><br>
<div>
<div>
<div style="font-size:12.8px"><span style="color:rgb(0,0,255); font-family:"comic sans ms",sans-serif; font-size:small">==============================================================</span><br>
</div>
<div style="font-size:12.8px"><font size="2" face="georgia, serif"><span style="color:rgb(0,0,255)">Zakaria SABIR, </span><span style="color:rgb(0,0,255)">Ph.D. Student, Computer Sciences, Connected Vehicles,</span></font></div>
<span style="font-size:12.8px; color:rgb(136,136,136)"><font size="2" face="georgia, serif">
<div><font color="#0000ff">Systems Engineering Laboratory, </font><a href="http://ensa.uit.ac.ma/" target="_blank">National School of Applied Sciences</a>,      </div>
<div><font color="#0000ff"><a href="http://www.uit.ac.ma/" target="_blank">Ibn Tofail University</a>, Kenitra, Morocco                                                             </font></div>
</font></span>
<div style="font-size:12.8px; color:rgb(80,0,80)"><font size="2" face="georgia, serif"><font color="#0000ff"><img src="https://docs.google.com/uc?export=download&id=0B7D6c4p4-LmXaGtYUWNDb0hVems&revid=0B7D6c4p4-LmXemtyZldXWVgrR1JuNTBmUkNNYzdFN29SZzBRPQ"></font><a href="mailto:zaksabir@gmail.com" target="_blank">zaksabir@gmail.com</a> ; <a href="mailto:zakaria.sabir@uit.ac.ma" target="_blank">zakaria.sabir@uit.ac.ma</a> 
                                      </font></div>
<div style="font-size:12.8px"><span style="color:rgb(0,0,255); font-family:"comic sans ms",sans-serif; font-size:small">==============================================================</span><br>
</div>
</div>
</div>
<div style="font-size:12.8px"><span style="font-size:18pt; text-align:center; color:rgb(91,136,40); font-family:Webdings">P</span><i style="font-size:16px; text-align:center; color:rgb(91,136,40); font-family:verdana,helvetica,sans-serif"><span style="font-size:10pt; font-family:Arial,sans-serif"> </span></i><i style="font-size:12.8px; font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">
<p style="margin:0px; display:inline"><b><span lang="EN-US" style="margin:0px; font-family:New"><font size="2" color="#6aa84f">Consider the environment. Please don't print this e-mail unless you have to.</font></span></b></p>
</i><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px; max-height:0px; overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemFrYXJpYS5zYWJpckB1aXQuYWMubWE%3D&type=zerocontent&guid=ba7f523f-7224-4d62-91e2-d5c1e6559c19"><font color="#ffffff" size="1">ᐧ</font></div>
<img style="width:0; max-height:0; overflow:hidden" src="https://my-email-signature.link/signature.gif?u=128007&e=74047980&v=2f73457b4e95ae2c26b62e31296575c0dd51898e4765f7054efd8730a976379c">
</div>
</body>
</html>