On 11/1/18 5:59 PM, Petr Červenka wrote:
> Hello.
>  
> Is it really finished?
> I have problems to compile the patched kernel.
>  
> At first, when it compiles machine.c, there is such error:
>   CC      arch/x86/xenomai/machine.o
> In file included from ./include/asm-generic/xenomai/syscall.h:23:0,
>                  from arch/x86/xenomai/include/asm/xenomai/syscall.h:24,
>                  from arch/x86/xenomai/machine.c:22:
> ./arch/x86/include/asm/uaccess.h: In function ‘set_fs’:
> ./arch/x86/include/asm/uaccess.h:33:9: error: dereferencing pointer to 
> incomplete type ‘struct task_struct’
>   current->thread.addr_limit = fs;
>          ^~
>  
> After an ad-hoc fix, there are some other errors for example during compiling 
> of thread.c, mostly connected to fpu:
> fpu.fpregs_active, fpu.active_state, __fpregs_deactivate(), 
> __fpregs_activate(), clts(), stts(), SLAB_NOTRACK, ...
>  
> Am I doing something wrong?
>  

You are likely not using the proper Xenomai branch, you need -next.

-- 
Philippe.

Reply via email to