ns 3 - ./waf command not working -
i using ns-3.16 in ubuntu 12.04. i'm new python ns3. when run ./waf (or other waf command) produces following code:
waf: entering directory `/home/hp/ns-3.16-git-master/build' waf: leaving directory `/home/hp/ns-3.16-git-master/build' traceback (most recent call last): file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/scripting.py", line 97, in waf_entry_point run_commands() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/scripting.py", line 151, in run_commands run_command(cmd_name) file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/scripting.py", line 143, in run_command ctx.execute() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/scripting.py", line 345, in execute return execute_method(self) file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/build.py", line 98, in execute self.execute_build() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/build.py", line 107, in execute_build self.compile() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/build.py", line 182, in compile self.producer.start() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/runner.py", line 149, in start self.refill_task_list() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/runner.py", line 98, in refill_task_list self.outstanding.extend(self.biter.next()) file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/build.py", line 396, in get_build_iterator self.post_group() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/build.py", line 380, in post_group f() file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/extras/compat15.py", line 114, in post return old_post(self) file "/home/hp/ns-3.16-git-master/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/taskgen.py", line 110, in post v() file "/home/hp/ns-3.16-git-master/src/wscript", line 436, in apply_ns3header dst_node = ns3_dir_node.find_or_declare(src_node.name) attributeerror: 'nonetype' object has no attribute 'find_or_declare
how should troubleshoot this?
that's mean ns3_dir_node none. has no find_or_declare method. have @ script find why ns3_dir_node id none.
Comments
Post a Comment