Re: cannot build Linux 4.4: arch/mips/kernel/signal.c:142:12: error: âstruct ucontextâ has no member named âuc_extcontextâ

From: Heinrich Schuchardt
Date: Sun Jan 17 2016 - 09:48:37 EST


On 01/17/2016 02:54 PM, Heinrich Schuchardt wrote:
>
> HEAD is now at afd2ff9... Linux 4.4
> arch/mips/kernel/signal.c: In function âsc_to_extcontextâ:
> arch/mips/kernel/signal.c:142:12: error: âstruct ucontextâ has no member
> named âuc_extcontextâ
> return &uc->uc_extcontext;
> ^
> In file included from include/linux/poll.h:11:0,
> from include/linux/ring_buffer.h:7,
> from include/linux/trace_events.h:5,
> from include/trace/syscall.h:6,
> from include/linux/syscalls.h:81,
> from arch/mips/kernel/signal.c:26:
> arch/mips/kernel/signal.c: In function âsave_msa_extcontextâ:
> arch/mips/kernel/signal.c:170:40: error: dereferencing pointer to
> incomplete type
>

The problem stemmed from make not recognizing that this file was outdated:

Oct 16 2014 arch/mips/include/generated/asm/ucontext.h

Shouldn't make automatically regenerate outdated files?

Best regards

Heinrich Schuchardt