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

Re: [ns] Problem in running ns in SOLARIS



hi
look carefully in the files, use grep.


------------------------------------------------------------------------------
Nitin Nagar                            
Graduate Teaching Assistant                   (R) (775) 348-7176
Dept. of Computer Science                     nagar@cs.unr.edu
University of Nevada,Reno
http://www.cs.unr.edu/~nagar
Reno NV-89557

Address:46 West 10th Street Reno NV-89503     
                                                          
------------------------------------------------------------------------------ 

On Fri, 2 Feb 2001, Theodoros Salonidis wrote:

> 
> Hi everybody, 
> 
>      I have downloaded the "all-in-one" tarball from the ns
> web site in order to install it in SOLARIS (web site says
> that all-in-one works for SOLARIS).
> 
> 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() .
> 
> Has anyone faced or know how to fix this problem?
> 
> Thanks a lot
>  
>    Theodoros
> 
>