i'm more like a lurker but i'll give posting a shot
. i was just comiling a 2.6 kernel (2.6.26) which went quite well. i encounter a problem when installing the NVIDIA driver (NVIDIA-Linux-x86-1.0-4496-pkg2.run) for my geforce fx 5200 video card. i need of course the header files of my new kernel, so i did:
$ mkdir $HOME/src/headers-2.6.26
$ cp -HR $HOME/src/linux-2.6.26/include/asm $HOME/src/headers-2.6.26
$ cp -R $HOME/src/linux-2.6.26/include/asm-generic $HOME/src/headers-2.6.26
$ cp -R $HOME/src/linux-2.6.26/include/linux $HOME/src/headers-2.6.26
i thought this would copy the header files. then i pointed the NVIDIA installer to the headers
# ./NVIDIA-...-pkg2.run --kernel-include-path=$HOME/src/headers-2.6.26
the error was that the installer complained about a missing file 'include/linux/modversions.h'. the /var/log/nvidia-installer.log file said nothing more enlightning except that this error might be due to unconfigured kernel headers.
so i thought about how to extract/make the kernel headers or the missing files. i checked the make file and tried:
$ make headers_check(_all) //also
$ make headers_install(_all)
to no avail. i finally installed my new kernel with all the modules hoping it would automatically copy the new headers somewhere in /usr/include or so. well, nothing so far. NVIDIA installer is still complaining about missing files and hints to "configure the kernel headers"
anybody know how to do this or what i was missing?
help appreciated, thx