[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling User-Mode-Linux kernel



On Mon, January 8, 2007 11:03 pm, Gordon Haverland said:
> On Monday 08 January 2007 14:07, Mattia Dongili wrote:
>> On Mon, Jan 08, 2007 at 12:43:00PM -0700, Gordon Haverland
>> wrote: [...]
>
>> probably you missed `make clean mrproper` before building UML.
>
> I've tried:
>  make-kpkg clean
>  make clean
>  make mrproper
>   make clean mrproper
> and all continue to die in exactly the same place.  Different
> version of gcc being used?

well, this can't cause a file not found error :)
Anyway I'm using etch's default 4.1

>>   CC      arch/um/os-Linux/skas/process.o
>> arch/um/os-Linux/skas/process.c: In function
>> 'copy_context_skas0': arch/um/os-Linux/skas/process.c:328:
>> error: 'PAGE_SHIFT' undeclared (first use in this function) ...
>>
>> DOH! oh, now I remember :) we have a fix in the user-mode-linux
>> package see here:
>> http://svn.debian.org/wsvn/pkg-uml/trunk/src/user-mode-linux/de
>>bian/patches/?rev=0&sc=0
>>
>> > I'll continue to plug away at this (waiting for drywall
>> > compound to dry) for a while, but if someone has a pointer, I
>> > would be glad to see it.  :-)
>>
>> you may also want to try build the user-mode-linux from source
>> by yourself, eg:
>>
>> apt-get source user-mode-linux
>> cd user-mode-*;
>> dpkg-buildpackage -uc -us -b -rfakeroot
>
> I think I'll download this and try it.  But I would imagine I
> first need to compile the UML kernel?  Oh well, lots of fun.  :-)

No, this is taken care by the package itself, IOW the user-mode-linux
debian's package contains the UML kernel.

BTW: we have a dedicated list (pkg-uml-devel@lists.alioth.debian.org) if
you need help
-- 
mattia
:wq!




Reply to: