How to Recompile Network Simulator 2


I installed ns2 under the folder /opt/
The path in my system is /opt/ns-allinone2.33/ns2.33/
  • Under the above said folder there are two Makefiles (Makefile and
  • is the input file (any addition or correction will be done in this file only). during compilation this file will be copied to Makefile. So dont try to modify Makefile.
  • Once the changes are made to the, execute the command ./configure at the above said folder. (/opt/ns-allinone2.33/ns2.33# ./configure)
  • Then execute make, if there are any errors during make, correct it
For Sample Examples of recompilation and how to edit the, comment me, so that i will put it in the next post.

1 thought on “How to Recompile Network Simulator 2”

Leave a Reply