Re: comdei_rt_timer.c compile errror(s)

On Monday 03 January 2005 01:48 pm, Dale Stein wrote:
> changed in comedi_rt.h
> static inline void comedi_udelay( unsigned int usec )
> {
> #if defined(CONFIG_COMEDI_RTAI)
>          static const int nanosec_per_usec = 1000;
>          rt_busy_sleep(usec * nanosec_per_usec);
> #elif defined(CONFIG_COMEDI_RTL)
>          static const int nanosec_per_usec = 1000; \ <- added this line
> – using rtlinux3.2-per3
>          rtl_delay(usec * nanosec_per_usec);
> #else
>          udelay( usec );
> #endif
> }
>
> seams to compile fine, but don't know if this wouold be correct...

Yes, it's fine, thanks.

> because
> later on I get comedi_rt_timer.c errors (see below) .I do not know if
> they are related
> I tried to ./configure --enable-comedi_rt_timer=no  and –
> disable-comedi_rt_timer to not make this device to no avail.  It looks
> like there is a headder missing to make this work?

Did you use --with-rtlinuxdir=<path> ?

-- 
Frank

Received on 2005-01-05Z13:01:00