<div dir="ltr"><div><div><div>Dear John,<br><br></div>May I kindly ask you to explain a bit more?<br><br></div>Thanks,<br></div>C<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 5:49 PM, John Baugh <span dir="ltr"><<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Where is the CryptoPP installed?  It has to be in the directory that the scripts are looking for it in or the script needs modified.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Jun 27, 2017 11:47 AM, "Carl Zu" <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div><div><div><div>Hi Ashlesh<br><br></div>you are right. Did install log4xx. Now, the error is :<br><br>Checking for 'libndn-cxx'                  <wbr>                        : yes <br>Checking for 'liblog4cxx'                  <wbr>                        : yes <br>Checking for OpenSSL library                       <wbr>                : yes <br>Checking for 'protobuf'                    <wbr>                        : yes <br>Checking for program 'protoc'                      <wbr>                : /usr/bin/protoc <br>Checking for library pthread                       <wbr>                : yes <br>Checking for 'sqlite3'                     <wbr>                        : yes <br>Checking Crypto++ lib                           <wbr>                   : 5.6.1 <br>Checking if CryptoPP library works                         <wbr>        : no <br>Checking if CryptoPP library works                         <wbr>        : no <br><br><br></div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>-------------<br><br></div>Apart from the above question, can I, please, ask you the reason behind the error below (<b>when I build NFD</b>):<br><br>../tools/nfdc/main.cpp:66: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>../tools/nfdc/legacy-nfdc.cpp:<wbr>48: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>../tools/nfdc/status-report.cp<wbr>p:60: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>collect2: error: ld returned 1 exit status<br><br>../tools/ndn-autoconfig/base.c<wbr>pp:36: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>collect2: error: ld returned 1 exit status<br><br>../tools/nfd-autoreg.cpp:56: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>collect2: error: ld returned 1 exit status<br><br>/usr/include/c++/4.8/ext/new_a<wbr>llocator.h:120: error: undefined reference to 'ndn::Face::Face(std::shared_p<wbr>tr<ndn::Transport>, boost::asio::io_service&, ndn::security::v2::KeyChain&)'<br>../daemon/nfd.cpp:146: error: undefined reference to 'ndn::mgmt::Dispatcher::Dispat<wbr>cher(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::SigningInfo const&, unsigned long)'<br>../rib/rib-manager.cpp:68: error: undefined reference to 'ndn::nfd::Controller::Control<wbr>ler(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::Validator&)'<br>../rib/service.cpp:65: error: undefined reference to 'ndn::Face::Face(std::shared_p<wbr>tr<ndn::Transport>, boost::asio::io_service&, ndn::security::v2::KeyChain&)'<br>../rib/service.cpp:66: error: undefined reference to 'ndn::mgmt::Dispatcher::Dispat<wbr>cher(ndn::Face&, ndn::security::v2::KeyChain&, ndn::security::SigningInfo const&, unsigned long)'<br>collect2: error: ld returned 1 exit status<br><br><br></div>Thanks Ashlesh.<br></div>C<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 27, 2017 at 5:11 PM, Ashlesh Gawande (agawande) <span dir="ltr"><<a href="mailto:agawande@memphis.edu" target="_blank">agawande@memphis.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>

<div id="m_5413892913586943960m_9027740736641291605m_1369694926489158634divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Need to install log4cxx</p>
<p><a href="http://named-data.net/doc/NLSR/current/INSTALL.html" class="m_5413892913586943960m_9027740736641291605m_1369694926489158634OWAAutoLink" id="m_5413892913586943960m_9027740736641291605m_1369694926489158634LPlnk827731" target="_blank">http://named-data.net/doc/NLSR<wbr>/current/INSTALL.html</a><br>
</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_5413892913586943960m_9027740736641291605m_1369694926489158634divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> ndnSIM <<a href="mailto:ndnsim-bounces@lists.cs.ucla.edu" target="_blank">ndnsim-bounces@lists.cs.ucla.<wbr>edu</a>> on behalf of Carl Zu <<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>><br>
<b>Sent:</b> Tuesday, June 27, 2017 5:25:14 AM<br>
<b>To:</b> <a href="mailto:ndnsim@lists.cs.ucla.edu" target="_blank">ndnsim@lists.cs.ucla.edu</a><br>
<b>Subject:</b> Re: [ndnSIM] No package 'libndn-cxx' found (when porting NLSR)</font>
<div> </div>
</div><div><div class="m_5413892913586943960m_9027740736641291605h5">
<div>
<div dir="ltr">
<div>
<div>
<div>One step ahead. Now I get:<br>
<br>
Checking for 'liblog4cxx'                  <wbr>                        : not found <br>
<br>
Checking for 'liblog4cxx'<br>
['/usr/bin/pkg-config', '--cflags', '--libs', 'liblog4cxx']<br>
err: Package liblog4cxx was not found in the pkg-config search path.<br>
Perhaps you should add the directory containing `liblog4cxx.pc'<br>
to the PKG_CONFIG_PATH environment variable<br>
No package 'liblog4cxx' found<br>
<br>
</div>
I have seen the previous messages exchanged regarding this issue in this forum. ndn-cxx, NFD, and NLSR are the latest versions. This is very strange that I still get this error. Any guidance is highly appreciated.<br>
<br>
</div>
Thanks.<br>
</div>
C<br>
<div>
<div>
<div>
<div><br>
</div>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Jun 27, 2017 at 9:50 AM, Carl Zu <span dir="ltr">
<<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>Hi<br>
<br>
</div>
I am trying to port NLSR to ndnSIM according to <a href="https://github.com/3rd-ndn-hackathon/ndnSIM-NLSR/blob/master/PORTING.md" target="_blank">
https://github.com/3rd-ndn-hac<wbr>kathon/ndnSIM-NLSR/blob/master<wbr>/PORTING.md</a><br>
<br>
</div>
However, when I configure (./waf configure --enable-examples --enable-nlsr), I get the following error:<br>
<br>
<p>Checking for 'libndn-cxx'                  <wbr>                        : not found
<br>
The configuration failed<br>
(complete log in /home/carl/ndnSIM-NLSR/ns-3/bu<wbr>ild/config.log)</p>
<p><br>
</p>
<p>When I go through config.log, it says:</p>
<p><br>
</p>
<p>Checking for 'libndn-cxx'<br>
['/usr/bin/pkg-config', '--cflags', '--libs', 'libndn-cxx']<br>
err: Package libndn-cxx was not found in the pkg-config search path.<br>
Perhaps you should add the directory containing `libndn-cxx.pc'<br>
to the PKG_CONFIG_PATH environment variable<br>
No package 'libndn-cxx' found<br>
</p>
<p><br>
</p>
<p>Any guidance is highly appreciated.</p>
<p>Thanks,</p>
<p>C<br>
</p>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>

</blockquote></div><br></div>
<br></div></div>______________________________<wbr>_________________<br>
ndnSIM mailing list<br>
<a href="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank">ndnSIM@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/ndnsim</a><br>
<br></blockquote></div></div>
</blockquote></div><br></div>