I have been beating my head against the wall trying to get a working UML for several days, so any help is greatly appreciated!I have downloaded
"linux-2.6.16.tar" (which has UML patch In built) followed by the commands.....

make defconfig ARCH=um

make ARCH=um

but i am getting the following errors...

arch/um/os-Linux/sys-i386/registers.c: In function 'get_thread_regs':
arch/um/os-Linux/sys-i386/registers.c:137: error: 'JB_PC' undeclared (first use in this function)
arch/um/os-Linux/sys-i386/registers.c:137: error: (Each undeclared identifier is reported only once
arch/um/os-Linux/sys-i386/registers.c:137: error: for each function it appears in.)
arch/um/os-Linux/sys-i386/registers.c:138: error: 'JB_SP' undeclared (first use in this function)
arch/um/os-Linux/sys-i386/registers.c:139: error: 'JB_BP' undeclared (first use in this function)
make[2]: *** [arch/um/os-Linux/sys-i386/registers.o] Error 1
make[1]: *** [arch/um/os-Linux/sys-i386] Error 2

Please help me.....

rgds,
Prasad.