LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2014, 08:11 PM   #1
Helen jameel
LQ Newbie
 
Registered: Jun 2013
Location: Manchester
Posts: 6

Rep: Reputation: Disabled
Error when adding LAR to ns2


I just install ns2.32
and patch the lar patch file with all the required changes as discriped in http://wing.nitk.ac.in/resources/Imp...0in%20NS-2.pdf

but i have this problem

invalid command name "Agent/LAR"
while executing
"Agent/LAR create _o815 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/LAR"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $val(nn)} {incr i} {
set g($i) [new Agent/LAR]
$node_($i) attach $g($i) 254

# need to tell the lar agents about their link ..."
(file "box.tcl" line 174)


That mean it cannot see the LAR protocol
how can i solve the problem
 
Old 07-07-2014, 10:02 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,504

Rep: Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640Reputation: 3640
LAR info :
. http://www.linuxquestions.org/questions/tags/lar/
. http://network-simulator-ns-2.7690.n...h-td27351.html

LAR + DREAM examples, lar+dream-examples-0714.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing

-
 
  


Reply

Tags
lar, 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
Error when adding LAR protocol in NS2 Helen jameel Linux - Software 28 04-03-2016 09:15 PM
error adding new module in ns2 r0w225 Linux - Newbie 25 09-15-2014 01:05 PM
NS2: MFR and LAR routing protocol anisabutsi Linux - Software 1 06-04-2013 01:20 PM
make error in ns2.29 when adding new protocol assassin91 Linux - Newbie 25 04-24-2012 12:17 AM
error in adding new protocol in ns2.34 for fedora 14 jothi8 LinuxQuestions.org Member Success Stories 0 03-06-2012 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 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
Open Source Consulting | Domain Registration