Trouble compiling kernel [message #20278] |
Fri, 14 September 2007 14:52  |
martok
Messages: 1 Registered: September 2007
|
Junior Member |
|
|
Hello,
I am trying to compile OpenVM kernel for the first time on an x86_64 machine.
I have tried the release patch for 2.6.22 as well as the 2.6.22 git repo but
I'm getting the following error:
CC arch/x86_64/kernel/ldt.o
In file included from arch/x86_64/kernel/ldt.c:26:
include/bc/kmem.h: In function 'should_charge':
include/bc/kmem.h:47: error: dereferencing pointer to incomplete type
include/bc/kmem.h:49: error: dereferencing pointer to incomplete type
make[1]: *** [arch/x86_64/kernel/ldt.o] Error 1
make: *** [arch/x86_64/kernel] Error 2
Any help greatly appreciated. The problem appears to be with struct
kmem_cache but I don't see why it's throwing this error as ltd.c includes
slab.h where it is declared.
Thanks,
Shane
|
|
|
|