which version of the kernel are you running? it's possible that you are trying to build a 2.4.x kernel module for a 2.6.x system. i got the same message on my machine when i tried out the example, and ...