-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Urs Rau wrote: > Jeff Dike wrote: >> On Mon, Jun 11, 2007 at 10:07:16PM +0100, Urs Rau wrote: >>> What should I do on a CentOS 5 box that runs 2.6.18-8.1.4.el5xen? AFAIK >>> there is not going to be a higher than 2.6.19.5 kernel for this very >>> recent enterprise release. >> Run a recent UML - that has its own bug fixes, plus workarounds for >> host bugs, notably 2.6.21.5 having a workaround for an FC6 host bug. >> > > OK, I have taken 2.6.21.5 from kernel.org, untarred it, done a "make > mrproper ARCH=um", followed by a "make oldconfig ARCH=um" (using the > nagafix .config file for 2.6.21.2-am1 as a starter) and then tried a > "make linux ARCH=um" but it didn't get very far at all. > > I get the error: > arch/um/os-Linux/start_up.c: In function âstart_ptraced_childâ: > arch/um/os-Linux/start_up.c:110: error: âPAGE_SIZEâ undeclared (first > use in this function) > arch/um/os-Linux/start_up.c:110: error: (Each undeclared identifier is > reported only once > arch/um/os-Linux/start_up.c:110: error: for each function it appears in.) > arch/um/os-Linux/start_up.c: In function âstop_ptraced_childâ: > arch/um/os-Linux/start_up.c:156: error: âPAGE_SIZEâ undeclared (first > use in this function) > make[1]: *** [arch/um/os-Linux/start_up.o] Error 1 > make: *** [arch/um/os-Linux] Error 2 Does start_up.c include asm/page.h? Do you have your kernel headers installed?
> > Is there a certain set of patches I have to apply to the vanilla kernel > before I can successfully compile a recent UML kernel? No, patches are no longer needed for normal usage. Antoine > > Thanks for any pointers. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGbrEGGK2zHPGK1rsRCtzTAJ9SPclBGUdNNe9msxxqoued9KL0pQCdE/Dj rQuj/FBIsPghdcy+5W6VAHU= =lPgC -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user