so, where did I go wrong?
I just got the same kind of error as the above. However, I don't "think" I'm using the wrong headers.
My system is RH 7.2 with an upgraded kernel. I installed one from RH which was tailored to my athlon processor. Later, I installed header files and the source which seemed to be necessary for the compilation:
$ rpm -qa | grep 'kernel'
When I use 'make install' as suggested in the installation info, I get an error message when the Makefile does "depmod -a". I chaged it to "depmod -ae" to get a list of the offending symbols:
ld -r -o NVdriver Module-linux Module-nvkernel
text data bss dec hex filename
824285 52788 52396 929469 e2ebd NVdriver
depmod: *** Unresolved symbols in /lib/modules/2.4.9-34/kernel/drivers/video/NVdriver
make: *** [package-install] Error 1
At this point I have really tried to read the relevant documentation, but I feel that I'm at the end of the road here. I would be really grateful for any tips. For instance, should I perhaps recompile the kernel?