<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>This problem is because of a recent huge, breaking change that
      was implemented in ndn-cxx, where the default security system used
      was switched from the legacy v1 to the newer v2 system. NLSR is
      pretty tied into the v1 system, so we're taking more time than was
      expected to move up to the newest versions of ndn-cxx and NFD.</p>
    <p>For our own development, we have pegged the versions of ndn-cxx,
      NFD, and ChronoSync that NLSR uses to specific commits. You'll
      need to run <tt>git checkout</tt> in each of those directories to
      get these specific commits, then build, install, etc.:<br>
      <br>
      Chronosync: <tt>097bb448f46b8bd9a5c1f431e824f8f6a169b650</tt><br>
      ndn-cxx: <tt>b555b00c280b9c9ed46f24a1fbebc73b720601af</tt><br>
      NFD: <tt>f4056d0242536f85b7d7b4de1b5ac50dad65c233</tt></p>
    <p>NLSR can be at the latest commit.<br>
    </p>
    <p>Please note that this is a temporary solution, so you shouldn't
      become very reliant on this fix.</p>
    <p>-Nick<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/27/17 11:00, Carl Zu wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAFxAFZXOacQMz=YzGx4M-QGH4g=vtRPE6v=QYLF9-Zzbd1-hAw@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <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" moz-do-not-send="true">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" moz-do-not-send="true">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" moz-do-not-send="true">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"
                                    moz-do-not-send="true">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"
                                  face="Calibri, sans-serif"
                                  color="#000000"><b>From:</b> ndnSIM
                                  <<a
                                    href="mailto:ndnsim-bounces@lists.cs.ucla.edu"
                                    target="_blank"
                                    moz-do-not-send="true">ndnsim-bounces@lists.cs.ucla.<wbr>edu</a>>
                                  on behalf of Carl Zu <<a
                                    href="mailto:carlzu8@gmail.com"
                                    target="_blank"
                                    moz-do-not-send="true">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"
                                    moz-do-not-send="true">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"
                                            moz-do-not-send="true">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"
                                                moz-do-not-send="true">
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" moz-do-not-send="true">ndnSIM@lists.cs.ucla.edu</a><br>
                  <a
                    href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim"
                    rel="noreferrer" target="_blank"
                    moz-do-not-send="true">http://www.lists.cs.ucla.edu/m<wbr>ailman/listinfo/ndnsim</a><br>
                  <br>
                </blockquote>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ndnSIM mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a>
<a class="moz-txt-link-freetext" href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>