Re: problems while installing comedi-0.7.67 on suse 9.0

On Tue, 25.11.03, mirko.fischer_at_s2000.tu-chemnitz.de wrote:

> das16.c:719: error: initializer element is not constant

static const int timer_period = HZ / 20 + 1;

Seems pretty constant to me, considering HZ is defined as 100 (at least in
my kernel tree).

I guess your distro is doing something with the HZ macro. Try replacing HZ
with 100 in the above line (or replace the whole r-value with 6).

hth,

Nils

Received on 2003-11-25Z09:56:54