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