To compile a kernel, you will need the kernel source code. You can get it from http://www.kernel.org.