[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: First demo..
On Wed, 13 May 1998 12:17:52 PDT, Rodney Van Meter wrote:
>...
>
>I'm still very fuzzy on exactly what I'm doing, but I'm plowing ahead
>anyway. Currently I'm trying to add some code to ns, but I'm having
>trouble. I added my module to Makefile.in, then did
>
>./configure --enable-debug
>
>and it generated a Makefile for a statically-linked ns, and removed -ldl
>from the list of libraries, but it won't link (under Red Hat 4.2)
>because there's no libm.a.
ns should build cleanly out of the box on RedHat 5.0.
> So, I went back to the dynamically linked
>version, and it links, but I get this error when I run it:
>
>[rdv@omocha ex]$ ns rc.tcl
>invalid command name "Simulator"
> while executing
>"Simulator create _o1 "
> invoked from within
>"catch "$className create $o $args" msg"
> (procedure "new" line 3)
> invoked from within
>"new Simulator"
> (file "rc.tcl" line 10)
>
>I suspect I've screwed up my configuration somehow, any suggestions?
This problem is a FAQ, see the
<http://www-mash.cs.berkeley.edu/ns/ns-problems.html>
web page.
-John Heidemann