Having difficulties to compile a basic example of device driver, you know init and exit functions, inside eclipse CDT under Ubuntu natty.

Get the following error message on the inclusion:
../mydriver.c:1:26: fatal error: linux/module.h: No such file or directory
compilation terminated.

Seems no matter what I do, the I.D.E can't find the headers used in code. Surely the development kernel header are installed on the systems and all include libraries are set in eclipse. Using makefile generated by eclipse. Tried to replace with makefile offered in the net but it totally refuses to work.

What could be possibly done?