Hi,
I have downloaded the file
ns-allinone-2.1b4.tar.gz, but failed to build ns-2 under Solaris 2.5.1. The
wrong message is "The function getrusage must have a
protype."
I use man command to find which including file
has defined the function getrusage. Man shows that the including file resource.h
has defined this function. But really, i can not find it. What is wrong? Is my
system or other?
I appreciate any help.
Yiqun chen
Shanghai Jiao Tong University,
China
|