Quote:
Originally Posted by emtarik05
what changes have you done ????
the error is in the function checkAlive when the application try to remove the node 17 from the interface !!
|
i installed LEACH manually by making changes in the required files using steps written in NS2 Leach Implementation by Jason A. Pamplin and using mit.tar.gz.
thn i set some global variables like follows
export RCA_LIBRARY=/ns-allinone-2.34/ns-2.34/mit/rca
export uAMPS_LIBRARY=/ns-allinone-2.34/ns-2.34/mit/uAMPS
export PATH=/ns-allinone-2.34/tcl8.4.14/unix
export PATH=/ns-allinone-2.34/tk8.4.14/unix
export PATH=/ns-allinone-2.34/bin
export LD_LIBRARY_PATH=/ns-allinone-2.34/tcl8.4.18/unix
export LD_LIBRARY_PATH=/ns-allinone-2.34/tk8.4.18/unix
export LD_LIBRARY_PATH=/ns-allinone-2.34/otcl-1.13
export LD_LIBRARY_PATH=/ns-allinone-2.34/library
export TCL_LIBRARY=/ns-allinone-2.34/tcl8.4.18/library
export RCA_LIBRARY=/ns-allinone-2.34/ns-2.34/mit/rca
thn i changed dst_ to dst_addr_ in ns_leach.tcl.
now i dont know how can i fix that bug.
pls help me
pls help me if any one knows about fixing this error. i really need it.