References: <20171121090129.5cc3e2a6@md1em3qc> <3bba77df-c130-b9d3-191b-3a7336b929d1@foxmail.com> From: Leopold Palomo-Avellaneda Message-ID: Date: Wed, 22 Nov 2017 08:13:34 +0100 MIME-Version: 1.0 In-Reply-To: <3bba77df-c130-b9d3-191b-3a7336b929d1@foxmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: ca-ES Content-Transfer-Encoding: 8bit Subject: Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jack Lee Cc: xenomai On 22/11/17 02:44, Jack Lee wrote: > > > On 11/21/2017 04:01 PM, Henning Schild wrote: >> Am Tue, 21 Nov 2017 08:28:11 +0100 >> schrieb Leopold Palomo-Avellaneda : >> >>> 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 */ >         ^ Please, cloud you check the lists emails of yesterday?. Robert Lange sent a patch to solve this, at least in the intel cards. Leopold -- -- Linux User 152692 GPG: 05F4A7A949A2D9AA Catalonia ------------------------------------- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?