>From Philippe Gerum, a little earlier :
Support for latency watchdog is discontinued starting from 2.6.38.
diff --git a/ksrc/arch/x86/hal_32.c b/ksrc/arch/x86/hal_32.c
index 5f5ff2c..de21c90 100644
--- a/ksrc/arch/x86/hal_32.c
+++ b/ksrc/arch/x86/hal_32.c
@@ -337,7 +337,7 @@ int rthal_arch_init(void)
rthal_smi_restore();
return -ENODEV;
}
-#ifdef CONFIG_GENERIC_CLOCKEVENTS
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38) &&
defined(CONFIG_GENERIC_CLOCKEVENTS)
if (nmi_watchdog == NMI_IO_APIC) {
printk("Xenomai: NMI kernel watchdog set to NMI_IO_APIC
(nmi_watchdog=1).\n"
" This will disable the LAPIC as a clock
device, and\n"
--
Nicolas VEYSSIERE
De : [email protected] [mailto:[email protected]] De la
part de Adrien LEMAITRE
Envoyé : mercredi 22 juin 2011 15:46
À : [email protected]
Objet : [Xenomai-help] Problem during compilation
Hello,
i would like to install xenomai on x86 pc, but during compilation i have this
error:
arch/x86/xenomai/hal_32.c: In function 'rthal_arch_init':
arch/x86/xenomai/hal_32.c:348: error: 'nmi_watchdog' undeclared (first use in
this function)
arch/x86/xenomai/hal_32.c:348: error: (Each undeclared identifier is reported
only once
arch/x86/xenomai/hal_32.c:348: error: for each function it appears in.)
arch/x86/xenomai/hal_32.c:348: error: 'NMI_IO_APIC' undeclared (first use in
this function)
make[1]: *** [arch/x86/xenomai/hal_32.o] Erreur 1
make: *** [arch/x86/xenomai] Erreur 2
I use for this compilation adeos-ipipe-2.6.38.8-x86-2.10-00.patch with
linux-2.6.38.8 and xenomai-2.5.6.
I tried with i386_defconfig configuration and with my computer's configuration
(/boot/config-2.6.32-24-generic).
In these cases always the same error.
Is it an incompatibility of version between linux and xenomai or a problem with
configuration?
do you have an idea?
thanks,
Adrien Lemaître.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help