<div dir="ltr">Dear professors,<div><br></div><div>I am just install ndnSIM, and try to modify some files to do my simulations.</div><div><br></div><div>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><br></div><div><br></div><div><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">"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"><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">[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"><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">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"><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">compilation terminated.</span><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px"><br style="box-sizing:border-box;color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px"><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">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"><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px">Build failed</span>"</div><div><span style="color:rgb(79,79,79);font-family:'microsoft yahei';font-size:14px"><br></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><br>Then, I reinstalled the ndnSIM and found another way is to modify the file <div><font color="#4f4f4f" face="microsoft yahei"><span style="font-size:14px"> </span></font>ns-3/src/ndnSIM/NFD/daemon/fw/forwarder.cpp to achieve my goal. However, the same situation happened again. </div><div><br></div><div>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><br></div><div>I  am really appreciate your help!</div><div><br></div><div>Kind regards,</div><div>Ru Jia</div><div> </div></div>