Add some new funtionality into ns2 sometimes needs some skills, in this blog I’ll write the procces for updating changes into the compiling proccess.
I’am working with ns-2.34 and ubuntu 10.4
1. First we must change the file Makefile.in, and here add some lines for the new protocol. /home/user/ns-allinone-2.34/ns-2.34/Makefile.in (change the path according yours)
2. Into the command line we have run ./configure command. /home/user/ns-allinone-2.34/ns-2.34/
3. Under /home/user/ns-allinone-2.34 run the ./install command. Its all