I am trying to get a 2.6.6 kernel working in um. Since the kernel from
http://www.kernel.org already has an um arch. I tried "make menuconfig ARCH=um"
and was able to configure uml options. But trying to get the uml
executable kernel using "make" fails. What am I missing ?
Setup is Fedora core 2:
[jmulik@... jmulik]$ rpm -q gcc glibc
[jmulik@... linux-2.6.6]$ make
SYMLINK include/asm -> include/asm-i386
SPLIT include/linux/autoconf.h -> include/config/*
In file included from include/asm/thread_info.h:16,
include/asm/processor.h:66: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared here (not in a function)
include/asm/processor.h:66: error: requested alignment is not a constant
In file included from include/linux/list.h:7,
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT'
undeclared (first use in this function)
include/linux/prefetch.h:64: error: (Each undeclared identifier is
reported only once
include/linux/prefetch.h:64: error: for each function it appears in.)
make: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2
My interest in the 2.6.6 kernel is that I can apply a MPLS patch to it.
Thanks in advance.