Unable to build NVIDIA kernel module

Steven Haigh netwiz at crc.id.au
Sun Oct 8 23:17:01 UTC 2006


Quoting "Ian Lists. Marks" <ian-list at insourced.us>:
> Has anyone been able to build the latest stable NVIDIA driver in the  
>  last couple kernel updates on Core6 pre?  Everything was working   
> great until kernel-2.6.18-1.2741 I believe.  I tried upgrading to   
> kernel-2.6.18-1.2747 and am having the same problem.  Below is the   
> error in the nvidia-installer.log file I am seeing.
>
>    /nv/nv.c:14:
>    include/asm/io.h: In function ‘check_signature’:
>    include/asm/io.h:245: warning: wrong type argument to increment
>    make[4]: ***   
> [/tmp/selfgz3357/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src/nv/nv.o
>    ] Error 1
>    make[3]: ***   
> [_module_/tmp/selfgz3357/NVIDIA-Linux-x86-1.0-8774-pkg1/usr/src
>    /nv] Error 2
>    make[2]: *** [modules] Error 2
>    NVIDIA: left KBUILD.
>    nvidia.ko failed to build!
>    make[1]: *** [mdl] Error 1
>    make: *** [module] Error 2
> -> Error.
> ERROR: Unable to build the NVIDIA kernel module.
> ERROR: Installation has failed.  Please see the file
>        '/var/log/nvidia-installer.log' for details.  You may find suggestions
>        on fixing installation problems in the README available on the Linux
>        driver download page at www.nvidia.com.

I saw this the other night as well. you can always just create a file such as:
# touch /lib/modules/`uname -r`/build/include/linux/config.h

This will just make a blank file for the include, and will stop the  
file not found error message for linux/config.h.

-- 
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9017 0597 - 0412 935 897




More information about the fedora-test-list mailing list