Re: [uml-user] kernel headers for UML

2007-10-11 Thread Jeff Dike
On Thu, Oct 11, 2007 at 06:16:02AM -0700, Pawel K wrote: > It helped to the next file complaining about > "asm/page.h". I removed "asm/page.h" from all > remaining files and end up with the following > compilation error: > > arch/um/os-Linux/skas/mem.c:222: error: ‘PAGE_SHIFT’ > undeclared (first

Re: [uml-user] kernel headers for UML

2007-10-11 Thread Pawel K
> > I assume, you need to update your linux-headers. > > No, we need to fix UML bugs. > > > The include files in the kernel directory are > meant for internal use and > > specify the interface of the kernel you build. The > UML-Guest kernel > > itself is a user-space program that needs those > d

Re: [uml-user] kernel headers for UML

2007-10-08 Thread Jeff Dike
On Mon, Oct 08, 2007 at 01:11:43PM +0200, Jan Wolff wrote: > I assume, you need to update your linux-headers. No, we need to fix UML bugs. > The include files in the kernel directory are meant for internal use and > specify the interface of the kernel you build. The UML-Guest kernel > itself is a

Re: [uml-user] kernel headers for UML

2007-10-08 Thread Jan Wolff
Hi Pawel, I assume, you need to update your linux-headers. The include files in the kernel directory are meant for internal use and specify the interface of the kernel you build. The UML-Guest kernel itself is a user-space program that needs those definitions of the kernel that will host it. Try

[uml-user] kernel headers for UML

2007-10-07 Thread Pawel K
Hello I perform the following commands to compile the 2.6.22.9 UML kernel: cd /usr/src/linux-2.6.22.9/ make defconfig ARCH=um make ARCH=um I receive the following compilation error: arch/um/kernel/skas/clone.c:6:22: error: asm/page.h: No such file or directory That's true. The file: /usr/include