That still isn't enough for compiling from source. Most people don't have the kernel headers installed or they get various other errors. (unresolved symbols, modversions.h ...)
For the use of source packages make sure you install the kernel-headers for your distro. If you get unresolved symbols it means you didn't use the headers designed for your kernel version.
If you get a modeversions.h error the kernel headers likely aren't installed. Look on the cd of your distro (or in case of debian: apt-cache search kernel-headers) for the kernel package you need. If you don't know the kernel version/name find it using "uname -r".
On most rpm based distros the needed kernel package is called (I think): kernel-headers(version).rpm