Hello, after adding a new routing protocol you should type make and then you should do make install as a root (for example in ubuntu you should type: sudo make install) The problem will be solved.
--- On Thu, 4/8/10, 司马慕容 <[email protected]> wrote: From: 司马慕容 <[email protected]> Subject: [ns] "_o14 cmd" mistake when implementing new routing protocol To: [email protected] Date: Thursday, April 8, 2010, 10:53 AM Dear all, Im doing trying to simulate a new routing protocol of wireless ad hoc network in ns-2.34. But I came across the following mistake: (_o14 cmd line 1) invoked from within “_o14 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 “_o14″ line 2) (SplitObject unknown line 2) invoked from within “_o14 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 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] }" I cannot understand the problem. Would anyone by any chance help me please? Thanks in advance. Best regards. Zilu LIANG Computing and Communication System Course, Dept. of Electrical Engineering and Information Systems, Graduate School of Engineering, The Univ. of Tokyo Email: [email protected]
