If you have a special reason for using the software from the Coraid website instead of the aoe support in lenny packages, you can install the lenny packages that will allow you to build third-party drivers for your kernel.
The headers for the running kernel will be "linux-headers-`uname -r`".
If you do not already have development tools (make, gcc, etc.) installed, you can install "build-essential".
So for many lenny users who want to be able to build drivers for the running kernel, the command below will be a helpful shortcut.
meili:~# apt-get update ... meili:~# apt-get install build-essential linux-headers-`uname -r`
You can find the headers for any kernel by searching with APT as shown in the example below.
meili:~# apt-cache search linux-headers linux-headers-2.6-amd64 - Header files for Linux 2.6 on AMD64 linux-headers-2.6-vserver-amd64 - Header files for Linux 2.6 on AMD64 linux-headers-2.6.22-2 - Common header files for Linux 2.6.22 linux-headers-2.6.22-2-all - All header files for Linux 2.6.22 linux-headers-2.6.22-2-all-amd64 - All header files for Linux 2.6.22 linux-headers-2.6.22-2-amd64 - Header files for Linux 2.6.22 on AMD64 linux-headers-2.6.22-2-vserver - Common header files for Linux 2.6.22 linux-headers-2.6.22-2-vserver-amd64 - Header files for Linux 2.6.22 on AMD64 rt2500-source - source for rt2500 wireless network driver
With the headers and the development tools installed, you should be able to use "make" all by itself in the aoe driver source directory to build the driver.
If this method does not work for you, please email support at coraid dot com to let us know.