Hi all,

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.


Best regards,

Miguel

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to