Unfortunately, there are some cases when things do not go smoothly.
In case you have problem compiling your modules:
Do you have all the tools required ? (make, gcc, make-kpkg, etc...)
Do you have the correct headers installed ? (kernel headers, but also standard libc headers, etc...)