
Roy Sfaradi wrote:
I've tried the --disable-watchdog (and --without-watchdog) option. The configure executed without errors, but, when I tried make I got the following error:
timings.cc: In function `void start_clock()': timings.cc:50: error: aggregate `rusage rsg' has incomplete type and cannot be defined timings.cc:51: error: `RUSAGE_SELF' undeclared (first use this function) timings.cc:51: error: (Each undeclared identifier is reported only once for each function it appears in.) timings.cc:51: error: `getrusage' undeclared (first use this function) timings.cc: In function `void print_clock(std::ostream&)': timings.cc:61: error: aggregate `rusage rsg' has incomplete type and cannot be defined timings.cc:62: error: `RUSAGE_SELF' undeclared (first use this function) timings.cc:62: error: `getrusage' undeclared (first use this function) make[2]: *** [timings.o] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
I guess this error is for similar reason...
Dear Roy,
You are right: thanks for reporting. This is now fixed in the CVS HEAD version. So, if you use that one, please try again. If you prefer not to use the CVS version, please let us know: we will prepare a snapshot for you by Monday. All the best,
Roberto