<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; "><div>../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes()’:</div><div>../src/ndnSIM/helper/ndn-global-routing-helper.cc:328:7: error: unused variable ‘counter’ [-Werror=unused-variable]</div><div>cc1plus: all warnings being treated as errors</div><div><br></div><div>It seems that in you local machine, compiler doesn't treat warning as error.</div><div><br></div><div><br></div><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" color="#b5c4df" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Mar 5, 2013, at 2:40 AM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Xiaoke,<div><br></div><div>I just merged the branch. Let me know if you encounter any compilation or run-time errors.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div>ps</div><div>I haven't included your latest commit, as the same issue was fixed recently in the master branch (<a href="https://github.com/NDN-Routing/ndnSIM/commit/82ad4d7218a36f3ec1d2dc40ec4a930d776d1fa4">https://github.com/NDN-Routing/ndnSIM/commit/82ad4d7218a36f3ec1d2dc40ec4a930d776d1fa4</a>)</div><div><br></div><div><br><div><div>On Mar 4, 2013, at 12:49 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Alex,<div><span class="Apple-tab-span" style="white-space:pre">        </span>Do you plan to merge feature-trace-value-for-fib-entry into master branch ?</div><div><br></div><div><br><div><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Feb 22, 2013, at 11:52 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Alex,<div><span class="Apple-tab-span" style="white-space:pre">  </span>After my test, I think it works quit well! Thank you very much!</div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Feb 22, 2013, at 11:15 AM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>You should checkout a test that I wrote (tests/ndnSIM-fib-entry.cc), it has an example of how to connect to FIBs and how to "attach" extra information to the tracer.<br><br>---<div>Alex</div></div><div><br>On Feb 21, 2013, at 6:48 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8">Hi Alex,<div><span class="Apple-tab-span" style="white-space:pre">       </span>I have run a simple traced function for Status,</div><div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><span style="color: #931a68">static</span> <span style="color: #931a68">void</span> <span style="text-decoration: underline">TraceStatus</span>(fib::<span style="color: #006141">FaceMetric</span>::Status old, fib::<span style="color: #006141">FaceMetric</span>::Status now) {</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; color: rgb(57, 51, 255); "><span style=""><span class="Apple-tab-span" style="white-space:pre">       </span>NS_LOG_INFO(</span>"- Change Status from "<span style=""><<old<<</span>" to "<span style=""><<now);</span></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">}</div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">but how can I connect to the fibs, I have variable called nodes and ccnxHelper.</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><div style="margin: 0px; ">ccnxHelper.InstallAll () to install ndn stack.</div><div style="margin: 0px; "><br></div></div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Feb 22, 2013, at 10:22 AM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have removed this variable. Should compile now without problem.<div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Feb 21, 2013, at 6:19 PM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Alex,<div><span class="Apple-tab-span" style="white-space:pre">     </span>I am trying to compile it on MacOS and Ubuntu.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>On Ubuntu, it compiles successfully, but on MacOS:<span class="Apple-tab-span" style="white-space: pre; ">       </span>I run ./waf clean then ./waf, it gives me error:</div><div><div>[1119/1916] cxx: src/ndnSIM/model/fw/green-yellow-red.cc -> build/src/ndnSIM/model/fw/green-yellow-red.cc.1.o</div><div>cc1plus: warnings being treated as errors</div><div>In file included from ../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc:27:</div><div>./ns3/ndnSIM/utils/mem-usage.h: In static member function ‘static int64_t MemUsage::Get()’:</div><div>./ns3/ndnSIM/utils/mem-usage.h:69: warning: unused variable ‘task’</div><div>Waf: Leaving directory `/Users/shock/ndnSIM/ns-3/build'</div></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">    </span></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>then I will trying to run my script and give you more feedback.</div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Feb 22, 2013, at 6:04 AM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Xiaoke,</div><div><br></div><div>I've done an implementation of this feature and pushed it to the experimental branch (feature-trace-value-for-fib-entry).</div><div><br></div><div>Can you check it out?  I also would appreciate if you can check that this change didn't break anything else (at least with your simulations).</div><div><br></div><div>Thanks,</div><div>Alex</div><div><br></div><br><div><div>On Feb 21, 2013, at 1:11 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Alex,<div><span class="Apple-tab-span" style="white-space:pre"> </span>Is it possible to make the Status of FibEntry (Line 105, ndn-fib-entry.h) a TracedCallback type. I think the status is quit important for research on Cache, routing, etc.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">  </span>I can get what I want by add NS_LOG, but the problem is after fetch and merge your code, my modification will lose. So is it possible for you to make that change since it 's also very important for future research.</div><div><br></div><div><br><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br><div><div>On Feb 21, 2013, at 4:35 PM, Alex Afanasyev <<a href="mailto:alexander.afanasyev@ucla.edu">alexander.afanasyev@ucla.edu</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div dir="auto"><div>In NS-3, Installing applications on a node is not the same as aggregating objects on a node (e.g., installing protocol stacks).  As a result, your GetObject call will always return 0 and you get segfault.</div><div><br></div><div>Instead, you should either call node->GetApplication(...) (not really good choice) or save installed apps in ApplicationContainer (Install returns it).  There should be examples of that.<br><br>---<div>Alex</div></div><div><br>On Feb 21, 2013, at 12:27 AM, Xiaoke Jiang <<a href="mailto:shock.jiang@gmail.com">shock.jiang@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">Hi All,</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><span class="Apple-tab-span" style="white-space:pre"> </span>I write my script to trace Producer processing Interest,</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">xiaoke.cc:</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><div style="margin: 0px; color: rgb(0, 97, 65); "><span style="color: #931a68">static</span><span style=""> </span><span style="color: #931a68">void</span><span style=""> SinkIst(</span>Ptr<span style=""><</span><span style="color: #931a68">const</span><span style=""> </span>InterestHeader<span style="">>, </span>Ptr<span style=""><</span>App<span style="">>, </span>Ptr<span style=""><</span>Face<span style="">>)</span></div><div style="margin: 0px; ">{</div><div style="margin: 0px; color: rgb(57, 51, 255); "><span style=""><span class="Apple-tab-span" style="white-space:pre">  </span>NS_LOG_INFO(</span>"< <span style="text-decoration: underline">Respodning</span> with ContentObject"<span style="">);</span></div><div style="margin: 0px; ">}</div><div style="margin: 0px; "><br></div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">…</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">producerHelper.Install(node);</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">node->GetObject<ns3::ndn::<span style="color: #006141">App</span>>()->TraceConnectWithoutContext(<span style="color: #3933ff">"ReceivedInterests"</span>, MakeCallback(&SinkIst));</div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; ">It compiles successfully, but run failed and give me </div><div style="margin: 0px; "><div style="margin: 0px; "><font face="Monaco"><span style="font-size: 11px;">"Command ['/Users/shock/ndnSIM/ns-3/build/shock/xiaoke'] terminated with signal SIGSEGV. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>")."</span></font></div><div style="font-family: Monaco; font-size: 11px; "><br></div><div style="font-family: Monaco; font-size: 11px; "><br></div><div style="font-family: Monaco; font-size: 11px; ">Anyone can help?</div></div><div style="margin: 0px; font-size: 11px; font-family: Monaco; "><br></div><div>
<div><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="'comic sans ms', sans-serif">thanks</font><br><br><font face="garamond, serif"><font size="4">My Regards,</font><br></font></div><hr align="left" size="1" style="color: rgb(34, 34, 34); font-size: small; font-family: arial; width: 210px; min-height: 1px; "><div style="color: rgb(34, 34, 34); font-size: small; background-color: rgb(255, 255, 255); font-family: arial; "><font face="garamond, serif"><div><span style="font-size: 10.5pt; ">Xiaoke Jiang (蒋小可)</span></div><div><span style="font-size: 10.5pt; "><br></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Ph.D Candidate,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Dept. of Computer Science and Technology,</font></span></div><div><span style="font-size: 10.5pt; "><font color="#666666">Tsinghua University, P. R. China</font></span></div></font></div></div>
</div>
<br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>ndnSIM mailing list</span><br><span><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a></span><br><span><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></span><br></blockquote></div></blockquote></div><br></div></div></blockquote></div><br></div></blockquote></div><br></div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></blockquote></div><br></div></div></blockquote></div><br></div></blockquote><blockquote type="cite"><span>_______________________________________________</span><br><span>ndnSIM mailing list</span><br><span><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a></span><br><span><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a></span><br></blockquote></div></blockquote></div><br></div></div></blockquote></div><br></div></div></div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim</a><br></blockquote></div><br></div></div></blockquote></div><br></body></html>