Compiling Comedi 0.7.68 with Redhat Fedora kernel 2.4.22-1.2174.nptl

Hello,

We have come across a compilation problem Using Redhat Fedora (Redhat 10)
Kernel 2.4.22-1.2174.nptl, Comedi Version 0.7.68. In the file
$comedi-src$/include/interrupt.h, line 24:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 23)
eventually causes compilation errors with Redhat's kernel, as Redhat 
tries to
redefine various interrupt-related definitions for compatibility with
kernel 2.6 source files. The quick, mildly dirty fix for this is to change
line 24 of interrupt.h with this:
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 22)

Received on 2004-03-03Z20:21:18