[ndnSIM] Cycle detected problem in the use processing

Alex Afanasyev alexander.afanasyev at ucla.edu
Thu Jan 9 16:54:41 PST 2014


Hi Shaojie,

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.

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.

---
Alex

On Jan 9, 2014, at 3:07 AM, 王绍节 <wsjie_happy at 163.com> wrote:

> Hi Alex,
> 
> Sorry to trouble you again. There is a technique problem comes to me.
> 
> In ns3, I want to use both the  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:
> Cycle detected in the use processing {'ns3-ndnSIM':['ns3-openflow'], 'ns3-openflow': ['ns3-ndnSIM']}
> So, is there any thing I can do to avoid this happen.
> 
> I'm looking forward to your reply. Thank you very much!
> 
> Yours sincerely, 
> 
> Shaojie.Wang
> 
> Beijing China

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140109/997374f5/attachment.html>


More information about the ndnSIM mailing list