Search This Blog

Wednesday 27 November 2013

How to compile after editing aodv files ?


In cd ns-2.35 folder

     i) ./configure  ( optional )

     ii) make clean

     iii) make

    iv) make install or  sudo make install


thats it...!

2 comments:

  1. when i do step ii ..when it completes this error come :
    g++ -Wl,-export-dynamic -o common/ptypes2tcl common/ptypes2tcl.o
    ./common/ptypes2tcl > gen/ptypes.cc
    /bin/sh: 1: cannot create gen/ptypes.cc: Permission denied
    make: *** [gen/ptypes.cc] Error 2
    barinderpal@ubuntu:~/ns-allinone-2.35/ns-2.35$

    ReplyDelete
    Replies
    1. @barinder, i am assuming, you have solved the error as @Reem kadi mentioned. (FYI - login as root then do all the compilation if you have denied of permission)

      Delete

Thanks & Regrds,
Karthick SIva