LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2012, 10:19 PM   #1
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Rep: Reputation: Disabled
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'.
 
Old 11-16-2012, 04:30 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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

.

Last edited by knudfl; 11-16-2012 at 04:51 AM.
 
Old 11-16-2012, 04:58 AM   #3
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
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:~$

Last edited by vishalpolara; 11-16-2012 at 05:20 AM.
 
Old 11-16-2012, 05:12 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
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

.

Last edited by knudfl; 11-16-2012 at 05:15 AM.
 
Old 11-16-2012, 05:31 AM   #5
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
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 ?????

Last edited by vishalpolara; 11-16-2012 at 06:07 AM.
 
Old 11-16-2012, 06:09 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 5 : Looks OK.

Next command : $ nam pktdemo.nam
.
Attached Thumbnails
Click image for larger version

Name:	pktdemo.nam.jpg
Views:	22
Size:	23.8 KB
ID:	11246  
 
Old 11-16-2012, 06:17 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

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

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


.
 
Old 11-16-2012, 06:29 AM   #8
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
tx sir i think it is perfect

can you tell me how to generate xgraph
Attached Thumbnails
Click image for larger version

Name:	Screenshot-Save Screenshot.png
Views:	23
Size:	20.7 KB
ID:	11247   Click image for larger version

Name:	Screenshot-nam: pktdemo.nam.png
Views:	20
Size:	4.8 KB
ID:	11248  

Last edited by vishalpolara; 11-16-2012 at 06:35 AM.
 
Old 11-16-2012, 09:06 PM   #9
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
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
 
Old 11-17-2012, 06:46 AM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 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.
.
Attached Files
File Type: txt zrp-Demo1-1.tcl.txt (6.4 KB, 42 views)

Last edited by knudfl; 11-17-2012 at 06:52 AM.
 
Old 11-17-2012, 09:44 AM   #11
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
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?????

Last edited by vishalpolara; 11-17-2012 at 10:07 PM.
 
Old 11-18-2012, 04:50 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
# 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

.
 
Old 11-18-2012, 11:39 PM   #13
vishalpolara
Member
 
Registered: Nov 2012
Posts: 47

Original Poster
Rep: Reputation: Disabled
sir tell me how to generate xgraph???
 
Old 11-19-2012, 05:38 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
#

Please respond to posts #10, #12.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install ZRP (Zone routing protocol) patch in ns-2.34 hassan329 Ubuntu 221 05-02-2016 11:50 AM
How to install ZRP (Zone routing protocol) patch in ns-2.35 dmaa Linux - Software 42 01-09-2016 06:19 PM
Need step for ZRP patch vishalpolara Linux - Newbie 1 11-15-2012 05:03 AM
Help me NS2 ZRP patch helok Programming 0 10-18-2012 02:12 AM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration