<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi anil,<div class=""><br class=""></div><div class="">Did you rebuild and install the ChronoSync lib? also make sure the ChronoSync submodule is updated.<div class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; " class=""><div class="">Yingdi</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Feb 25, 2015, at 4:27 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" class="">anilj.mailing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Thanks Yingdi. <div class=""><br class=""></div><div class="">Is this something to do with ndn-cxx ? I am already using the latest code of it, but still getting this error now after rectifying earlier one. </div><div class=""><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><br class=""></div><div class=""><div class="">[79/79] Linking build/ChronoChat</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `ndn::Scheduler::cancelEvent(std::shared_ptr<ndn::EventIdImpl> const&)'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `ndn::Name::compare(ndn::Name const&) const'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `ndn::Scheduler::scheduleEvent(boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > const&, std::function<void ()> const&)'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `ndn::Scheduler::cancelAllEvents()'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `ndn::Scheduler::Scheduler(boost::asio::io_service&)'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `unsigned long ndn::Name::wireEncode<false>(ndn::EncodingImpl<false>&) const'</div></div><div class=""><div class="">/usr/local/lib/libChronoSync.so: undefined reference to `unsigned long ndn::Name::wireEncode<true>(ndn::EncodingImpl<true>&) const'</div></div><div class=""><div class="">collect2: error: ld returned 1 exit status</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Waf: Leaving directory `/home/ndnusr2/sandbox/ChronoChat/build'</div></div></blockquote></div><div class=""><div class="">Build failed</div></div><div class=""><br class=""></div><div class="">/anil.</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Feb 25, 2015 at 4:05 PM, Yingdi Yu <span dir="ltr" class=""><<a href="mailto:yingdi@cs.ucla.edu" target="_blank" class="">yingdi@cs.ucla.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">Please checkout the latest ChronoChat, commit <a href="https://github.com/named-data/ChronoChat/commit/1cc45d96b8d7b4c442469147f7ba3e6a37f90d4b" target="_blank" class="">https://github.com/named-data/ChronoChat/commit/1cc45d96b8d7b4c442469147f7ba3e6a37f90d4b</a> should fix this bug.</div><div class=""><br class=""><div class="">
<span style="border-collapse:separate;border-spacing:0px" class=""><span style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;" class=""><div style="word-wrap:break-word" class=""><div class="">Yingdi</div><div class=""><br class=""></div></div></span><br class=""></span><br class="">
</div>
<br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Feb 25, 2015, at 4:00 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" target="_blank" class="">anilj.mailing@gmail.com</a>> wrote:</div><br class=""></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Hi List,<div class=""><br class=""></div><div class="">I am trying to build the ChronoChat application, and my build is consistently failing due to following error log. Incidentally, I also see a bug report logged couple of weeks back; want to know if this is fixed already?</div><div class=""><br class=""></div><div class=""><a href="http://redmine.named-data.net/issues/2477" target="_blank" class="">http://redmine.named-data.net/issues/2477</a><br class=""></div><div class=""><br class=""></div><div class="">The compilation error is: </div><div class=""><br class=""></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px" class=""><div class=""><div class="">[58/79] Compiling src/main.cpp</div></div><div class=""><div class="">../src/chatroom-info.cpp: In instantiation of ‘std::size_t chronos::ChatroomInfo::wireEncode(ndn::encoding::EncodingImpl<P>&) const [with bool T = false; std::size_t = long unsigned int]’:</div></div><div class=""><div class="">../src/chatroom-info.cpp:94:46:   required from here</div></div><div class=""><div class="">../src/chatroom-info.cpp:75:85: error: ‘prependNonNegativeIntegerBlock’ was not declared in this scope</div></div><div class=""><div class="">   totalLength += prependNonNegativeIntegerBlock(block, tlv::TrustModel, m_trustModel);</div></div><div class=""><div class="">                                                                                     ^</div></div><div class=""><div class="">../src/chatroom-info.cpp:75:85: note: suggested alternative:</div></div><div class=""><div class="">In file included from /usr/local/include/ndn-cxx/name-component.hpp:27:0,</div></div><div class=""><div class="">                 from /usr/local/include/ndn-cxx/name.hpp:30,</div></div><div class=""><div class="">                 from /usr/local/include/ndn-cxx/interest.hpp:27,</div></div><div class=""><div class="">                 from ../src/common.hpp:32,</div></div><div class=""><div class="">                 from ../src/chatroom-info.hpp:14,</div></div><div class=""><div class="">                 from ../src/chatroom-info.cpp:11:</div></div><div class=""><div class="">/usr/local/include/ndn-cxx/encoding/block-helpers.hpp:55:1: note:   ‘ndn::prependNonNegativeIntegerBlock’</div></div><div class=""><div class=""> prependNonNegativeIntegerBlock(EncodingImpl<P>& encoder, uint32_t type, uint64_t number)</div></div><div class=""><div class=""> ^</div></div><div class=""><div class="">../src/chatroom-info.cpp: In instantiation of ‘std::size_t chronos::ChatroomInfo::wireEncode(ndn::encoding::EncodingImpl<P>&) const [with bool T = true; std::size_t = long unsigned int]’:</div></div><div class=""><div class="">../src/chatroom-info.cpp:97:20:   required from here</div></div><div class=""><div class="">../src/chatroom-info.cpp:75:85: error: ‘prependNonNegativeIntegerBlock’ was not declared in this scope</div></div><div class=""><div class="">   totalLength += prependNonNegativeIntegerBlock(block, tlv::TrustModel, m_trustModel);</div></div><div class=""><div class="">                                                                                     ^</div></div><div class=""><div class="">../src/chatroom-info.cpp:75:85: note: suggested alternative:</div></div><div class=""><div class="">In file included from /usr/local/include/ndn-cxx/name-component.hpp:27:0,</div></div><div class=""><div class="">                 from /usr/local/include/ndn-cxx/name.hpp:30,</div></div><div class=""><div class="">                 from /usr/local/include/ndn-cxx/interest.hpp:27,</div></div><div class=""><div class="">                 from ../src/common.hpp:32,</div></div><div class=""><div class="">                 from ../src/chatroom-info.hpp:14,</div></div><div class=""><div class="">                 from ../src/chatroom-info.cpp:11:</div></div><div class=""><div class="">/usr/local/include/ndn-cxx/encoding/block-helpers.hpp:55:1: note:   ‘ndn::prependNonNegativeIntegerBlock’</div></div><div class=""><div class=""> prependNonNegativeIntegerBlock(EncodingImpl<P>& encoder, uint32_t type, uint64_t number)</div></div><div class=""><div class=""> ^</div></div><div class=""><div class="">cc1plus: warning: unrecognized command line option "-Wno-nested-anon-types" [enabled by default]</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">In file included from ../src/chat-dialog.hpp:25:0,</div></div><div class=""><div class="">                 from ../src/controller.hpp:26,</div></div><div class=""><div class="">                 from ../src/main.cpp:14:</div></div><div class=""><div class="">../src/digest-tree-scene.hpp:22:20: fatal error: Leaf.hpp: No such file or directory</div></div><div class=""><div class=""> #include <Leaf.hpp></div></div><div class=""><div class="">                    ^</div></div><div class=""><div class="">compilation terminated.</div></div></blockquote><div class=""><div class=""><br class=""></div></div><div class="">/anil.</div><div class=""><br class=""></div></div></div></div>
_______________________________________________<br class="">Ndn-interest mailing list<br class=""><a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank" class="">Ndn-interest@lists.cs.ucla.edu</a><br class=""><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank" class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></body></html>