Quote:
Originally Posted by angelkot08
hi friends...im a newbie in linux and ns2...im using ns-allinone-2.35 in ubuntu 14.04 currently im working in wireless sensor network...i got an error when i run the codes...
|
Code:
num_nodes is set 22
can't read "chan": no such variable
while executing
can somebody help me please? i can't figure it out. thank you so much![/QUOTE]
You need to read the "Question Guidelines" and "How to ask a smart question' links in my posting signature. First, this is
NOT URGENT for anyone here...we volunteer our time, so asking for/expecting 'urgent' help is fairly rude. Secondly, did you think about what you posted????
Your error says that your program cannot read the "chan" variable....it should be very obvious that either the initial definition of 'chan' isn't correct, or you're trying to read chan when you re-define it to 'chan_1' afterwards. Check the syntax at your initial definition.