Re: [uml-devel] User Mode Linux still doesn't build in2.6.23-final.

From: WANG Cong
Date: Mon Oct 22 2007 - 08:43:28 EST


On Mon, Oct 22, 2007 at 02:30:41PM +0200, Ingo Molnar wrote:
>
>* WANG Cong <xiyou.wangcong@xxxxxxxxx> wrote:
>
>> On Mon, Oct 22, 2007 at 12:36:00PM +0100, Al Viro wrote:
>> >On Mon, Oct 22, 2007 at 03:48:23PM +0800, WANG Cong wrote:
>> >> I just followed what Sam told me, errors are much fewer this time,
>> >> but still exist. Error messages are:
>> >>
>> >> CC arch/um/kernel/syscall.o
>> >> CC arch/um/kernel/sysrq.o
>> >> arch/um/kernel/sysrq.c: In function ???show_stack???:
>> >> arch/um/kernel/sysrq.c:63: error: ???UESP??? undeclared (first use in this function)
>> >> arch/um/kernel/sysrq.c:63: error: (Each undeclared identifier is reported only once
>> >> arch/um/kernel/sysrq.c:63: error: for each function it appears in.)
>> >> make[1]: *** [arch/um/kernel/sysrq.o] Error 1
>> >> make: *** [arch/um/kernel] Error 2
>> >>
>> >> Or I missed something again?
>> >>
>> >> And I use `make defconfig ARCH=um' to generate .config, my tree
>> >> is 2.6.23-git16 (Al, is this OK?).
>> >
>> >Now apply the patch upthread, it should've fixed that one (and yes, you
>> >are down to the stuff this patch is supposed to fix - and does so here).
>>
>> Yes, this one is fixed. Thanks for your patch.
>>
>> But another one comes out. ;(
>>
>> CC kernel/sched.o
>> kernel/sched.c:3902: error: conflicting types for âwait_for_completion_interruptibleâ
>> include/linux/completion.h:46: error: previous declaration of âwait_for_completion_interruptibleâ was here
>> kernel/sched.c:3908: error: conflicting types for âwait_for_completion_interruptibleâ
>> include/linux/completion.h:46: error: previous declaration of âwait_for_completion_interruptibleâ was here
>> make[1]: *** [kernel/sched.o] Error 1
>> make: *** [kernel] Error 2
>
>does the patch below ontop of latest -git help?
>

Thanks, Ingo!

I am using 2.6.23-git16 plus Al's previous patch.
After applying your patch, it builds fine.

Regards.


WANG Cong

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/