Problem compiling kernel module
I am running a non-standard kernel (2.6.33-29-realtime-pae), and I'm having trouble installing any NVIDIA driver (185, 190, 195, 256), apparently because it's looking for source files in a different location. At first I tried installing the driver through the package manager, then through two of the Ubuntu PPAs, and finally using the binary from nvidia.com. This is the error reported when running the binary installer:
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.33-29-realtime-
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/autoconf.h or include/config/auto.conf are
echo " Run 'make oldconfig && make prepare' on kernel src to fix it
Both autoconf.h and auto.conf are in the directories mentioned above. I saw several posts recommending commenting out any reference to ".owner = THIS_MODULE" but that didn't make a difference.
Re: Problem compiling kernel module
This is a quirk of KBUILD: when compiling with verbose output enabled, it prints the code that would print that error if those files were missing. It's not actually an error unless you see the "ERROR: Kernel configuration is invalid" message being printed out later without the "echo" command in front of them.
|All times are GMT -5. The time now is 02:56 AM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.