OpenVZ Forum


Home » General » Support » *SOLVED* Debian compile problem
*SOLVED* Debian compile problem [message #3214] Wed, 17 May 2006 13:16 Go to next message
m_o_d is currently offline  m_o_d
Messages: 4
Registered: May 2006
Junior Member
Hello
I use Debian sid/unstable with gcc 4.0
I have 2.6.16 with patch-026test012-combined when i compile i have error who can help with that?

kernel/fairsched.c: In function `fairsched_do_dump':
kernel/fairsched.c:886: error: `PAGE_KERNEL' undeclared (first use in this function)
kernel/fairsched.c:886: error: (Each undeclared identifier is reported only once
kernel/fairsched.c:886: error: for each function it appears in.)
make[2]: *** [kernel/fairsched.o] Error 1
make[1]: *** [kernel] Error 2


Thenks

[Updated on: Thu, 18 May 2006 22:25] by Moderator

Report message to a moderator

Re: Debian compile problem [message #3218 is a reply to message #3214] Wed, 17 May 2006 13:52 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
It's known BUG, see http://bugzilla.openvz.org/165

Solution is to add
#include <asm/pgtable.h>

to kernel/fairsched.c

Will be fixed in next kernel.

[Updated on: Thu, 18 May 2006 22:25] by Moderator

Report message to a moderator

Previous Topic: Unable to apply 026test012 patch [SOLVED]
Next Topic: pts limit
Goto Forum:
  


Current Time: Sun Nov 17 23:34:38 GMT 2024

Total time taken to generate the page: 0.04089 seconds