Thank you for replying.
I have executed aodv without any error as mentioned but after changing as mentioned in adding malicious node to aodv as mentined here
http://narentada.com/what-is-black-h...aodv-protocol/i am getting error after make as:
aodv/aodv.cc:778: warning: this decimal constant is unsigned only in ISO C90
aodv/aodv.cc:837: warning: this decimal constant is unsigned only in ISO C90
aodv/aodv.cc: In member function ‘virtual void AODV::recv(Packet*, Handler*)’:
aodv/aodv.cc:579: warning: comparison between signed and unsigned integer expressions
aodv/aodv.cc:634: error: a function-definition is not allowed here before ‘{’ token
aodv/aodv.cc:1420: error: expected ‘}’ at end of input
make: *** [aodv/aodv.o] Error 1
As you asked ;
Which file is it about ?Which line number in that file ?
It is related with aodv.cc
And, repeat from post #2 :
Which result do you expect ?
I want blackhole should be added in plain AODV.
where did you find the "aodv.tcl" ?
From
http://network-simulator-ns-2.7690.n...4-td10367.html
Which version of ns2 ? Which OS is used ? :
I am using NS-2.34 on Ubuntu 10.10