View Single Post
Old 05-21-12, 10:11 PM   #4
delta32
Registered User
 
Join Date: May 2012
Posts: 4
Default Re: 295.40 295 cannot be compiled on 3.2 kernel

So i've tried 302.07 today. Still the same error.

Code:
   In file included from include/linux/kernel.h:17:0,
                    from include/linux/cache.h:4,
                    from include/linux/time.h:7,
                    from include/linux/stat.h:60,
                    from include/linux/module.h:10,
                    from /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:1:
   include/linux/bitops.h: In function 'hweight_long':
   include/linux/bitops.h:49:26: warning: signed and unsigned type in conditional expression
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c: At top level:
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:8:1: error: variable '__this_module' has initializer but incomplete type
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:9:2: error: unknown field 'name' specified in initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:9:2: warning: excess elements in struct initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:9:2: warning: (near initialization for '__this_module')
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:10:2: error: unknown field 'init' specified in initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:10:2: warning: excess elements in struct initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:10:2: warning: (near initialization for '__this_module')
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:14:2: error: unknown field 'arch' specified in initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:14:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:14:2: warning: excess elements in struct initializer
   /tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.c:14:2: warning: (near initialization for '__this_module')
   make[4]: *** [/tmp/selfgz551/NVIDIA-Linux-x86-302.07/kernel/nvidia.mod.o] Error 1
   make[3]: *** [modules] Error 2
   make[2]: *** [sub-make] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] 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.
Should i post a bug report ?
delta32 is offline   Reply With Quote