From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199703300526.WAA01695@ellpspace.math.ualberta.ca> Date: Sat, 29 Mar 1997 22:26:18 -0700 (MST) From: Michal Jaegermann Subject: Re: resourcebits.h problem In-Reply-To: <199703300124.UAA31211@www.webdevelop.com> > > >You should find the file 'resourcebits.h' in /usr/include. > >If it is not there I would suggest re-installing the glibc, & gcc rpm's. > > I have the file installed, and all of the appropriate stuff. But as it is easy to notice kernel sources on alpha were/are changing quite fast. > In file included from /usr/local/include/sys/resource.h:27, > from msqld.c:54: > /usr/local/include/resourcebits.h:31: `RLIMIT_CPU' undeclared here (not ^^^^^^^^^^^^^^ It looks like this constant was not defined. It is easy to search for a definition with a command like that: $ find /usr/include -follow -type f | xargs grep RLIMIT_CPU I am using kernel 2.0.29, but on my system this results in something like that: /usr/include/asm/resource.h:#define __KERNEL_RLIMIT_CPU 0 /* CPU time in ms */ /usr/include/asm/resource.h: {LONG_MAX, LONG_MAX}, /* RLIMIT_CPU */ \ /usr/include/linux/resource.h:# define RLIMIT_CPU __KERNEL_RLIMIT_CPU /usr/include/resourcebits.h: _RLIMIT_CPU = RLIMIT_CPU, /usr/include/resourcebits.h:#undef RLIMIT_CPU /usr/include/resourcebits.h: RLIMIT_CPU = _RLIMIT_CPU, /usr/include/resourcebits.h:#define RLIMIT_CPU RLIMIT_CPU In 2.0.29 includes , so RLIMIT_CPU will be defined, but maybe this is not true in 2.0.18. If not then include this missing header explicitely and likely this will solve the problem. It is hard to check for me as I do not keep kernels 11 patchlevels back - especially that in the meantime a number of problems on Alpha was detected and fixed. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com