Compiling Comedi with Fedora Core 3

  I'm trying to compile comedi on my fedora core 3 machine using a vanilla
  2.6.11 kernel that I downloaded from kernel.org, so that I can use the
  ni_pci_dio driver for my NI DIO 96 board.

  I've tried two different versions of comedi (0.7.69 and 0.7.59).  The older
  (0.7.59) version, I tried because the fixes in the redhat-notes document for
  redhat kernels applied to that release, although it gave me a large amount of
  errors when I run make (after make config, make clean and make dep run
  fine).  The errors all came from comedi_fops.c, starting with:

  /usr/src/linux/include/kdev_t.h:21: error: syntax error before "dev".

  When making the newer (0.7.69) version quits on the following error:

  drivers.c: In function 'uvirt_to_kva':
  drivers.c:398: error: request for member 'pgd' in something not a structure
  or union
  make[3]:***[comedi_ko-drivers.o] Error 1

  I downloaded both versions from the ftp site.  I tried attaching log
  files with all of the compilation errors to an earlier message, but I
  don't think it got posted.

  Any suggestions as to how to install either release (although
  preferrably 0.7.69 or newer) would be great.  I'm a newbie to kernel
  compilation and linux device drivers.

  ~Steph

Received on 2006-01-11Z22:21:17