[Xenomai] compiling kernel after xenomai-patch ends in error

Huub Van Niekerk huubvanniekerk at yahoo.com
Tue Mar 4 13:22:44 CET 2014


Hi,

I just patched vanilla kernel 3.10.18 with ipipe-core-3.10.18-arm-1 and get these errors:

kernel/ipipe/core.c: In function ‘ipipe_probe_kernel_read’:
kernel/ipipe/core.c:1742:2: error: implicit declaration of function ‘get_fs’ [-Werror=implicit-function-declaration]
kernel/ipipe/core.c:1744:2: error: implicit declaration of function ‘set_fs’ [-Werror=implicit-function-declaration]
kernel/ipipe/core.c:1744:9: error: ‘KERNEL_DS’ undeclared (first use in this function)
kernel/ipipe/core.c:1744:9: note: each undeclared identifier is reported only once for each function it appears in
kernel/ipipe/core.c:1747:2: error: implicit declaration of function ‘__copy_from_user_inatomic’ [-Werror=implicit-function-declaration]
kernel/ipipe/core.c: In function ‘ipipe_probe_kernel_write’:
kernel/ipipe/core.c:1761:9: error: ‘KERNEL_DS’ undeclared (first use in this function)
kernel/ipipe/core.c:1764:2: error: implicit declaration of function ‘__copy_to_user_inatomic’ [-Werror=implicit-function-declaration]

With previous kernel 3.2 I got warning and errors before saving the kernel, now I didn't. Looking on the net for these errors, I find some postings, but none related to ipipe. Any ideas?

Thanks.



More information about the Xenomai mailing list