snap 20000214 build failure: RUSAGE_CHILDREN

Dave Gilbert gilbertd@treblig.org
Sun Feb 20 09:32:00 GMT 2000


Hi,
  On attempting to build Egcs snap 20000214 I get:

gcc.c: In function `execute':
gcc.c:2587: `prus' has an incomplete type
gcc.c:2588: `RUSAGE_CHILDREN' undeclared (first use in this function)
gcc.c:2588: (Each undeclared identifier is reported only once
gcc.c:2588: for each function it appears in.)
gcc.c:2589: invalid use of undefined type `struct rusage'

I don't think HAVE_SYS_RESOURCE_H or HAVE_GETRLIMIT are being defined even
though I have a sys/resource.h

(System: Linux/Alpha 2.2.13 with glibc-2.1.2 RedHat 6.1ish).

Dave

-- 
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert      | Running GNU/Linux on       |  Happy  \ 
\   gro.gilbert @ treblig.org |  Alpha, x86, ARM and SPARC |  In Hex /
 ____________________________|___ http://www.treblig.clara.net   __/



More information about the Gcc-bugs mailing list