I got the following compilation problem while building ns2-2.33
Conflicts in following files ('const char*' with 'char *'):
common/packet.cc:48 int p_info::addPacket(const char *name)
common/packet.h:248 static int addPacket(char *name);
Solution:
Remove 'const' from packet.cc.
After this it built successfully.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment