<div dir="ltr">Junxiao,<div><br></div><div>After recreating nfd.conf file, I am able to start nfd process. However, the compilation issue still exist. But I have my previously installed nfd instance for now. <div><br></div><div>/anil.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 15, 2015 at 3:04 PM, Anil Jangam <span dir="ltr"><<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@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">Compiler version is: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) <div><br></div><div>What is <span style="font-size:12.8000001907349px">"maintainer version"</span><span style="font-size:12.8000001907349px"> and how to invoke it?</span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">/anil.</span></div><div><span style="font-size:12.8000001907349px"><br></span></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 15, 2015 at 3:02 PM, Junxiao Shi <span dir="ltr"><<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi Anil</p>
<p>I need to know the version of operating system and compiler, not just NFD.</p>
<p>Also, NFD configuration file is incompatible between versions.<br>
Purge the old configuration and create them again.<br>
Choose "maintainer version" during future upgrades.</p>
<p>Yours, Junxiao</p>
<div class="gmail_quote"><div><div>On Mar 15, 2015 2:56 PM, "Anil Jangam" <<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@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><div dir="ltr"><div>I am having version 0.3.1<br></div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfdc -V</div></div><div><div>0.3.1</div></div></blockquote><div><br></div><div>/anil.<br></div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 15, 2015 at 2:47 PM, Anil Jangam <span dir="ltr"><<a href="mailto:anilj.mailing@gmail.com" target="_blank">anilj.mailing@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Today, I noticed an issue with starting the NFD service. Apparently, it is crashing since the process Id it shows after nfd-start does not exist any more in process status. However, when I try to restart it again, it says, "start: Job is already running: nfd". <div><br></div><div>There are multiple issues here. When I do nfd-status, it is not able to connect to the NFD. Some of the logs are attached below. <br><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-start</div></div></div><div><div><div>nfd start/running, process 5942</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ ps -ef | grep 5942</div></div></div><div><div><div>ndnusr1   5974  3772  0 14:39 pts/11   00:00:00 grep 5942</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-start</div></div></div><div><div><div>start: Job is already running: nfd</div></div></div><div><div><div><br></div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ nfd-status</div></div></div><div><div><div>ERROR: error while receiving data from socket (Connection reset by peer)</div></div></div><div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div></div></blockquote><div><div><div><br></div></div><div>I also tried compiling a new version of the NFD from source, and was stopped by the following compilation error. Is this new or am I missing something in my environment? </div></div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ </div></div><div><div>ndnusr1@ndnhost1:~/sandbox/NFD$ ./waf </div></div><div><div>Waf: Entering directory `/home/ndnusr1/sandbox/NFD/build'</div></div><div><div>[  3/121] Compiling core/city-hash.cpp</div></div><div><div>[  5/121] Compiling core/global-io.cpp</div></div><div><div>[  6/121] Compiling core/network-interface.cpp</div></div><div><div>[  8/121] Compiling core/privilege-helper.cpp</div></div><div><div>[  9/121] Compiling core/random.cpp</div></div><div><div>[ 12/121] Compiling core/logger.cpp</div></div><div><div>[ 15/121] Compiling daemon/face/multicast-udp-face.cpp</div></div><div><div>[ 17/121] Compiling daemon/face/ndnlp-partial-message-store.cpp</div></div><div><div>../core/logger.cpp: In static member function ‘static const char* nfd::Logger::now()’:</div></div><div><div>../core/logger.cpp:61:3: error: static assertion failed: PRIdLEAST64 is incompatible with microseconds::rep</div></div><div><div>   static_assert(std::is_same<microseconds::rep, int_least64_t>::value,</div></div><div><div>   ^</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>            microsecondsSinceEpoch % ONE_SECOND);</div></div><div><div>                                               ^</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat=]</div></div><div><div><br></div></div><div><div>Waf: Leaving directory `/home/ndnusr1/sandbox/NFD/build'</div></div><div><div><font color="#cc0000">Build failed</font></div></div><div><div><font color="#cc0000"> -> task in 'core-objects' failed (exit status 1): </font></div></div><div><div><font color="#cc0000"><span style="white-space:pre-wrap"> </span>{task 139803716150992: cxx logger.cpp -> logger.cpp.2.o}</font></div></div><div><div><font color="#cc0000">['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11', '-fPIC', '-include', '/home/ndnusr1/sandbox/NFD/build/core-objects.2', '-I/home/ndnusr1/sandbox/NFD/build', '-I/home/ndnusr1/sandbox/NFD', '-I/home/ndnusr1/sandbox/NFD/build/core', '-I/home/ndnusr1/sandbox/NFD/core', '-I/usr/include', '-I/usr/local/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '../core/logger.cpp', '-c', '-o', '/home/ndnusr1/sandbox/NFD/build/core/logger.cpp.2.o']</font></div></div><div><br></div></blockquote>Regards,<div>/anil.</div><div><br></div></div>
</blockquote></div><br></div></div>
<br></div></div><span>_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
<br></span></blockquote></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>