Declan Moriarty <[EMAIL PROTECTED]> writes: > What's going wrong? There was a change to the definition of RLIM_INFINITY in the 2.3.x kernels. This causes problems as it conflicts with the definition in glibc. > How do I fix it? At least 2 possibilities. 1) Apply this patch which changes the header file
--- /usr/include/bits/resource.h.orig Sat Nov 6 17:23:45 1999 +++ /usr/include/bits/resource.h Thu Jan 6 22:26:32 2000 @@ -105,10 +105,12 @@ }; /* Value to indicate that there is no limit. */ -#ifndef __USE_FILE_OFFSET64 -# define RLIM_INFINITY ((long int)(~0UL >> 1)) -#else -# define RLIM_INFINITY 0x7fffffffffffffffLL +#ifndef RLIM_INFINITY +# ifndef __USE_FILE_OFFSET64 +# define RLIM_INFINITY ((long int)(~0UL >> 1)) +# else +# define RLIM_INFINITY 0x7fffffffffffffffLL +# endif #endif #ifdef __USE_LARGEFILE64
2) Install the (beta) glibc 2.1.3pre1 library. This should be straightforward if you are currently running glibc 2.1.x, but is not so simple if you are using 2.0.x. > What should I have read before asking here? The linux-kernel mailing list? (always a good idea when running development series kernels)
