Leopold Palomo-Avellaneda schrieb:
> 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 

I diffed the two debian directories 3 weeks ago. There are some changes in
the debian version which are not in the xenomai repository. And there are
some fixes in the xenomai debian directory which are not in the official
debian package.

The official debian version in testing is targeted for Debian 6.0 Squeeze
and as far as i remember there are small changes which will break the build
for Debian 5.0 Lenny. This changes shouldnt get merged IMHO to the xenomai
debian version. I will try to create patches to synchronize the two versions.

> 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

The following commit fixed (at least for 2.6.28) the patching of init/Kconfig.
This fix is not in the official debian package, only in the xenomai repository.

debian: fix kernel patch preparation script not to truncate init/Kconfig
http://git.xenomai.org/?p=xenomai-2.4.git;a=commit;h=e35614ad0050e660a9784092e5a4062b5861659c

regards, StefaN

> 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
> 
> 
> Now, I'm compiling 2.6.29 with 2.4.10 ...
> 
> Leo
> 
> 
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> [email protected]
> https://mail.gna.org/listinfo/xenomai-help


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to