ns-2.33 with mobiwan errors
i patched the mobiwan by doing the procedure below:
1. i kept the mobiwan patch in the ns-2.33 folder of ns-allinone-2.33 derectory.
2. then i run the command "patch -p1 < ns-233-mobiwan-1.patch"
3. then i run ./configure ; make clean
4. and 'make' then it gave me an error :
tools/ranvar.cc: In member function ‘virtual double GammaRandomVariable::value()’:
tools/ranvar.cc:219:70: error: cannot call constructor ‘GammaRandomVariable::GammaRandomVariable’ directly
tools/ranvar.cc:219:70: error: for a function-style cast, remove the redundant ‘::GammaRandomVariable’
make: *** [tools/ranvar.o] Error 1
[root@riaz ns-2.33]#
and after that when i run any other tcl script it gives me an error shown below:
[riaz@riaz new_project]$ can't read "EnableHierRt_": no such variable
> (Object set line 1)
> invoked from within
> "Simulator set EnableHierRt_"
> (procedure "_o10" line 10)
> (Node attach line 10)
> invoked from within
> "$node attach $agent"
> (procedure "_o3" line 2)
> (Simulator attach-agent line 2)
> invoked from within
> "$ns_ attach-agent $n0 $udp0"
> (file "packetsend.tcl" line 18)
> [riaz@riaz new_project]$
please help me to resolve this problem
i will wait for your immediate reply
thanks in anticipation
|