LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installation of ZRP patch error (https://www.linuxquestions.org/questions/linux-newbie-8/installation-of-zrp-patch-error-4175437365/)

vishalpolara 11-15-2012 09:19 PM

installation of ZRP patch error
 
hello sir i am try install patch according to the step given by you
but i got following error now tell me what to do
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vishal/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/epa'
make[1]: Entering directory `/home/vishal/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vishal/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/nlanr'
make[1]: Entering directory `/home/vishal/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
make[1]: Nothing to be done for `all'.

knudfl 11-16-2012 03:30 AM

Nothing to be done for `all'. : Means that everything is OK.

1) The applications in ns-2.33/indep-utils/ were built at first run. (./install)
2) None of these separate applications "indep-utils/*/* "
have anything to do with the executable 'ns'.

EDIT : Also answered here ( 24 hours ago ) ..
#46 http://www.linuxquestions.org/questi...025/page4.html

.

vishalpolara 11-16-2012 03:58 AM

zrp
 
But sir zrp is not installed i cant run your example-zrp.txt file
i had completely installed ns-2.33
I had also installed zrp 10.04i3ex.deb package given by u
If i will do more try then ns2 will crase .
I had follow all ur previous step.
Now plz give me complete step to installed in ubuntu-10.04.

/*
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/vishal/ns-allinone-2.33/ns-2.33/indep-utils/webtrace-conv/ucb'
make: Target `all' not remade because of errors.
vishal@vishal-laptop:~/ns-allinone-2.33/ns-2.33$ cd ../
vishal@vishal-laptop:~/ns-allinone-2.33$ cd ../
vishal@vishal-laptop:~$ ns-zrp example-zrp.tcl.txt
num_nodes is set 20
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
can't read "val(cp)": no such variable
while executing
"source $val(cp)"
(file "example-zrp.tcl.txt" line 200)
vishal@vishal-laptop:~$

knudfl 11-16-2012 04:12 AM

Did you install the package 'zrp-ns-2.33-ubu1010_i386.deb' ?
sudo dpkg -i zrp-ns-2.33-ubu1010_i386.deb
The simulation command is : ns-zrp example-zrp.tcl


The install instructions for building ZRP are here, post #5
http://www.linuxquestions.org/questi...34-a-905025/#5
It is assumed, that you have a working ns-allinone-2.33,
i.e. the './install' command was run with no errors :
1) sudo apt-get install g++-4.1
2) cd ns-allinone-2.33/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
..... And then ..
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
c1) Make sure that line 37 in the 'ns-2.33/Makefile' is : CPP = g++-4.1
d) cd ns-allinone-2.33/ns-2.33 && make -k

.

vishalpolara 11-16-2012 04:31 AM

sir i got the following output after changing file

vishal@vishal-laptop:~$ ns-zrp example_zrp.tcl
num_nodes is set 20
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading traffic file
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...

nam pktdemo.nam file is working .

is zrp patch successfully installed??????????

if it is working then can you provide me more zrp example and can you plz suggest research work in zrp because i am doing MS so i have to submit thesis for my work can you help me ?????

knudfl 11-16-2012 05:09 AM

1 Attachment(s)
# 5 : Looks OK.

Next command : $ nam pktdemo.nam
.

knudfl 11-16-2012 05:17 AM

Hints about more examples : The old zrp.tar.gz
https://sites.google.com/site/nsnamzrp/

> zrp/example , zrp/doc , zrp/simulation


.

vishalpolara 11-16-2012 05:29 AM

2 Attachment(s)
tx sir i think it is perfect

can you tell me how to generate xgraph

vishalpolara 11-16-2012 08:06 PM

Related to zrp code
 
sir the link that is given by you is perfect

but the code is not working. there are many errors.

can you provide other example related to zrp

knudfl 11-17-2012 05:46 AM

1 Attachment(s)
# 9 : Google .. zrp.tcl ..
The first hit is https://sites.google.com/site/securezrp/tclcode Demo1 Demo2

Demo1 : Edited, and attached as zrp-Demo1-1.tcl.
... Please compare zrp-Demo1.tcl with the text in the above link, to know the changes.
Demo1 : $ ns-zrp zrp-Demo1.tcl : scatternet10.nam, scatternet10.tr are created.
$ nam scatternet10.nam : A nice visualization.

Please also see example.tcl (in zrp.tar.gz), which I once edited to example-zrp.tcl
→ → Can be compared with the diff command : $ diff example.tcl example-zrp.tcl

Demo2 : Please try editing the file yourself.
.

vishalpolara 11-17-2012 08:44 AM

sir can you tell me how to generate xgraph????????/.

i want to compare performance of zrp with other protocol.

give me step what to do inorder to generate xgraph.


and sir can you provide five ieee research paper on ZRP ??????

i am doing M.S. in CSE so i has to submit thesis in this year on this protocol so can you help me?????

knudfl 11-18-2012 03:50 AM

# 11
Quote:

can you provide five ieee research paper on ZRP ?
Google .. zrp ieee .. : 52,000 hits, lots of "University papers", some ieee.

Examples
http://ieeexplore.ieee.org/xpl/login...mber%3D5612255

http://www.telecomlab.oulu.fi/~carlo...uting/PE99.pdf

http://citeseerx.ist.psu.edu/viewdoc...=rep1&type=pdf

http://gicl.cs.drexel.edu/people/reg...outing/zrp.pdf

https://www.waset.org/journals/ijcie/v3/v3-4-39.pdf

http://www.ijcaonline.org/archives/number12/265-424

http://www.ijcaonline.org/proceeding...r2/2071-aca416

.

vishalpolara 11-18-2012 10:39 PM

sir tell me how to generate xgraph???

knudfl 11-19-2012 04:38 AM

#

Please respond to posts #10, #12.


All times are GMT -5. The time now is 12:10 AM.