Re: Comedi on Debian and 2.6.8 kernel

Hi,

Le mardi 25 janvier 2005 à 06:35 -0500, Mark T. Walter a écrit :
> Has anyone gotten Comedi to successfully install with the 2.6.8 kernel?
> If so, could you please, please, please send a brief summary of the steps
> you used?

I guess you're trying to build comedi kernel modules with comedi-source
package. I suggest you to use the 0.79 release tarball. Works fine with
kernel 2.6.8-2 on a debian sid machine.

CVS builds fine also.


By the way, I'm not able to build CVS comedi kernel modules on an Ubuntu
Warty system (kernel 2.6.8.1-4-k7). That's too bad, since I want to
update my pci9111 driver. 

It fails with the following errors:

manu_at_seclamy:/home/coulometry/comedi $ make
make  all-recursive
make[1]: Entering directory `/home/coulometry/comedi'
Making all in comedi
make[2]: Entering directory `/home/coulometry/comedi/comedi'
Making all in .
make[3]: Entering directory `/home/coulometry/comedi/comedi'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -g -O2 -c comedi_fops.c
In file included from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/module.h:10,
                 from comedi_fops.c:27:
/usr/include/linux/jiffies.h:16: error: parse error before "jiffies_64"
/usr/include/linux/jiffies.h:20: error: parse error before
"get_jiffies_64"
In file included from /usr/include/linux/cpumask.h:8,
                 from /usr/include/linux/sched.h:15,
                 from /usr/include/linux/module.h:10,
                 from comedi_fops.c:27:
/usr/include/linux/bitmap.h: In function `bitmap_empty':
/usr/include/linux/bitmap.h:15: error: `BITS_PER_LONG' undeclared (first
use in this function)

	Emmanuel.

Received on 2005-01-25Z13:50:51