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 06-04-2011, 02:33 AM   #1
sneha123
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Rep: Reputation: Disabled
performance analysis of tora protocol!


hello sir, i m making comparison between tora , dsr , dsdv and aodv..There is some error in tora.tcl protocol..Rest is working fine..why the tora.tcl is popping the error?
error is given below:-
Code:
  num_nodes is set 6
INITIALIZE THE LIST xListHead

    (_o22 cmd line 1)
    invoked from within
"_o22 cmd port-dmux _o37"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o22" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$agent port-dmux $dmux_"
    (procedure "_o19" line 11)
    (Node/MobileNode add-target-rtagent line 11)
    invoked from within
"$self add-target-rtagent $agent $port"
    (procedure "_o19" line 28)
    (Node/MobileNode add-target line 28)
    invoked from within
"$self add-target $agent $port"
    (procedure "_o19" line 15)
    (Node attach line 15)
    invoked from within
"$node attach $ragent [Node set rtagent_port_]"
    (procedure "_o3" line 79)
    (Simulator create-wireless-node line 79)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 23)
    (Simulator node line 23)
    invoked from within
"$ns node"
    invoked from within
"set n(0) [$ns node]"
    (file "tora.tcl" line 115)
 
Old 06-05-2011, 04:23 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
1. This appears to be an NS2 network simulation script.

2. The error suggests procedure "o22" is looking for "SplitObject", but can't find it.

'Hope that helps .. PSM
 
Old 06-09-2011, 04:32 AM   #3
sneha123
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
hello sir !
I have made changes in tora.cc and tora.h to successfully execute the tora.tcl code..
Changes are given in http://forums.techarena.in/networkin...ty/1127469.htm .. During recompilation in ns2.34 by using "make" command.... Following error occurs:
Code:
 tora/tora.cc: In member function ‘virtual int toraAgent::command(int, const char* const*)’:
tora/tora.cc:146:41: error: cannot convert ‘_IO_FILE*’ to ‘const char*’ for argument ‘1’ to ‘int printf(const char*, ...)’
make: *** [tora/tora.o] Error 1
Parallely, If i try to execute aodv.tcl , dsr.tcl and dsdv.tcl then no nam window is popping out which was being executed earlier ??
 
Old 06-09-2011, 11:40 AM   #4
sneha123
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
I found that ns executable file is converted into plain text document..... so, no nam window is displaying... I thought it has been converted after recompilation of the tora code.....what do you think sir ??
 
Old 06-16-2011, 07:38 AM   #5
sneha123
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
hello sir ,

I successfully recompiled the tora.cc and tora.h and getting no error in terminal...
But, nam window is display after 35 secs and no packets are transferring between any of the nodes.... Can u suggest me what could be the reason??
 
Old 06-17-2011, 09:12 AM   #6
sneha123
LQ Newbie
 
Registered: Jun 2011
Posts: 5

Original Poster
Rep: Reputation: Disabled
Plz reply... your reply would be appreciated !!
 
  


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
LXer: Deep-protocol analysis of UNIX networks LXer Syndicated Linux News 0 06-09-2010 04:10 PM
protocol analysis tools aeby Linux - Networking 2 10-01-2009 04:13 AM
performance analysis in redhat server 5 dnyanesh.3 Linux - Newbie 1 02-17-2009 04:31 AM
Performance Analysis of VPN Protocols Smooth Linux - Security 1 10-11-2003 08:44 AM
Protocol analysis software AMH Linux - Networking 3 06-11-2001 07:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 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