[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] HELP!



it looks like your queue's target is not defined. Try using Queue/CNS when 
declaring the simplex-link. Also try it without trace-all, and see if the 
message is still there.
> X-Authentication-Warning: mash.CS.Berkeley.EDU: majrdomo set sender to 
[email protected] using -f
> X-Originating-IP: [206.109.93.2]
> From: "Igor Cakulev" <[email protected]>
> To: [email protected]
> Subject: [ns] HELP!
> Date: Tue, 21 Mar 2000 09:50:28 PST
> Mime-Version: 1.0
> 
> 
> Greetings,
> I am beginner in ns, and trying to simulate CNS scheduling. The bellow code 
> is almost the
> 
> same as drop-tail.cc. Any  help me with the following errors is appreciated.
> Igor
> The output:
> $ ns proba1.tcl
> no such object
>     (_o21 cmd line 1)
>     invoked from within
> "_o21 cmd target {}"
>     invoked from within
> "catch "$self cmd $args" ret"
>     (procedure "_o21" line 2)
>     (SplitObject unknown line 2)
>     invoked from within
> "$deqT_ target [$queue_ target]"
>     (procedure "_o15" line 21)
>     (SimpleLink trace line 21)
>     invoked from within
> "$link_([$n1 id]:[$n2 id]) trace $self $file"
>     (procedure "_o3" line 7)
>     (Simulator trace-queue line 7)
>     invoked from within
> "$self trace-queue $n1 $n2 $trace"
>     (procedure "_o3" line 59)
>     (Simulator simplex-link line 59)
>     invoked from within
> "$ns simplex-link $n1 $n2 5Mb 5ms CNS   "
>     (file "proba1.tcl" line 9)
> 
> 
> 
...

...

>     $ns trace-all $f
...

...
>     $ns simplex-link $n1 $n2 5Mb 5ms CNS
...

Tarik