Trying to build User-Mode-Linux Kernel
hcourtice at optusnet.com.au
Thu Nov 9 10:44:26 UTC 2006
I am trying to build a UML kernel from Ubuntu 6.o6.
I've never built a kernel before, so probably doing something basic wrong..
4.0.3 (Ubuntu 4.0.4-1ubuntu5)
(head -1 Debian.src.changelog)
linux-source-2.6.15 (220.127.116.11.48) dapper-security
I am following the instructions in "Installing User Mode Linux"
I untarred source files to my home directory
root at desktop:~/tar -xvjf /usr/src/linux-source-2.6.15.tar.bz2
Configure went without a problem. I selected the suggested options in the
root at desktop:~/linux-source-2.6.15# make ARCH=um menuconfig
Then try to make the kernel.
root at desktop:~/linux-source-2.6.15# make ARCH-um linux
Very quickly get an error:
In file included from include/asm/bitops.h:4
Include/asm/arch/bitops.h:10:29: error asm/alternative.h: no such file or
Followed by lots of errors "In function 'xxx_bit'" syntax error before
Clearly I'm doing something basic wrong.
More information about the ubuntu-users