|
|
#1 | |
|
Registered User
Join Date: May 2012
Posts: 4
|
I've tried compiling these two driver on kernel 3.2.
It produces the same error message. 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/selfgz1490/NVIDIA-Linux-x86-295.40/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/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c: At top level:
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:8:1: error: variable '__this_module' has initializer but incomplete type
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:9:2: error: unknown field 'name' specified in initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:9:2: warning: excess elements in struct initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:9:2: warning: (near initialization for '__this_module')
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:10:2: error: unknown field 'init' specified in initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:10:2: warning: excess elements in struct initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:10:2: warning: (near initialization for '__this_module')
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:14:2: error: unknown field 'arch' specified in initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:14:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:14:2: warning: excess elements in struct initializer
/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/kernel/nvidia.mod.c:14:2: warning: (near initialization for '__this_module')
make[4]: *** [/tmp/selfgz1490/NVIDIA-Linux-x86-295.40/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.
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/selfgz9946/NVIDIA-Linux-x86-295.53/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/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c: At top level:
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:8:1: error: variable '__this_module' has initializer but incomplete type
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:9:2: error: unknown field 'name' specified in initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:9:2: warning: excess elements in struct initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:9:2: warning: (near initialization for '__this_module')
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:10:2: error: unknown field 'init' specified in initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:10:2: warning: excess elements in struct initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:10:2: warning: (near initialization for '__this_module')
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:14:2: error: unknown field 'arch' specified in initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:14:10: error: 'MODULE_ARCH_INIT' undeclared here (not in a function)
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:14:2: warning: excess elements in struct initializer
/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/kernel/nvidia.mod.c:14:2: warning: (near initialization for '__this_module')
make[4]: *** [/tmp/selfgz9946/NVIDIA-Linux-x86-295.53/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 report this error to nvidia ? |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Feb 2012
Posts: 3
|
Have you tried 302 version driver. Which Distro are you using.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: May 2012
Posts: 4
|
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: May 2012
Posts: 4
|
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.
|
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: May 2012
Posts: 4
|
So i've posted bug report a couple of days ago.
Hope something will come out. |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regression with 295.33 and GeForce GT 240 | maro | NVIDIA Linux | 16 | 06-29-12 06:47 PM |
| Crash when logout from X | TGL | NVIDIA Linux | 10 | 09-13-02 08:22 PM |
| NVIDIA kernel not loading on boot-up, but insmod loads it | Kyle | NVIDIA Linux | 3 | 09-10-02 12:01 AM |
| Kernel drivers and GCC 3.2 | Alan666 | NVIDIA Linux | 2 | 08-24-02 10:21 PM |
| NVIDIA_kernel with gcc 3.2 based linux kernel | akay | NVIDIA Linux | 18 | 08-24-02 09:23 AM |