Paul wrote:
> Patching a 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.

There must be some other option triggering the bug, because I run trunk
with 2.6.28 on an SMP x86(_64).


Xenomai-core mailing list

Reply via email to