Re: [ns] Problem compiling ns-2: I can not include "p802.15.4.h"

2011-12-16 Thread David Rodenas
Hi all  I found the solution: http://old.nabble.com/Error-while-including-wireless-phy.h-td21661874.html. I think it is an important BUG in ns-2.  Thanks for the help.    David Rodenas Herráiz > > De: David Rodenas >Para: "ns-users@isi.edu" >Enviado: jueve

[ns] Specific Hierarchical address format to have an ipv4 like address

2011-12-16 Thread Maram Alshingiti
Hi all, how to use the specific hierarchical address format. from the manual it has this syntax:$ns set-address-format hierarchical <#n hierarchy levels> <#bits for level1> <#bits for level 2> <#bits for nth level> so i followed that and i wrote in my tcl script:$ns_ set-address-format hi

Re: [ns] Problem compiling ns-2: I can not include "p802.15.4.h"

2011-12-16 Thread Tom Henderson
On 12/16/2011 01:27 AM, David Rodenas wrote: > > Hi all > > I found the solution: > http://old.nabble.com/Error-while-including-wireless-phy.h-td21661874.html. I > think it is an important BUG in ns-2. > > Thanks for the help. > > David Rodenas Herráiz I filed a bug for this: https://sourceforg

Re: [ns] On-the-fly ns2 interpreter

2011-12-16 Thread Nikhil Karnad
Hi all, I fixed this problem by creating a shared library of ns (similar to the cygwin approach), i.e. libns.so, and linking it to my code. Upon closer inspection, ~ns/lib/ns-lib.tcl:128 has "class Simulator" commented. It is instead provided by an OTcl class in ~ns/common/simulator.[h/cc]. Dyna