cant seem to compile driver ....... comedi-0.7.66 and 69

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

make  all-recursive
make[1]: Entering directory
`/home/project/scratch/comedi-0.7.69'
Making all in comedi
make[2]: Entering directory
`/home/project/scratch/comedi-0.7.69/comedi'
Making all in .
make[3]: Entering directory
`/home/project/scratch/comedi-0.7.69/comedi'
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I../include/
-DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops
-D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -march=i686
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.20-8/include/linux/modversions.h
-D__MODULE_KERNEL_i686=1 -D__BOOT_KERNEL_ENTERPRISE=0
-D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0
-D__BOOT_KERNEL_BIGMEM=0 -D__BOOT_KERNEL_HUGEMEM=0  
-g -O2
-MT comedi_ko-comedi_fops.o -MD -MP -MF
".deps/comedi_ko-comedi_fops.Tpo" -c -o
comedi_ko-comedi_fops.o `test -f 'comedi_fops.c' ||
echo './'`comedi_fops.c; \
then mv -f ".deps/comedi_ko-comedi_fops.Tpo"
".deps/comedi_ko-comedi_fops.Po"; else rm -f
".deps/comedi_ko-comedi_fops.Tpo";
exit 1; fi
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
`remap_page_range_R2baf18f2'
make[3]: *** [comedi_ko-comedi_fops.o] Error 1
make[3]: Leaving directory
`/home/project/scratch/comedi-0.7.69/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/project/scratch/comedi-0.7.69/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/project/scratch/comedi-0.7.69'
make: *** [all] Error 2

could u pls help us out with this problem.

thanks.

pranab.


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

Received on 2005-02-24Z08:29:57