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

[ns] Problem in running ns in SOLARIS




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