[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to execute a simulation using NS
> I would encourage you to read the link below. The problem that I report is
> *not* mentioned on this web page. And FYI, I have already visited the web
> page and have applied the suggested patch (for On win95/98/NT, ns compiles
> but does not run. Doing a "Simulator info instprocs" shows nothing. )
What you've said sound very similar to the same problem: because of the
bug in bin/tcl-expand.tcl, gen/ns_tcl.cc was not generated correctly hence
ns does not know anything about those otcl instprocs, which caused the
trace-all problem you saw. It would be helpful if you could supply more
information. Please read the Makefile to see how to generate ns_tcl.cc,
and see if it's generated correctly.
- Haobo
> ----- Original Message -----
> From: "Haobo Yu" <[email protected]>
> To: "Rajesh Sundaram"
> Cc: <[email protected]>
> Sent: Tuesday, November 09, 1999 3:17 PM
> Subject: Re: Unable to execute a simulation using NS
>
>
> > Please read http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html, under
> > 2.1b5. Please read that file before reporting problems in this list.
> > It'll save your time and other people's time. Thank you very much.
> >
> > - Haobo
> >
> > On Tue, 9 Nov 1999, Rajesh Sundaram wrote:
> >
> > > I get similar errors when trying to run the test-all-simple test.
> > >
> > > _o2: unable to dispatch method node
> > > while executing
> > > "$ns node"
> > > (procedure "_o3" line 5)
> > > (Object next line 5)
> > > invoked from within
> > > ----- Original Message -----
> > > From: Rajesh Sundaram
> > > To: [email protected]
> > > Sent: Tuesday, November 09, 1999 2:05 PM
> > > Subject: Unable to execute a simulation using NS
> > >
> > >
> > > After compiling ns.exe under Windows NT, I tried to run one of the
> tests: I get the following error. Any ideas as to how I can fix this ? Is
> this because my runtime environment is not setup correctly ?
> > >
> > > Thanks.
> > >
> > > /rs/ns-2.1b5/tcl/test>sh test-all-red
> > > Tests: red1 ecn red2 red_twoway red_twowaybytes flows_unforced
> flows_forced flows_combined
> > >
> > > Running test red1:
> > > ../../ns test-suite-red.tcl red1
> > > _o3: unable to dispatch method trace-all
> > > while executing
> > > "$ns_ trace-all $allchan_"
> > > (procedure "_o2" line 10)
> > > (Object next line 10)
> > > invoked from within
> > > "$self next"
> > > (procedure "_o2" line 5)
> > > (Test/red1 init line 5)
> > > invoked from within
> > > "_o2 init "
> > > (Class create line 1)
> > > invoked from within
> > > "Test/red1 create _o2 "
> > > invoked from within
> > > "catch "$className create $o $args" msg"
> > > (procedure "new" line 3)
> > > invoked from within
> > > "new Test/$test"
> > > (procedure "TestSuite" line 23)
> > > (TestSuite runTest line 23)
> > > invoked from within
> > > "TestSuite runTest"
> > > (file "test-suite-red.tcl" line 702)
> > > next?
> > >
> >
> >
> >
>