Friday, January 15, 2010

Fedora 10 and Ns2-2.33 compilation problems

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.

No comments:

Post a Comment