On Fri, Sep 25, 2009 at 16:23, Philippe Gerum <[email protected]> wrote: > On Fri, 2009-09-25 at 12:05 +0200, Peter Soetens wrote: >> I'm trying to compile vanilla Linux 2.6.28.9 prepared with Xenomai >> 2.4.9.1 for x86-64, SMP. >> >> I get this error in hal_common.c: ... > > Right. There seems to be a slight adjustment to do in my code (also > reads "I badly screwed up, damn it"). > > diff --git a/ksrc/arch/x86/hal-common.c b/ksrc/arch/x86/hal-common.c > index 1497fee..7286987 100644 > --- a/ksrc/arch/x86/hal-common.c > +++ b/ksrc/arch/x86/hal-common.c > @@ -107,7 +107,7 @@ static inline void send_IPI_allbutself(int vector) > | vector); > rthal_local_irq_restore_hw(flags); > } > -#elif defined(__i386__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) > +#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) > #include <mach_ipi.h> > #else > #define send_IPI_allbutself(vector) apic->send_IPI_allbutself(vector) > > Please let me know if that fixes the issue on your side as well.
Will try but won't be able to tell till after XUM :) > > PS: btw, I fail compiling 2.6.28.9 with KPROBES on, but this does not > look like a Xenomai issue this time. Same here, drew same conclusion. Peter _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
