Sorry that uml/ppc has got out of date again recently!
On Sunday, 30 Sep 2001, thomas graichen wrote:
> /usr/src/uml/linux/arch/um/main.c:160: `PAGE_MASK' undeclared (first use
> in this function)
> which could be fixed by adding an include of asm/page.h to main.c -
> but i'm not shure if this is a clean solution or if maybe the ppc
> headers are not clean ... ok after that i ended up with
That's what I did, and Jeff has said that's fine. There are another
couple of small fixes I needed to make, patch attached. Half of the
patch is made of quick hacks, so they're not final.
> make: *** No rule to make target
> `/usr/src/uml/linux/include/asm/arch/rwlock.h', needed by
> `/usr/src/uml/linux/include/asm/rwlock.h'. Stop.
> which does not exist in the ppc includes (at least not in my tree :-)
Strange. I didn't come across that problem, and I don't have rwlock.h
either. I can only suggest trying from a clean (non-i386) tree.
> so my question is: is there anything special to take care of then
> using uml on ppc? - is it supposed to compile out of the box?
It should, but doesn't, especially after some recent UML work.
There are unfortunately still a couple of problems with UML on ppc.
There's some recently introduced stack handling code which looks like
it has endianness issues, which we haven't fixed yet. And signal
handling doesn't work quite right since since ppc doesn't trap
sigreturn, and we haven't yet worked around it.
Feel free to help. :-)
Chris Emerson, obsessed Cambridge juggler
Web page: http://www.chiark.greenend.org.uk/~cemerson/