Hello all,

Iam trying to install and run LEACH on ubuntu6.06.  I followed the procedure  
from the site: 
http://tmtam.wordpress.com/2007/07/31/installing-ns-227-and-leach-extension-on-ubuntu-704-feisty-fawn/
and  encountered the following problems on ./test:



./test

num_nodes is set 3

warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl

warning: no class variable Phy/WirelessPhy::alive_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

INITIALIZE THE LIST xListHead

warning: no class variable Phy/WirelessPhy::alive_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

warning: no class variable Phy/WirelessPhy::alive_

        see tcl-object.tcl in tclcl for info about this warning.

warning: no class variable Phy/WirelessPhy::Efriss_amp_

warning: no class variable Phy/WirelessPhy::Etwo_ray_amp_

warning: no class variable Phy/WirelessPhy::EXcvr_

warning: no class variable Phy/WirelessPhy::sleep_

warning: no class variable Phy/WirelessPhy::ss_

warning: no class variable Phy/WirelessPhy::dist_

Loading connection pattern…

Loading scenario file…

Starting Simulation…

channel.cc:sendUp - Calc highestAntennaZ_ and distCST_

highestAntennaZ_ = 1.5,  distCST_ = 89.8

SORTING LISTS …DONE!

NS EXITING…

1.....  Why is this happening?




I guess the problem is with the inclusion of Phy/WirelessPhy channel. Where is 
it located in the ns2.27 folder? How do I verify if it is present?  N How do I 
include it?


When I execute validate, I get the outputs do not match standard results. Can 
you tell me where the problem lies?  




2.  Also once the GCC 4.1.x: ns-2.27-gcc410.patch  patch is applied, 
nrlsensorsim extension for ns 2.27 is showing problems on installation. I had 
to omit that. 

3. Do I have to install 802.15.4 layer support separately to simulate sensor 
networks? How do I do it?


Kindly help. It
is extremely important to me.


-Sreevalli



Send instant messages to your online friends http://uk.messenger.yahoo.com 

Reply via email to