Re: [ns] problem with NIST Mob package in NS-2.29 (zmezm 14)

2011-03-04 Thread Subha Uthayaraj

Hi,

To clear extra qualification error, you just need to remove that class.

In your case, go to 620 line of mac802.11.h. then remove *Mac802.11:: keep
calFreq as it is.*

-- 
Regards,
Subha


[ns] problem with NIST Mob package in NS-2.29

2011-03-02 Thread zmezm 14

good day all i hope you are having a good time , with no stress .

i have a problem with installing the NIST Mob package in NS-2.29 on Ubuntu 8 
.04 

i patched the  pmip6-for-ns-2.29-nist.patch  patch successfully , but when i 
run 
./install in the ns-allinone-2.29  i get this error in this exact folder 
mac/mac-802_11.h  
can anyone pleas help me with that ..

this is the error..
In file included from mac/mac-802_11.cc:63:
mac/mac-802_11.h: At global scope:
mac/mac-802_11.h:620: error: extra qualification ‘Mac802_11::’ on member 
‘calFreq’
mac/mac-802_11.cc: In member function ‘void Mac802_11::update_watch(StatWatch*, 
double)’:
mac/mac-802_11.cc:3442: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3444: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3446: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3448: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc: In member function ‘void 
Mac802_11::update_throughput(ThroughputWatch*, double)’:
mac/mac-802_11.cc:3485: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3487: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3489: warning: deprecated conversion from string constant to 
‘char*’
mac/mac-802_11.cc:3491: warning: deprecated conversion from string constant to 
‘char*’
make: *** [mac/mac-802_11.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems


best regards to all