[ns] warning: no class variable Phy/WirelessPhy - while running wireless-demo-csci694.tcl

2013-08-03 Thread Shivjay Singh

Dear NS-USERS,
I am trying to running LEACH protocols, and i have patch mit_uAMPS in my
NS2.34 over on fedora 16.
I have all ready make object file but while running
wireless-demo-csci694.tcl, i am getting this is error. as given below.
So many of users gave a solution for that with changing mode of folder like
sudo chmod 777 -R ns-allinone-2.34

but i am working on fedora and unable to understand what i should do for
removing this error.
Thanks in advance...


bash-4.2$ ./test
./test: line 2: cd: tcl/ex: No such file or directory
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...
./test: line 7: ./leach_test: No such file or directory

---
*If you live your fully, you will die only once.
But if you are scared of every step,
fear will kill you day after day
*
With Warm Regards,
*Shivjay Singh Tomar*
*(Technical Assistant)*
ABV Indian Institute Of Information
Technology  Management-Gwalior
Mob.: *+91-9098646350
-

*
*Please consider the environment before printing this email...*


Re: [ns] warning: no class variable Phy/WirelessPhy - while running wireless-demo-csci694.tcl

2013-08-03 Thread knudfl

 @ Shivjay Singh
 warning: no class variable 
 ./test: line 2: cd: tcl/ex: No such file or directory 
 ./test: line 7: ./leach_test: No such file or directory 

Looks like the oldest patch to be found ? With the buggy test ?
An edited 'test' is here, post #6
http://www.linuxquestions.org/questions/linux-general-1/leach-protocol-installation-on-ns2-27-a-785379/#6

Leach, ns-2.34, Fedora
http://www.linuxquestions.org/questions/linux-wireless-networking-41/how-to-implement-leach-in-ns2-34-in-fedora13-907076/
→ post #9 : The edited trace/cmu-trace.h . Post #7 : The ns-2.34 files. Post
#11 : leach-HOME-setup234.sh

All 1000 leach posts at LQ:
http://www.linuxquestions.org/questions/tags/leach/

Your warnings : Warnings are informative text, not errors. Removing the
warnings :
http://www.linuxquestions.org/questions/linux-general-1/leach-protocol-installation-on-ns2-27-a-785379/
Or
http://www.linuxquestions.org/questions/linux-software-2/how-to-integrate-the-resource-energy-leach-class-into-ns-2-34-a-870368/

-




--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/warning-no-class-variable-Phy-WirelessPhy-while-running-wireless-demo-csci694-tcl-tp27428p27432.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] warning: no class variable Phy/WirelessPhy - while running wireless-demo-csci694.tcl

2012-05-09 Thread Sagar.Shimpi

Hi All,

I am working on ns-2.34. I installed leach on it.

When trying to run -

# cd /root/ns/ns-allinone-2.34/ns-2.34/tcl/ex
# ns wireless-demo-csci694.tcl


I am getting the following error - Can anyone please help for the error below -


===
[root@hb01 ex]# ns wireless-demo-csci694.tcl
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!
Segmentation fault (core dumped)
[root@hb01 ex]#

===

Regards,

Sagar Shimpi, Senior Technical Specialist, OSS Labs

Tieto
email sagar.shi...@tieto.commailto:aniruddha.khadki...@tieto.com,
Wing 1, Cluster D, EON Free Zone, Plot No. 1, Survery # 77,
MIDC Kharadi Knowledge Park, Pune 411014, India, www.tieto.com www.tieto.in

TIETO. Knowledge. Passion. Results.



[ns] warning: no class variable

2011-11-30 Thread K. M.


Hi all,


I defined the following agent


Main_Agent::Main_Agent() : Agent(PT_UDP) {
...
 bind(var_mainAgent, var_mainAgent);
 ...
}


I also defined the following agent which inherits from the previous


My_Agent::My_Agent() : Main_Agent() {
...
   bind(var_myAgent, var_myAgent);
 ...
}



When I execute my file I get the following message


warning: no class variable Agent/My_Agent :: var_mainAgent


I believe this is because the Main_Agent's constructor is not executed when I 
call the My_Agent's constructor. How do I solve this?


Kind Regards

  


Re: [ns] warning: no class variable

2011-11-30 Thread Teerawat@UBC

HI,

Check your variable name. It should be var_myAgent, not var_mainAgent.

Best Regards,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat
On Nov 30, 2011, at 7:23 PM, K. M. wrote:

 
 
 Hi all,
 
 
 I defined the following agent
 
 
 Main_Agent::Main_Agent() : Agent(PT_UDP) {
...
 bind(var_mainAgent, var_mainAgent);
 ...
 }
 
 
 I also defined the following agent which inherits from the previous
 
 
 My_Agent::My_Agent() : Main_Agent() {
...
   bind(var_myAgent, var_myAgent);
 ...
 }
 
 
 
 When I execute my file I get the following message
 
 
 warning: no class variable Agent/My_Agent :: var_mainAgent
 
 
 I believe this is because the Main_Agent's constructor is not executed when I 
 call the My_Agent's constructor. How do I solve this?
 
 
 Kind Regards
   
   
 




Re: [ns] warning: no class variable God::path_analysis_

2006-11-22 Thread Samer Bali

Hi,

To solve this problem, simply add the following line in 
tcl/lib/ns-default.tcl file (with god parameters):

god set path_analysis_ 0

Best wishes,
samer
---
Matthias Budde matthi.budde at web.de  wrote:
Wed Oct 4 09:53:41 PDT 2006 

Hi,

After applying the GPSR patch to ns 2.29.3, I get the following warning message 
when running simple-wireless.tcl from Marc Greis' Tutorial:


warning: no class variable God::path_analysis_


What does this mean? Can I safely ignore this?

Thank you, best,

-Matt