Leopold Palomo-Avellaneda wrote: > A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure: >> Leopold Palomo-Avellaneda wrote: >>> A Dijous 29 Octubre 2009, Gilles Chanteperdrix va escriure: >>>> Gilles Chanteperdrix wrote: >>>>> Leopold Palomo-Avellaneda wrote: >>>>>> OTOH, the debian package has a bug. I cannot compile xenomai, using >>>>>> the debian way on kernels 2.6.28, 2.6.29 and 2.6.30 because the >>>>>> package add something that fails with make menuconfig. I should write >>>>>> a bug. Just for information, it's not a xenomai upstream related >>>>>> question. ;-) >>>>> Please check xenomai-2.4.9.1. It may happen that the bug has been >>>>> already solved. >>>> 2.4.10 >>> nops, sorry again my fingers were so fast ... >>> >>> we are talking about the same? I got: >>> >>> cripts/kconfig/conf -o arch/x86/Kconfig >>> arch/x86/Kconfig:74: unexpected option "select" >>> arch/x86/Kconfig:75: unexpected option "select" >>> make[3]: *** [oldconfig] Error 1 >>> make[2]: *** [oldconfig] Error 2 >> I am not talking about any specific bug. It was just a general advice. >> In any case, we are not responsible for the Xenomai packages made by the >> Debian team, but if you find bugs in the debian directory which is part >> of the Xenomai package, we are interested in fixing them, of course. > > well, I have found two things: > > 1) the debian directory is very similar in both (upstream and debian > official). The method to create the package is described in the xenomai wiki > and have been working so well till now (at least in my case). The script or > the patch applied in the versions of the kernel 2.6.28>= introduces something > that make fail the make menuconfig step. If you apply the patch with the > script (scripts/prepare-kernel.sh) the make menuconfig works > > 2) after the step of preparing the kernel, (with xenomai 2.4.10) when I > compile the kernel (2.6.30., it fails in: > > CC arch/x86/xenomai/hal-common.o > arch/x86/xenomai/hal_32.c: In function ‘rthal_latency_above_max’: > arch/x86/xenomai/hal_32.c:139: warning: passing argument 1 of ‘die_nmi’ from > incompatible pointer type > arch/x86/xenomai/hal_32.c:139: warning: passing argument 2 of ‘die_nmi’ from > incompatible pointer type > arch/x86/xenomai/hal_32.c:139: error: too few arguments to function ‘die_nmi’ > make[2]: *** [arch/x86/xenomai/hal_32.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > LD arch/x86/oprofile/built-in.o > CC net/socket.o
Just disable CONFIG_XENO_HW_NMI_DEBUG_LATENCY (it's widely broken in 2.4 for recent kernels). Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
