My UML kernel:- linux-2.6.15.1
UML patch:- uml-2.6.15-bs2.patch.bz2

When I do 'make linux ARCH=um' I get the following errors :-
----------------------------------------------------------------------------------------
<code>
CC      arch/um/os-Linux/drivers/ethertap_user.o
 CC      arch/um/os-Linux/drivers/tuntap_kern.o
 CC      arch/um/os-Linux/drivers/tuntap_user.o
 LD      arch/um/os-Linux/drivers/ethertap.o
 LD      arch/um/os-Linux/drivers/tuntap.o
 LD      arch/um/os-Linux/drivers/built-in.o
 CC      arch/um/os-Linux/sys-i386/registers.o
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
make: *** [arch/um/os-Linux] Error 2
[EMAIL PROTECTED] linux-2.6.15.1]# pwd
/root/uml/linux-2.6.15.1
[EMAIL PROTECTED] linux-2.6.15.1]#
</code>
----------------------------------------------------------------------------------------------

I was able to patch and compile the host kernel (2.6.15) successfully.

I tried the followng things without success:-
1. building it in /usr/src/uml/ . The HOWTO suggests ~/uml/ - tried
this too (above)
2. tried another 2.6.15 patch - uml-2.6.15-bs3-tls.patch.bz2 .

My gcc version is 4.1.0 20060304 (Fresh Fedora Core 5).

I initially installed an older version of UML utilities. Without
uninstalling it (since didn'nt know how) I installed a newer version
of the utils. Would this cause the problem?

Searching the lists did'nt help either.

Any idea why this behaviour, folks ?

Thanks,
K


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
User-mode-linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to