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 updating your linux-headers to a 2.6.22 version. I had a similar issue some time ago. In my case, I needed to downgrade the linux-headers because some files were removed from include. Regards Jan Pawel K wrote: > 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/asm/page.h > > does not exist in my Gentoo but it exists in "include" > directory of just compiled 2.6.22.9 kernel. > > Can I force the build process to use it ? > How can I do that ? > > thank You for help ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user