LinuxQuestions.org
Help answer threads with 0 replies.
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 07-09-2015, 09:25 PM   #1
fawaz2015
LQ Newbie
 
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
Question found errors while adding new protocol ,,PLZ help me


i used ns2.35 in linux ..whine i add balck hole protocol and implement example . i getting this error :
-------------------------
num_nodes is set 20
Creating nodes...
INITIALIZE THE LIST xListHead
(_o455 cmd line 1)
invoked from within
"_o455 cmd addr"
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 "_o455" line 2)
(SplitObject unknown line 2)
invoked from within
"_o455 addr"
("eval" body line 1)
invoked from within
"eval $node addr $args"
("default" arm line 2)
invoked from within
"switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 "$node start-dsr"
}
AODV {
set ragent [$self cre..."
(procedure "_o3" line 14)
(Simulator create-wireless-node line 14)
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"
("for" body line 2)
invoked from within
"for {set i 20} {$i < 21} {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0 ;#disable random motion
$ns_ at 0.01 "$node_($i) label "blac..."
(file "bhAODV.tcl" line 57)
--------------------------------------
i try solution this by used this commands:
1- ./configure
2- make clean
3- make
4- sudo make install
but still getting same error??? PLZ any one can help me???
 
Old 07-12-2015, 11:02 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: CentOS 6 & 7
Posts: 3,269

Rep: Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893Reputation: 893
Seems related to this
http://www.linuxquestions.org/questi...th-ns2-847403/
 
Old 07-12-2015, 12:27 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,321

Rep: Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581Reputation: 3581
fawaz2015 : Welcome to LQ.

NS-2.35 + blackhole : Post #38 here ...
http://www.linuxquestions.org/questi...163/page3.html


"bhAODV.tcl" : Not a usable simulation file.
Please use the tested examples only, blackholeaodv2005-examples-1.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

BlackholeAODV info :
. http://www.linuxquestions.org/questions/tags/blackhole/
. http://network-simulator-ns-2.7690.n...hole&sort=date
. https://groups.google.com/forum/?fro...hole|sort:date


.

Last edited by knudfl; 07-12-2015 at 12:29 PM.
 
  


Reply

Tags
blackhole, 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
[SOLVED] Help me, plz! Cluster Based Routing Protocol (CBRP) in ns-2 rannn Linux - Wireless Networking 4 12-30-2013 02:25 PM
adding a new protocol tootz Linux - Software 9 03-08-2011 03:54 AM
found some errors while posting in forums.....plz hlp!!!! nellaisamurai LQ Suggestions & Feedback 1 11-29-2010 03:40 AM
adding a new protocol cranium2004 Programming 9 08-26-2004 03:24 AM

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

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