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

No Subject



Dear ns-users,
 
I have downloaded ns2.1b3(All in One) successfully.
 
I'm using ns-2b2(All in One) on Solaris 2.4.
 
But, I have some problem when installing ns-2b3 ::
 
In file included from scheduler.cc:48:
mem-trace.h:36: field `time' has incomplete type
mem-trace.h: In method `MemTrace::MemTrace()':
mem-trace.h:55: warning: implicit declaration of function `int getrusage(...)'
mem-trace.h:55: `RUSAGE_SELF' undeclared (first use this function)
mem-trace.h:55: (Each undeclared identifier is reported only once
mem-trace.h:55: for each function it appears in.)
mem-trace.h: In method `void MemTrace::diff(char *)':
mem-trace.h:60: `RUSAGE_SELF' undeclared (first use this function)
*** Error code 1
make: Fatal error: Command failed for target `scheduler.o'
 
I cant correct above error.
 
How to sove above problem??
 
k.s. jang