Matthias Scheer wrote: > Dear developers, > > I'm trying to compile the latest /trunk version together with the adeos > x86_64 patch v1.00.04. The kernel version is 2.6.19.5. The compiling is > done on an Athlon 64 X2 and stops with these error messages: > > CC kernel/xenomai/nucleus/pod.o > kernel/xenomai/nucleus/pod.c:944:48: error: macro "cpus_equal" passed 3 > arguments, but takes just 2 > kernel/xenomai/nucleus/pod.c: In function ‘xnpod_start_thread’: > kernel/xenomai/nucleus/pod.c:944: error: ‘cpus_equal’ undeclared (first > use in this function) > kernel/xenomai/nucleus/pod.c:944: error: (Each undeclared identifier is > reported only once > kernel/xenomai/nucleus/pod.c:944: error: for each function it appears in.) > > Notice the _macro "cpus_equal"_ error, which eventually uses the > identifier CPU_MASK_ALL which contains more than one element on a > dualcore system. Does this explanation make sense? And is there a easy > way to fix it? (maybe with a variable number of arguments) >
Does this help? --- include/asm-generic/system.h (Revision 2262) +++ include/asm-generic/system.h (Arbeitskopie) @@ -32,6 +32,7 @@ #include <linux/errno.h> #include <linux/vmalloc.h> #include <linux/mm.h> +#include <linux/cpumask.h> #include <asm/uaccess.h> #include <asm/param.h> #include <asm/mmu_context.h> [At least it is cleaner than relying on cpumask.h being implicitly included.] Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
