[Ndn-interest] ChronoSync build failing.

Anil Jangam anilj.mailing at gmail.com
Thu Nov 6 01:33:02 PST 2014


Hello Yingdi,

My bad. I was pulling the update incorrectly (was using 'git pull' as
apposed to 'git pull origin master'). Thanks for the help. I could fix this
now and compiled the ChronoSync!

My larger goal is to build the NLSR code and was trying to build the
dependencies as mentioned here:
http://redmine.named-data.net/projects/nlsr/wiki. I still presume it
depends on ndn-cxx, ChronoSync and NFD. However, after ndn-cxx even NLSR is
compiled!!

So couple of new questions:

   - What kind of coupling exist between NLSR and ndn-cxx, ChronoSync, NFD,
   if it does? Can you please provide some high level architecture details?
   - ChronoSync codebase that NLSR uses - is it this
   https://github.com/named-data/NLSR/tree/master/nsync?

At this point, first question is more important for me.

/anil.

PS: BTW, my NFD build is now failing, here are the logs.

anilj1 at insp5521:~/sandbox/NFD$ ./waf
Waf: Entering directory `/home/anilj1/sandbox/NFD/build'
[ 17/104] Compiling daemon/face/ndnlp-partial-message-store.cpp
[ 23/104] Compiling daemon/face/tcp-factory.cpp
[ 24/104] Compiling daemon/face/udp-channel.cpp
[ 25/104] Compiling daemon/face/udp-face.cpp
../daemon/face/ndnlp-partial-message-store.cpp: In member function
‘ndn::Block nfd::ndnlp::PartialMessage::reassemble()’:
../daemon/face/ndnlp-partial-message-store.cpp:70:65: error: conversion
from ‘std::shared_ptr<ndn::Buffer>’ to non-scalar type ‘ndn::BufferPtr {aka
boost::shared_ptr<ndn::Buffer>}’ requested


On Wed, Nov 5, 2014 at 9:43 PM, Yingdi Yu <yingdi at cs.ucla.edu> wrote:

> Hi Anil,
>
> It seems that your ndn-cxx library has not been updated. Please checkout
> the latest version of ndn-cxx from https://github.com/named-data/ndn-cxx.
>
> btw. the ChronoSync which NLSR depends is not exactly the same as the one
> you are trying to compile. NLSR has its own copy of ChronoSync codebase.
>
> Yingdi
>
>
>
>
> On Nov 5, 2014, at 6:33 PM, Anil Jangam <anilj.mailing at gmail.com> wrote:
>
> Hi,
>
> I hope this is correct forum to post this question. I just subscribed to
> the mailing list.
>
> I am trying to compile ChronoSync, one of the dependencies for building
> NLSR, and it is failing with a following error log.
>
> I have successfully built and installed the ndn-cxx; however, the file
> ndn-cxx/util/digest.hpp does not exist there.
>
> Can someone please tell me what is missing?
>
> /anil.
>
>
> ./waf
> Waf: Entering directory `/home/anilj1/sandbox/ChronoSync/build'
> [ 1/11] Compiling src/diff-state-container.cpp
> [ 2/11] Compiling src/diff-state.cpp
> [ 3/11] Compiling src/interest-container.cpp
> [ 4/11] Compiling src/interest-table.cpp
> In file included from ../src/leaf-container.hpp:29:0,
>                  from ../src/state.hpp:29,
>                  from ../src/diff-state.hpp:28,
>                  from ../src/diff-state.cpp:25:
> ../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file
> or directory
> compilation terminated.
>
> In file included from ../src/leaf-container.hpp:29:0,
>                  from ../src/state.hpp:29,
>                  from ../src/diff-state.hpp:28,
>                  from ../src/diff-state-container.hpp:29,
>                  from ../src/interest-container.hpp:30,
>                  from ../src/interest-container.cpp:25:
> ../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file
> or directory
> compilation terminated.
>
> In file included from ../src/leaf-container.hpp:29:0,
>                  from ../src/state.hpp:29,
>                  from ../src/diff-state.hpp:28,
>                  from ../src/diff-state-container.hpp:29,
>                  from ../src/interest-container.hpp:30,
>                  from ../src/interest-table.hpp:28,
>                  from ../src/interest-table.cpp:25:
> ../src/leaf.hpp:29:35: fatal error: ndn-cxx/util/digest.hpp: No such file
> or directory
> compilation terminated.
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20141106/9524b997/attachment.html>


More information about the Ndn-interest mailing list