- From: Ian Abbott <abbotti_at_mev.co.uk>
- Date: Thu, 24 Feb 2005 15:44:24 +0000
On 24/02/05 08:29, Pranab Shenoy wrote: > hi, > we are having problems while compilin the comed > driver. we are using an ni6014 daq card. > all the steps pertaining to kernel preparation have > been carried outy successfully. > even ./configure was carried out successfully, but > make gives an error. > > the following is the output when make is given [...] > In file included from ../include/asm/pgtable.h:30, > from > /usr/src/linux-2.4.20-8/include/linux/mm.h:41, > from ../include/linux/mm.h:23, > from comedi_fops.c:34: > /usr/src/linux-2.4.20-8/include/asm/pgtable.h:347:1: > warning: "pte_offset_kernel" redefined > In file included from > /usr/src/linux-2.4.20-8/include/linux/mm.h:41, > from ../include/linux/mm.h:23, > from comedi_fops.c:34: > .../include/asm/pgtable.h:26:1: warning: this is the > location of the previous definition > comedi_fops.c: In function `comedi_mmap_v22': > comedi_fops.c:1296: warning: passing arg 1 of > `remap_page_range_R2baf18f2' makes pointer from > integer without a cast > comedi_fops.c:1296: incompatible type for argument 4 > of `remap_page_range_R2baf18f2' > comedi_fops.c:1296: too few arguments to function Which Linux distribution are you using? One of the kernel patches is incompatible with comedi. One solution is to install a vanilla kernel from source and configure comedi for that kernel. -- -=( 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-02-24Z15:44:24