LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Error when adding LAR to ns2 (https://www.linuxquestions.org/questions/linux-software-2/error-when-adding-lar-to-ns2-4175508306/)

Helen jameel 06-17-2014 07:11 PM

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

knudfl 07-07-2014 09:02 AM

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

-


All times are GMT -5. The time now is 04:33 PM.