<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">This error suggest that you have an issue with the compiler.  GCC is known to segfault if you have limited amount of RAM.  Try to increase it (if you're in VM) or compile on a different machine with more available memory.<div class=""><br class=""></div><div class="">-</div><div class="">Alex</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 27, 2017, at 9:41 AM, Ru Jia <<a href="mailto:rujia721@gmail.com" class="">rujia721@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear professors,<div class=""><br class=""></div><div class="">I am just install ndnSIM, and try to modify some files to do my simulations.</div><div class=""><br class=""></div><div class="">However, after I added configure files written by myself in the /ns-3/src/ndnSIM/model/cs and /ns-3/src/ndnSIM/model/cs/custom-policies, there was a compile error said:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">"Waf: Entering directory `/home/ru/Desktop/ndnSIM/ns-3/build'</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">[2873/2956] Linking build/libns3-dev-ndnSIM-debug.so</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">collect2: fatal error: ld terminated with signal 9 [Killed]</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">compilation terminated.</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">Waf: Leaving directory `/home/ru/Desktop/ndnSIM/ns-3/build'</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class="">Build failed</span>"</div><div class=""><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px" class=""><br class=""></span></div>I thought it was caused by my files, so I deleted those files, and tried to run the tutorial examples, but still, I got the error. It's like the ndnSIM could not work an more because the file build/libns3-dev-ndnSIM-debug.so was empty. <br class=""><br class="">Then, I reinstalled the ndnSIM and found another way is to modify the file <div class=""><font color="#4f4f4f" face="microsoft yahei" class=""><span style="font-size:14px" class=""> </span></font>ns-3/src/ndnSIM/NFD/daemon/fw/forwarder.cpp to achieve my goal. However, the same situation happened again. </div><div class=""><br class=""></div><div class="">Now, I couldn't do any modify if I want the simulation build successfully. I want to know if I try to modify the cache strategy, am I doing it in the right ways? I want the router cache the content only if the content was requested more than a certain times.</div><div class=""><br class=""></div><div class="">I  am really appreciate your help!</div><div class=""><br class=""></div><div class="">Kind regards,</div><div class="">Ru Jia</div><div class=""> </div></div>
_______________________________________________<br class="">ndnSIM mailing list<br class=""><a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br class=""></div></blockquote></div><br class=""></div></body></html>