Bugzilla – Bug 1017
node --> internet-stack --> node
Last modified: 2011-02-25 14:44:32 EST
[367/515] cxx: src/node/ipv6-packet-info-tag.cc -> build/debug/src/node/ipv6-packet-info-tag_1.o ../src/node/ipv6-packet-info-tag.cc:148: fatal error: ns3/internet-stack-helper.h: No such file or directory compilation terminated. ../src/node/ipv4-packet-info-tag.cc:150: fatal error: ns3/internet-stack-helper.h: No such file or directory compilation terminated. Waf: Leaving directory `/home/gjc/projects/ns/ns-3-allinone/ns-3-dev-clean/build' node --> internet-stack (helper) --> node: circular dependency, this is bad...
Would this be solved by putting the following modules into a lowest level module that doesn't depend on any other modules: common core node helper
(In reply to comment #1) > Would this be solved by putting the following modules into a lowest level > module that doesn't depend on any other modules: No, I think in this case this dependency happens only because of a test suite code that is included at the end of src/node/ipv6-packet-info-tag.cc. I think this test suite code should be to a separate program, and should also not depend on the internet-stack module. It makes no sense that you cannot test the 'node' module without the presence of the 'internet-stack' module above it.
fixed in 036f9a0b9899