-   Linux - Newbie (
-   -   invalid command name "Agent/Antnet" while executing (

avinash20 09-12-2012 06:08 AM

invalid command name "Agent/Antnet" while executing
hi every one i got this error while run tcl of antnet algo in ns2.34 red hat linux 5

invalid command name "Agent/Antnet"
while executing
"Agent/Antnet create _o139 0"
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/Antnet $i"
("for" body line 2)
invoked from within
"for {set i 0} {$i < $sz} {incr i} {
set nn($i) [ new Agent/Antnet $i]
(file "ring.tcl" line 30)

acid_kewpie 09-12-2012 07:46 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

All times are GMT -5. The time now is 12:05 PM.