are installed into the /boot directory). The following steps will
(almost) set up your kernel sources correctly. You will also need
write permission to the kernel source directory the first time you
-run comedi's 'make config', so you might want to unpack the kernel
+run comedi's 'make config', so you might want to unpack the kernel
source into a directory you own.
1) Get a copy of the kernel source that matches the kernel you are
'uname -r' produces "2.4.16-386" then your EXTRAVERSION should be
set as 'EXTRAVERSION=-386'.
3) Run 'make oldconfig' in your kernel source directory.
-4) Run 'make dep' in the kernel source directory and you are done.
+4) Run 'make dep' (or 'make prepare' for 2.6 kernels) in the kernel
+ source directory and you are done.
Red Hat users note: Kernel sources that are distributed with Red
Hat Linux are not supported, because they are too heavily
If you want to use the real-time capabilities of Comedi with
RTAI, you need to compile and install RTAI first. It is
necessary to use the rthal patch instead of the "copyto"
-scripts. Known working versions are RTAI-1.6, RTAI-24.1.4,
-and current RTAI CVS. Remember to enable Kcomedilib support,
-since you will be accessing Comedi from other kernel modules.
-
+scripts. Known working versions are RTAI-1.6, and RTAI-24.1.4.
* RTLinux support:
If you want to use the real-time capabilities of Comedi with
RTLinux, you need to compile RTLinux (both the kernel and the
modules) first. Known working versions are 2.x and 3.0.
-Remember to enable Kcomedilib support, since you will be
-accessing Comedi from other kernel modules.
* Configuration:
autoheader, etc. tools are required to generate the configure
script (automake version >= 1.7 recommended). The --with-linuxdir
option is particularly useful, as it allows you to specify
-the location of your Linux kernel source directory.
+the location of your Linux kernel source directory. If
+you are using an RT-patched kernel, the --with-rtaidir or
+--with-rtlinuxdir options allow you to specify
+the location of your RTAI or RTLinux source directory.
* Compiling: