Hi everyone,
i have been trying to implement some security encryption and decryption to
the AODV protocol.  i have followed the tutorials on how to add new
protocols and am currently stuck on some errors that i get when am trying to
run the make command. the errors am getting are

./common/ip.h:75: error: invalid use of undefined type 'const struct Packet'
common/object.h:44: error: forward declaration of 'const struct Packet'
./apps/Security_packet.h: In static member function 'static
hdr_security_packet* hdr_security_packet::access(const Packet*)':
./apps/Security_packet.h:27: error: invalid use of undefined type 'const
struct Packet'
common/object.h:44: error: forward declaration of 'const struct Packet'
./apps/Security_packet.h: At global scope:
./apps/Security_packet.h:31: error: expected class-name before '{' token
./apps/Security_packet.h:31: warning: 'class SecuritypacketAgent' has
virtual functions but non-virtual destructor


Anyone with any idea on how to correct that error. Any help is greatly
appreciated

Reply via email to