I've added the kernel source and headers now, by the way.
Still same errors.
If I can make it compile at all, I get unresolved symbols, but mostly I can't get it to compile at all.