On Thursday 02 March 2006 18:49, Steffen Weber wrote:This patch solves the problem! :-) I have not yet rebooted the machine (it´s a busy webserver), but in case I do not reply again within one day you can assume that it works fine. Thank you very much!Jesper Juhl wrote:On 3/2/06, Steffen Weber <email@xxxxxxxxxxxxxxxx> wrote:There is no BITS_PER_BYTE in include/types.h. I´ve grepped through the kernel source (2.6.15 and 2.6.15.5) and found that BITS_PER_BYTE is defined only in arch/i386/mach-voyager/voyager_cat.cJesper Juhl wrote:Hmm, types.h contains theOn Thursday 02 March 2006 17:18, Steffen Weber wrote:Thanks for your reply, but this patch does not solve the problem (sameI´m getting a compile error with 2.6.15.5 on x86_64 using GCC 3.4.4Try the following (untested patch).
(does not seem to be related to the NFS one):
CC mm/mempolicy.o
mm/mempolicy.c: In function `get_nodes':
mm/mempolicy.c:527: error: `BITS_PER_BYTE' undeclared (first use in
this function)
mm/mempolicy.c:527: error: (Each undeclared identifier is reported only
once
mm/mempolicy.c:527: error: for each function it appears in.)
error message). I´ve appended my .config in case that might help.
#define BITS_PER_BYTE 8
that mmpolicy.c needs, so including that header should do the trick... odd..
I'll look at the code a bit more.
Whoops, I was looking here : http://sosdg.org/~coywolf/lxr/source/include/linux/types.h#L11
Try this patch instead :