All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

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.