kernel 2.6.27-openvz fails to compile [message #35621] |
Wed, 08 April 2009 22:17 |
elmig
Messages: 7 Registered: October 2008
|
Junior Member |
|
|
Here's a message I sent do -dev, which seems that it not reached the mailing-list.
---8<---
i've just got the git tree of 2.6.27 and the kernel failed to compile.
It complained with:
kernel/pid_namespace.c: In function ‘__pid_ns_attach_task’:
kernel/pid_namespace.c:187: error: dereferencing pointer to incomplete type
kernel/pid_namespace.c:188: error: dereferencing pointer to incomplete type
make[1]: ** [kernel/pid_namespace.o] Erro 1
make: ** [kernel] Erro 2
It seems the definition of the struct kmem_cache it's only available for
kernels compiled with SLUB. The struct it's defined on linux/slub_def.h.
Workaround: compile kernel with SLUB support instead of the default SLAB.
Fix: define/use correct header file?
Hope someone can fix this.
|
|
|