On Monday 30 August 2004 00:18, Drake Wilson wrote:
> Greetings. I'm trying to use UML as a virtual host so I can test out
> various modifications to filesystem structure and boot process without
> affecting my outer host. My machine is currently running a Debianized
> but self-compiled Linux 2.6.6, with a mixture of Debian woody and sid
> packages. However, in trying to compile UML, I receive a boatload of
> chained errors that seems to start with a missing header file.
> I downloaded 'uml-patch-2.6.6-1' and applied it to an extracted
> vanilla (not Debian) Linux 2.6.6 in /usr/local/src/linux-2.6.6. [make
> menuconfig ARCH=um] seems to work okay, but then when I [make linux
> ARCH=um] it fails. The first part of a compile transcript from a
> subsequent retry follows:
> make: `arch/um/sys-i386/util/mk_sc' is up to date.
> make: `arch/um/sys-i386/util/mk_thread' is up to date.
> CC init/main.o
> In file included from include/linux/capability.h:45,
> from include/linux/sched.h:7,
> from include/linux/module.h:10,
> from init/main.c:16:
> include/linux/spinlock.h:39:26: asm/spinlock.h: No such file or directory
Disable CONFIG_SMP (which is not needed). It doesn't work anyway on SKAS mode,
so to use SMP you must use TT mode, which makes things a lot slower.
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729