[Ns-developers] dynamic libraries on cygwin

Nicola Baldo baldo at dei.unipd.it
Mon Dec 10 07:11:40 PST 2007



Tom Henderson wrote:
 > Are
 > there any others such as documentation, example scripts, and possibly
 > validation scripts?  I am reluctant to merge these extensions without
 > the documentation and examples.


There is a quite extensive documentation here:
http://www.dei.unipd.it/~baldo/ns_dl_patch/

I think that the most relevant part to include is the information for 
developers on how to build a dynamic library for ns2.
The source is in LaTeX and I normally run latex2html on it to generate 
the html version. Just let me know which parts you would like to 
include, and how.

As for validation scripts... well, the patch does not introduce any new 
model nor protocol, so there is no need for a new tcl simulation script. 
The fact that all previous validations perform OK confirms that the dl 
patch preserves backward compatibility (which BTW was not trivial).

However, the only way to check if the dynamic library patch does what it 
is meant for, is to try to build and load a dynamic library, and 
validate its output. For instance, a validation test for dei80211mr 
would confirm that the dynamic library functionality is working 
correctly. Other dynamic libraries of course could be used for this 
purpose, see for instance the example libraries we provide here:
http://www.dei.unipd.it/~baldo/ns_dl_patch/Sample_dynamic_ns_modules.html

Regards,

Nicola



 >
> 
> Nicola,
> Thanks for this patch.  I read from the patch that the following files 
> are modified:
> +++ FILES       8 Dec 2007 00:40:46 -0000
> +++ Makefile.in 8 Dec 2007 00:40:46 -0000
> +++ configure   8 Dec 2007 00:40:47 -0000
> +++ configure.in        8 Dec 2007 00:40:47 -0000
> +++ makefile.vc 8 Dec 2007 00:40:47 -0000
> +++ common/packet.cc    8 Dec 2007 00:40:47 -0000
> +++ common/packet.h     8 Dec 2007 00:40:47 -0000
> +++ common/ptypes2tcl.cc        8 Dec 2007 00:40:47 -0000
> +++ common/tclAppInit.cc        8 Dec 2007 00:40:47 -0000
> +++ conf/configure.in.dynamic   8 Dec 2007 00:40:47 -0000
> +++ conf/configure.in.tail      8 Dec 2007 00:40:47 -0000
> +++ tcl/lib/ns-default.tcl      8 Dec 2007 00:40:50 -0000
> +++ tcl/lib/ns-lib.tcl  8 Dec 2007 00:40:50 -0000
> +++ trace/cmu-trace.cc  8 Dec 2007 00:40:52 -0000
> +++ trace/cmu-trace.h   8 Dec 2007 00:40:52 -0000
> 

> Tom


More information about the Ns-developers mailing list