Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-21 Thread Leopold Palomo-Avellaneda
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?

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


Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-21 Thread Jack Lee



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 */
^

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


Re: [Xenomai] 3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

2017-11-21 Thread Henning Schild
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.  

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
> 


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