[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] Problem in running ns in SOLARIS
Hi Lloyd, thanks a lot for the prompt response.
>
> what version of the all-in-one tarball? (% ns-version)
most recent release (ns-2.1b7 )
> what version of Solaris? (> uname -a)
>
SunOS 5.6 Generic_105181-21 sun4u sparc SUNW,Ultra-5_10
> My first post to ns-users concerned precisely this problem on Solaris.
>
> http://www.isi.edu/nsnam/archive/ns-users/webarch/1997/msg00199.html
>
I looked in chost.cc but there is no reference to random().
And cannot find any reference in any file in the ns and
nam directories.
Any ideas?
Thanks
Theodoros
> L.
>
> > While it has installed and built successfully, when I try to
> > run ANY example tcl script, I get the following message:
> >
> > "random() called in ns.
> > Random is not portable, please use Random::uniform() instead."
> >
> > The function random() is in the random.cc file and indeed
> > aborts when being invoked. The problem is that I cannot
> > locate WHERE random() is invoked so that I can comment it
> > out and replace it with Random::uniform() .
>
> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
>
>