* [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2.
@ 2014-12-30 9:59 satya patel
2014-12-30 13:01 ` Gilles Chanteperdrix
2014-12-30 13:09 ` Gilles Chanteperdrix
0 siblings, 2 replies; 3+ messages in thread
From: satya patel @ 2014-12-30 9:59 UTC (permalink / raw)
To: xenomai
Hi,
I am trying to apply “ipipe-core-3.10.18-arm-1.patch” to Linux kernel
3.10.18. (Arm Platform, with default config file - omap2plus_defconfig)
When I apply the patch using Xenomai 2.x (xenomai-2.6-2.6.0-rc5.tar)
compilation is successful after following the instructions mentioned in the
below link:
http://xenomai.org/installing-xenomai-2-x/
i.e. compilation for - Linux kernel 3.10.18 +
ipipe-core-3.10.18-arm-1.patch + xenomai-2.6-2.6.0-rc5.tar Is OK.
However, I get compilation errors for below combination.
Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch +
xenomai-3-3.0-rc2.tar.bz2 --- COMPILATION ERRORS.
In file included from include/xenomai/cobalt/kernel/vfile.h:26:0,
from include/xenomai/cobalt/kernel/clock.h:24,
from include/xenomai/cobalt/kernel/stat.h:23,
from include/xenomai/cobalt/kernel/thread.h:25,
from arch/arm/xenomai/mayday.c:22:
include/xenomai/cobalt/kernel/lock.h: In function â__xnlock_get_irqsaveâ:
include/xenomai/cobalt/kernel/lock.h:216:29: error: âipipe_smp_pâ
undeclared (first use in this function)
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:226:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__)
^
include/xenomai/cobalt/kernel/lock.h:216:29: note: each undeclared
identifier is reported only once for each function it appears in
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:226:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__)
^
include/xenomai/cobalt/kernel/lock.h: In function â__xnlock_put_irqrestoreâ:
include/xenomai/cobalt/kernel/lock.h:216:29: error: âipipe_smp_pâ
undeclared (first use in this function)
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:236:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__ && !(flags & 2))
^
include/xenomai/cobalt/kernel/lock.h: In function âxnlock_is_ownerâ:
include/xenomai/cobalt/kernel/lock.h:216:29: error: âipipe_smp_pâ
undeclared (first use in this function)
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:244:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__)
^
include/xenomai/cobalt/kernel/lock.h: In function â__xnlock_getâ:
include/xenomai/cobalt/kernel/lock.h:216:29: error: âipipe_smp_pâ
undeclared (first use in this function)
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:252:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__)
^
include/xenomai/cobalt/kernel/lock.h: In function â__xnlock_putâ:
include/xenomai/cobalt/kernel/lock.h:216:29: error: âipipe_smp_pâ
undeclared (first use in this function)
#define __locking_active__ ipipe_smp_p
^
include/xenomai/cobalt/kernel/lock.h:260:6: note: in expansion of macro
â__locking_active__â
if (__locking_active__)
^
make[1]: *** [arch/arm/xenomai/mayday.o] Error 1
make: *** [arch/arm/xenomai] Error 2
Please let me know how to compile for *Linux kernel 3.10.18 +
ipipe-core-3.10.18-arm-1.patch + **xenomai**-3-3.0-rc2.**tar.bz2*
Regards.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2.
2014-12-30 9:59 [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2 satya patel
@ 2014-12-30 13:01 ` Gilles Chanteperdrix
2014-12-30 13:09 ` Gilles Chanteperdrix
1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-12-30 13:01 UTC (permalink / raw)
To: satya patel; +Cc: xenomai
On Tue, Dec 30, 2014 at 03:29:35PM +0530, satya patel wrote:
> Hi,
>
> I am trying to apply “ipipe-core-3.10.18-arm-1.patch” to Linux kernel
> 3.10.18. (Arm Platform, with default config file - omap2plus_defconfig)
omap2plus_defconfig is a bad idea. If you want a kernel which
compiles fast, and with the least possible run-time overhead, you
should tailor your configuration to your hardware. Notably,
omap2plus_defconfig enables CONFIG_SMP, which you may not need if
you are not compiling for omap4 or omap5.
>
> When I apply the patch using Xenomai 2.x (xenomai-2.6-2.6.0-rc5.tar)
> compilation is successful after following the instructions mentioned in the
> below link:
This is what you get by not using the latest patch. The latest
I-pipe patch for Linux 3.10, which you can find on Adeos download
area, is:
ipipe-core-3.10.32-arm-6.patch
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2.
2014-12-30 9:59 [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2 satya patel
2014-12-30 13:01 ` Gilles Chanteperdrix
@ 2014-12-30 13:09 ` Gilles Chanteperdrix
1 sibling, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2014-12-30 13:09 UTC (permalink / raw)
To: satya patel; +Cc: xenomai
On Tue, Dec 30, 2014 at 03:29:35PM +0530, satya patel wrote:
> Hi,
>
> I am trying to apply “ipipe-core-3.10.18-arm-1.patch” to Linux kernel
> 3.10.18. (Arm Platform, with default config file - omap2plus_defconfig)
>
> When I apply the patch using Xenomai 2.x
> (xenomai-2.6-2.6.0-rc5.tar)
Why on earth do you use xenomai 2.6.0-rc5, whereas the latest stable
version is xenomai 2.6.4?
--
Gilles.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-12-30 13:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-30 9:59 [Xenomai] Compilation errors for Linux kernel 3.10.18 + ipipe-core-3.10.18-arm-1.patch + xenomai-3-3.0-rc2.tar.bz2 satya patel
2014-12-30 13:01 ` Gilles Chanteperdrix
2014-12-30 13:09 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.