- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Tue, 25 Jan 2005 14:42:02 +0000
Emmanuel PACAUD wrote: > 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) Are you sure Comedi is configured for your kernel? It shouldn't be using /usr/include/linux as that's for user-space programs, not kernel modules. -- -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-
Received on 2005-01-25Z14:42:02