I'm pretty sure the problem here is that you are using "old" style compilation. The thread where this appears to have come from is pretty old and refers to a 2.4 kernel - not so long ago, I found that making my own module wasn't working as the book I was reading. Reason: Book talked about 2.4 kernel, and I had a 2.6.13 or so kernel. 2.6 has a different kernel format.

There are a few different solutions - in my case, I choose to just add my module to the normal kernel build.