OpenVZ Forum


Home » General » Support » kernel 2.6.27-openvz fails to compile
kernel 2.6.27-openvz fails to compile [message #35621] Wed, 08 April 2009 22:17 Go to next message
elmig is currently offline  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.
Re: kernel 2.6.27-openvz fails to compile [message #35627 is a reply to message #35621] Thu, 09 April 2009 09:33 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

please file a bug.
http://bugzilla.openvz.org/
thank you.
Previous Topic: vServer sets venet although it shouldn't
Next Topic: Console charset
Goto Forum:
  


Current Time: Sun Jul 14 13:22:16 GMT 2024

Total time taken to generate the page: 0.02442 seconds