Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-29 Thread Philippe Gerum
Hannes Mayer wrote: Jan Kiszka wrote: [...] Yea, maybe that periodic timer mode is not compiled in and rt_timer_start fails in your original example. I think it's off by default now. Yeah, got it! Sorry for not supplying error code earlier! In Xeno source: int xnpod_start_timer (u_long

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-29 Thread Hannes Mayer
Philippe Gerum wrote: [...] Just one question: what's the reason why the periodic mode is disabled by default ? Because AFAICT, most people would rather use the aperiodic timing mode in usual configurations for a much better accuracy. Since the periodic mode uses the available hw PIT and

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-29 Thread Hannes Mayer
Jan Kiszka wrote: [...] Yea, maybe that periodic timer mode is not compiled in and rt_timer_start fails in your original example. I think it's off by default now. Yeah, got it! Sorry for not supplying error code earlier! In Xeno source: int xnpod_start_timer (u_long nstick, xnisr_t

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-29 Thread Philippe Gerum
Hannes Mayer wrote: Jan Kiszka wrote: [...] Yea, maybe that periodic timer mode is not compiled in and rt_timer_start fails in your original example. I think it's off by default now. Yeah, got it! Sorry for not supplying error code earlier! In Xeno source: int xnpod_start_timer (u_long

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Philippe Gerum
Hannes Mayer wrote: Hi Jan! Jan Kiszka wrote: Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in this function) mq.c:475: error:

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Jan Kiszka
Philippe Gerum wrote: Hannes Mayer wrote: Hi Jan! Jan Kiszka wrote: Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Hannes Mayer
Jan Kiszka wrote: [...] Yea, maybe that periodic timer mode is not compiled in and rt_timer_start fails in your original example. I think it's off by default now. Yeah, got it! Sorry for not supplying error code earlier! In Xeno source: int xnpod_start_timer (u_long nstick, xnisr_t

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Jan Kiszka
Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in this function) mq.c:475: error: (Each undeclared identifier is reported only

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Hannes Mayer
Hi Jan! Jan Kiszka wrote: Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in this function) mq.c:475: error: (Each undeclared

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Jan Kiszka
Philippe Gerum wrote: Hannes Mayer wrote: Hi Jan! Jan Kiszka wrote: Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in

Re: [Xenomai-core] 2.4.32 compilation error + old timer example problem

2005-12-28 Thread Philippe Gerum
Philippe Gerum wrote: Hannes Mayer wrote: Hi Jan! Jan Kiszka wrote: Hannes Mayer wrote: I checked out xeno.trunk just a few minutes ago. With kernel 2.4.32, kernel compilation fails with this: mq.c: In function `mq_notify': mq.c:475: error: `SIGEV_SIVNAL' undeclared (first use in this