I'm trying to install user mode linux on FC2, but I've run into some trouble.
I downloaded the 2.6.7 source from kernel.org and the UML patch from user-mode-linux.org/~blaisorblade (uml-patch-2.6.7-01.bz2).
I applied the patch with "bzcat uml-patch-2.6.7-01.bz2 |patch -p1".
Then I configured the kernel using "make gconfig ARCH=um", and only added the PROC/mm option.
After that "make linux modules ARCH=um".
Compiles for some time, and the end result becomes (last couple of lines):
gcc -Wl,-T,arch/um/uml.lds.s -static -Wl,--wrap,malloc -Wl,--wrap,free -Wl,--wrap,calloc \
-o linux arch/um/main.o vmlinux -L/usr/lib -lutil
vmlinux(.text+0x6acf): In function `mem_init':
arch/um/kernel/mem.c:71: undefined reference to `phys_page'
vmlinux(.init.text+0x3268): In function `kmap_init':
include/asm/pgtable.h:394: undefined reference to `pte_offset'
collect2: ld returned 1 exit status
make: *** [linux] Error 1
I have not compiled that many kernels before, so this is kind of new to me. What am I doing wrong?
Should I give it a try on a 2.4 kernel instead?