Patching a 2.6.28.2 with the relevant patch in trunk, using a config with SMP 
enabled resulted in:

  LD      kernel/xenomai/arch/built-in.o
  CC      kernel/xenomai/nucleus/heap.o
In file included from include/xenomai/nucleus/pod.h:34,
                 from kernel/xenomai/nucleus/heap.c:66:
include/xenomai/nucleus/sched.h: In function ‘xnsched_self_resched_p’:
include/xenomai/nucleus/sched.h:171: error: ‘nkpod’ undeclared (first use in 
this function)
include/xenomai/nucleus/sched.h:171: error: (Each undeclared identifier is 
reported only once
include/xenomai/nucleus/sched.h:171: error: for each function it appears in.)
make[3]: *** [kernel/xenomai/nucleus/heap.o] Error 1


Digging in to the nucleus/sched.h and nucleus/pod.h headers, there appears to 
be a circular dependency around nkpod_struct - This only hits home with 
CONFIG_SMP defined.


Regards, Paul.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to