<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;">Hi Shaojie,<div><br></div><div>This is something that is not possible (in general).  When you specify that one module depends on another, you basically saying that when module is linked, it should be linked against the dependency.  If you have circular dependency, then you're in trouble - to make one module you need the other, and to make the other you need the first one.</div><div><br></div><div>Are you sure that the code you have put in openflow actually belongs to openflow?  You need either to put ndnSIM dependent code inside ndnSIM module, or even create a new module that depends on both openflow and ndnSIM.</div><div><br></div><div>---</div><div>Alex</div><div><br><div><div>On Jan 9, 2014, at 3:07 AM, 王绍节 <<a href="mailto:wsjie_happy@163.com">wsjie_happy@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; font-size: 14px; font-family: arial;">Hi Alex,<div><br></div><div>Sorry to trouble you again. There is a technique problem comes to me.</div><div><br></div><div>In ns3, I want to use both the  <span style="line-height: 1.7;">ndnSIM module and openflow module. For example I need to call openflow-interface.h in ndnSIM module, and also I need to call ndn-interest.h in openflow module.Since I need to include the files necessary, I have to modify the wscript file in both module. But this will cause cycle detect problem just as follow:</span></div><div>Cycle detected in the use processing {'ns3-ndnSIM':['ns3-openflow'], 'ns3-openflow': ['ns3-ndnSIM']}</div><div>So, is there any thing I can do to avoid this happen.</div><div><br></div><div>I'm looking forward to your reply. Thank you very much!</div><div><br></div><div><div>Yours sincerely, </div><div><br></div><div>Shaojie.Wang</div><div><br></div><div>Beijing China</div></div></div></blockquote></div><br></div></body></html>