Quote:
Originally Posted by TB0ne
Since we don't know what steps you followed, from where, there's not a lot we can tell you. Also, both Ubuntu 14.04 and ns2.33 are pretty old...but the error is telling you what file the error is in, and what LINE THE ERROR IS ON. Can't be more clear than that....
|
....
i followed steps :
http://magnet.daiict.ac.in/magnet_me...n.html#Sec_1.2
http://magnet.daiict.ac.in/magnet_me....33_ZRP.tar.gz
http://magnet.daiict.ac.in/magnet_me...PatchZRP.patch
http://magnet.daiict.ac.in/magnet_me.../patchmyZRP.sh
It is assumed, that you have a working ns-allinone-2.33,
i.e. the './install' command was run with no errors.
""Section 3.2 Instructions :
1. First put following files into NS-2 home's parent directory:
* ns-allinone-2.33_ZRP.tar.gz (This contains my code)
* PatchZRP.patch
* patchmyZRP.sh (THIS SHELL-SCRIPT FILE -
This script file should be run from NS-2 home' parent directory)
2. Run patchZRP.sh from shell."" ( Like 'sh patchZRP.sh' ).
.....
But the script patchZRP.sh isn't working, easier to do manually :
a) cd ns-allinone-2.33/ && patch -p1 < PatchZRP.patch
b) touch ns-2.33/common/packet.h && touch ns-2.33/trace/cmu-trace.h
c) cd ../ && tar xvf ns-allinone-2.33_ZRP.tar.gz
d) cd ns-allinone-2.33/ns-2.33 && make -k
and also followed :
1) $ tar xvf ns-allinone-2.33.tar.gz
2) $ cd ns-allinone-2.33/
3) $ tar xvf zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
4) $ export CC=gcc34 CXX=g++34
5) $ ./install
6) $ cd ns-2.33/
7) $ cp ns ns-zrp
8) $ su <enter-root-password>
9) # cp ns-zrp /usr/local/bin/
... Then you can do : $ ns-zrp <example>.tcl
... from zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
but after performing both steps
i got same error
invalid command name "Agent/ZRP"
while executing
"Agent/ZRP set radius_ 2 "(file "zrp1.tcl" line 68)
while run tcl file of zrp..
so please help me how do i correct this error ?
Thank you