LinuxQuestions.org
Visit Jeremy's Blog.
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-24-2014, 06:02 AM   #1
Niraj Mishra
LQ Newbie
 
Registered: Oct 2014
Posts: 8

Rep: Reputation: Disabled
zrp installation problem


INITIALIZE THE LIST xListHead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...


** what does this means??***
 
Old 11-24-2014, 09: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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Quote:
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
Kind of "informational text", not an error.

And : Can be ignored.
Some other files (zrp?) will show the same lines :
using backward compatible Agent/CBR; use Application/Traffic/CBR instead

The meaning : Don't know.
Is a "puts text" in tcl/lib/ns-source.tcl, line ~164 :
Code:
162	# The line below is needed for backward compat with v1 test scripts
163	if {[Simulator set nsv1flag] == 0} {
164		puts "using backward compatible Agent/CBR; use Application/Traffic/CBR instead"
165	}
166}
 
Old 01-28-2015, 08:54 AM   #3
salwa
Member
 
Registered: Dec 2014
Posts: 36

Rep: Reputation: Disabled
Hi,

When I excute my file.tcl I get this error
Code:
  using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
using backward compatible Agent/CBR; use Application/Traffic/CBR instead
Start of simulation..
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
Segmentation fault (core dumped)
Please what is the problem ? Thank you
 
Old 01-28-2015, 10:25 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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
← Post #3, @salwa.

No solution ( or precise answers ) for unknown file.tcl.

Generally about "Segmentation fault" : Post #2 here ...
http://www.linuxquestions.org/questi...-4175530493/#2

If you want further answers, please attach your file.tcl .
Must be attached as <unique-name>.tcl.txt

* Attachments : The paper clip tool in the 'Advanced Editor'.

-
 
Old 01-28-2015, 10:38 AM   #5
salwa
Member
 
Registered: Dec 2014
Posts: 36

Rep: Reputation: Disabled
I attached my tcl file thank you.

I secure AODV protocol and I apply it in my tcl file without changing the name of the file of AODV protocol
Attached Files
File Type: txt article2.tcl.txt (8.8 KB, 13 views)

Last edited by salwa; 01-28-2015 at 10:40 AM.
 
Old 01-28-2015, 01:24 PM   #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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
← Ref. #5 .

No issues here with $ ns article2.tcl
.. The three xgraph windows will open OK.
And when adding a line 57 : set namtrace [open 1_out.nam w]
.. also nam will open the display window OK.
( The file 1_out.nam = AODV10.nam = 50.6 MB ).
http://s390.photobucket.com/user/knu...20345.jpg.html


Segmentation fault : May be your OS is 64bits (x86_64) ?
This command will show : $ uname -m

* Most ns2 is for a 32bits OS.
Some protocols will also work with a 64bits OS.

-

Last edited by knudfl; 01-28-2015 at 01:33 PM.
 
Old 01-29-2015, 03:50 AM   #7
salwa
Member
 
Registered: Dec 2014
Posts: 36

Rep: Reputation: Disabled
My OS is 64bits. When I execute my tcl file with original AODV I have not any problem but when I modify AODV by securing it and I execute the same tcl file with the modified AODV, I get the error of "segmentation faults. I use openssl to secure AODV

Last edited by salwa; 01-29-2015 at 04:01 AM.
 
Old 01-29-2015, 11:08 AM   #8
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: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
← Ref. #7 .

Well, could be an issue with your <unknown aodv>.

Testing with a 32bits OS : Install 'VirtualBox',
.. then install a 32bits OS into VirtualBox.



-
 
  


Reply

Tags
ns2


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
installation of zrp routing protocol pqr Linux - Software 11 04-14-2015 09:55 AM
zrp protrocol installation problem Niraj Mishra Linux - Newbie 1 11-24-2014 12:16 PM
zrp installation in ns-2.35 on Fedora 19 bitsandeep Linux - Newbie 10 02-21-2014 01:22 AM
installation of ZRP patch error vishalpolara Linux - Newbie 13 11-19-2012 05:38 AM


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

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