I want to simulate leach protocol in ns2. I have installed NS2 successfully and I am installing a Mannasim–A sensor Network Simulator for NS2 (ns-2.35). It is finally showing error:

Undefined reference to 'non-virtual thunk to NsObject::handle(Event*)'

mannasim/leach/rca/rcagent.o:(.rodata._ZTV7RCAgent[vtable for RCAgent]+0x140): undefined reference to `non-virtual thunk to NsObject::handle(Event*)'

mannasim/leach/leachAgent.o:(.rodata._ZTV10LeachAgent[vtable for LeachAgent]+0x140): undefined reference to `non-virtual thunk to NsObject::handle(Event*)'

collect2: ld returned 1 exit status

make: *** [ns] Error 1

Can I implement leach protocol in NS2 in a different way?

Similar questions and discussions