newly added module not found in ns-3.21/wscript

314 views
Skip to first unread message

jim c

unread,
Mar 4, 2015, 12:19:51 AM3/4/15
to ns-3-...@googlegroups.com
hi  all

I created a new module named "nmp" .I did

./waf configure --enable-examples --enable-tests=/home/student/ns-allinone-3.21/ns-3.21/src/nmp

i got "configure finished successfully"

No function=/home/student/ns-allinone-3.21/ns-3.21/src/nmp defined in /home/student/ns-allinone-3.21/ns-3.21/wscript


I am not able to understand how to include my new module in ns3.21/wscript


kindly guide

thanking in advance

regards

Lincy

Tom Henderson

unread,
Mar 4, 2015, 12:41:18 AM3/4/15
to ns-3-...@googlegroups.com
On 03/03/2015 09:19 PM, jim c wrote:
> hi all
>
> I created a new module named "nmp" .I did
>
> ./waf configure --enable-examples
> --enable-tests=/home/student/ns-allinone-3.21/ns-3.21/src/nmp
>
> i got "configure finished successfully"

When I try the above, I get:

waf: error: --enable-tests option does not take a value

Try instead:

./waf configure --enable-examples --enable-tests

>
> No function=/home/student/ns-allinone-3.21/ns-3.21/src/nmp defined in
> /home/student/ns-allinone-3.21/ns-3.21/wscript
>
>
> I am not able to understand how to include my new module in ns3.21/wscript
>

You should not need to do anything to ns-3.21/wscript, if your module
'nmp' has a wscript and it is included in the src/ directory as src/nmp.
If you used 'create-module.py' to create the module, it should be set
up this way from the start.

- Tom

Reply all
Reply to author
Forward
Message has been deleted
0 new messages