On 11/21/2017 04:01 PM, Henning Schild wrote:
Am Tue, 21 Nov 2017 08:28:11 +0100
schrieb Leopold Palomo-Avellaneda <l...@alaxarxa.net>:

On 21/11/17 06:52, Jack Lee wrote:
Hello,

   My board cpu is Intel Atom CPU N2800. I am using xenomai 3.0.6
with linux 4.9.51. I get the following error when compiling the
kernel. Can anyone give me some help? Thanks!

   CC      arch/x86/xenomai/machine.o
In file included from arch/x86/xenomai/machine.c:22:0:
arch/x86/xenomai/include/asm/xenomai/syscall.h: In function
‘__xn_get_syscall_nr’:
arch/x86/xenomai/include/asm/xenomai/syscall.h:46:31: error:
implicit declaration of function
‘__COBALT_CALL32_SYSNR’ [-Werror=implicit-function-declaration]
#define __xn_syscall(regs)
__COBALT_CALL32_SYSNR(__xn_reg_sys(regs) \ ^
arch/x86/xenomai/include/asm/xenomai/syscall.h:60:32: note: in
expansion of macro ‘__xn_syscall’ return __xn_syscall_p(regs) ?
__xn_syscall(regs) :
I had the same problem yesterday and Philippe Gerum answered:

As a work around, drop CONFIG_IA32_EMULATION if you don't need
it.
I tried it, but got another error.

rivers/xenomai/net/drivers/eepro100.c: In function ‘eepro100_init_module’:
drivers/xenomai/net/drivers/eepro100.c:1832:8: error: lvalue required as left operand of assignment
  debug = speedo_debug; /* touch debug variable */
        ^
There is also a commit on top of 3.0.6 that should solve that problem.
You could try with
http://git.xenomai.org/xenomai-3.git/snapshot/xenomai-3-cc283c7f26c1b097b94a61bb25c2564f51daf16d.tar.bz2

Henning

Best regards,

Leopold

I didn't try it. I think I should let the system run first, so I will use the 3.0.5 version temporarily and try 3.0.7 in the future.

Thanks, all.

_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to