Do you have the headers and 'build-essential' installed? I tried the file the original poster quoted and got:
Code:
chili@LAPTOP60:~/LinuxDrivers/L1e_Lan/l1e-l2e-linux-v1.0.0.4/src$ KBUILD_NOPEDANTIC=1 make
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/chili/LinuxDrivers/L1e_Lan/l1e-l2e-linux-v1.0.0.4/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
As you can see by the kernel version, I am running Hardy.