Skip to contentSkip to conversation

3.0.6 with linux 4.9.51 on x86_64 Intel(R) Atom(TM) CPU N2800 compilation failed

Xenomai Jack Lee 3 participants 6 messages Nov 21, 2017 – Nov 23, 2017

lore
Share & tools
lore

Jack Lee

author
#0 lore raw

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) :
                                ^
#1 lore raw
Quoted 6 lines · Jack Lee

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!

Quoted 8 lines

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:

Quoted 1 line
Quoted 1 line

As a work around, drop CONFIG_IA32_EMULATION if you don't need it.

Best regards,

Leopold

Signature · 16 lines
--
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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20171121/837d9454/attachment.sig>
#2 lore raw

Am Tue, 21 Nov 2017 08:28:11 +0100
schrieb Leopold Palomo-Avellaneda <[email protected]>:

Quoted 20 lines · Jack Lee
Quoted 6 lines

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!

Quoted 12 lines

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) :

Quoted 4 lines

I had the same problem yesterday and Philippe Gerum answered:

Quoted 2 lines
Quoted 2 lines

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

Quoted 4 lines

Best regards,

Leopold

author
#3 lore raw
Quoted 26 lines · Henning Schild

Am Tue, 21 Nov 2017 08:28:11 +0100
schrieb Leopold Palomo-Avellaneda <[email protected]>:

Quoted 23 lines · Jack Lee
Quoted 6 lines

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!

Quoted 12 lines

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:

Quoted 2 lines
Quoted 2 lines

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

        ^
Quoted 10 lines

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

Quoted 4 lines

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.

#4 lore raw
Quoted 29 lines · Jack Lee
Quoted 26 lines · Henning Schild

Am Tue, 21 Nov 2017 08:28:11 +0100
schrieb Leopold Palomo-Avellaneda <[email protected]>:

Quoted 23 lines · Jack Lee
Quoted 6 lines

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!

Quoted 12 lines

   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:

Quoted 2 lines
Quoted 2 lines

As a work around, drop CONFIG_IA32_EMULATION if you don't need it.

Quoted 7 lines

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

Signature · 8 lines
--
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?
author
#5 lore raw
Quoted 36 lines · Leopold Palomo-Avellaneda
Quoted 28 lines · Jack Lee
Quoted 26 lines · Henning Schild

Am Tue, 21 Nov 2017 08:28:11 +0100
schrieb Leopold Palomo-Avellaneda <[email protected]>:

Quoted 23 lines · Jack Lee
Quoted 6 lines

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!

Quoted 12 lines

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:

Quoted 2 lines
Quoted 2 lines

As a work around, drop CONFIG_IA32_EMULATION if you don't need it.

Quoted 7 lines

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

         ^
Quoted 6 lines

Please,

cloud you check the lists emails of yesterday?. Robert Lange sent a patch to solve this, at least in the intel cards.

Leopold

Sorry, I did find the solutions posted after I sent the two emails and too late to call back. I found that you have a tough time with this project these days. I also appreciate that many people responded to the email Philippe sent out. Hope you will conquer this and have a bright future.

Have a nice day!