[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: I am sorry that I do not know how to start ns2.
If you are installing all-in-one on Linux, and did not find nam, As
mentioned in the nam FAQ, the problem may be:
Problem: Nam gets link errors when building with references to "dlopen"
similar functions beginning with dl. (This problem also occurs with
ns.)
Work-around: You need to manually add the library for dynamic linking
to ns's Makefile. Look in the Makefile for the line LIB= and add your
systems library for dynamic linking (typically -ldl).
So, You need to manually make nam after you modified Makefile under nam/
to add in -ldl.
Also please visit:
http://www-mash.CS.Berkeley.EDU/nam/nam-problems.html
Good Luck.
--Zhenhai
----------------------------------------------------------
On Sat, 24 Jan 1998, K Sun wrote:
> Hello, there,
> Thanks. However, I still have problems.
> I download the nam-1.0a6 (binary release) for Linux.
> When I try to run it, there is some mistakes:
>
> ....
> ./nam-1.0a6: error in loading shared libraries
> /usr/lib/libtcl8.0.so: undefined symbol:stat
> .......
>
> I thought, perhaps, it was because I did not correctly install TCL
> package. So, I specially re-install the TCL8.0. However, after I
> installed TCL 8.0 and run nam-1.0a6, there's the same fault.
> I do not know why. Perhaps, there is something wrong with TCL packages?
>
> really hope further reply.
>
> Best Regards,
>
> Sincerely Yours,
>
> Sun Kai
>
> On Sun, 24 Jan 1999 15:43:51 -0500 (EST) Sukesh Garg
> <[email protected]> wrote:
>
> >
> >
> > > Hello,
> > > Thank you previous help.
> > > The Marc Greis's tutorial is really a good guide for me.
> > > However,when I try the first example, I meet a problem.
> > > >From the text of the first tcl script, I feel there should be an
> > > execute file "nam". Nevertheless, I can not find it in any directorys.
> >
> > nam is also available as a self extracting binary... check it at:
> >
> > http://www-mash.cs.berkeley.edu/nam/
> >
> >
> >
> > > There is only a directory name "nam" under the directory "ns-2".
> > > I do not know whether the above fact means I have not installed nam
> > > successfully since validate only checks ns-2 simulator.
> >
> > well nam is a complete package.......not part of ns...
> >
> > > What I downloaded and installed is ns-allinone-2.1b4a.
> > > By the way, what is the difference between nam.1 and nam?
> > >
> > >
> >
> > ns-allinone-2.1b4a is not recoed for wins...
> >
> > nam.1 is documentation for nam
> > nam is the exe for it...
> >
> > I recomend intalling the binaries and giving including it in ypour path
> >
> > HTH
> > Sukesh
>
>
>