hi,I m using ns-2.29 with mannasim and i have made few changes in leach
protocol by adding two new send member functions “Hello” and "Reply" and its
corresponding receive member function "recvhello" and "recvreply" just like
cluster head advertisement and join request funcions in leachApp.cc and
leachApp.h. I have declared the function recvHELLO_ and recvREPLY_ in
leachApp.h but when i run the make it gives the following errors for the
corresponding receive functions. please guide how to resolve this.regards,najma
ismatmannasim/leach/app/leachApp.cc: At global
scope:mannasim/leach/app/leachApp.cc:995: error: no ‘void
LeachApp::recvHELLO_(char*, int, double, int, int)’ member function declared in
class ‘LeachApp’mannasim/leach/app/leachApp.cc: In member function ‘void
LeachApp::clearClusterChoices()’:mannasim/leach/app/leachApp.cc:1106: warning:
deleting ‘void*’ is undefinedmannasim/leach/app/leachApp.h: At global
scope:mannasim/leach/app/leachApp.h:210: warning: inline function ‘void
LeachApp::recvReply_(char*, int)’ used but never
defined./mannasim/sensorBaseApp.h:84: warning: inline function ‘virtual void
DisseminatingTimer::expire(Event*)’ used but never
defined./mannasim/dataGenerator.h:65: warning: inline function ‘virtual void
EventTimer::expire(Event*)’ used but never
defined./mannasim/dataGenerator.h:52: warning: inline function ‘virtual void
SensingTimer::expire(Event*)’ used but never definedmake: ***
[mannasim/leach/app/leachApp.o] Error 1