![]() |
|
|
|
#1 | |
|
Registered User
Join Date: Jan 2006
Posts: 35
|
When I run the Nvidia installer I get the following error;
--- ERROR: Unable to build the NVIDIA kernel module. --- I'm trying to install older Nvidia drivers, 5336. Here's the contents on my nvidia-installer.log file. Code:
nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jan 30 17:58:02 2006 option status: license pre-accepted : false update : false force update : false expert : false uninstall : false driver info : false no precompiled interface: false no ncurses color : false query latest driver ver : false OpenGL header files : false no questions : false silent : false XFree86 install prefix : /usr/X11R6 OpenGL install prefix : /usr Installer install prefix: /usr kernel source path : (not specified) kernel install path : (not specified) proc mount point : /proc ui : (not specified) tmpdir : /tmp ftp site : ftp://download.nvidia.com Using: nvidia-installer ncurses user interface -> License accepted. -> No precompiled kernel interface was found to match your kernel; would you li ke the installer to attempt to download a kernel interface for your kernel f rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No) -> No precompiled kernel interface was found to match your kernel; this means that the installer will need to compile a new kernel interface. -> Kernel source path: '/lib/modules/2.6.12-10-386/build' -> Performing cc_version_check with CC="gcc-3.4". -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa ce.o os-registry.o nvidia.mod.o rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags} rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~ -> Building kernel module: executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.12-10-386/b uild'... echo \#define NV_COMPILER \"`gcc-3.4 -v 2>&1 | tail -n 1`\" > /tmp/selfgz954 3/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h CC [M] /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o In file included from include/linux/list.h:7, from include/linux/wait.h:23, from include/asm/semaphore.h:41, from include/linux/sched.h:20, from include/linux/module.h:10, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv.c:14: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith metic In file included from include/linux/dmapool.h:14, from include/linux/pci.h:864, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:74, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:253: warning: wrong type argument to increment /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_probe_devices': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning: implicit declaration of function `pci_find_class' /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning: assignment makes pointer from integer without a cast /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:296: warning: assignment makes pointer from integer without a cast /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_malloc_pages': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_create_alloc': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning: use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvos_find_agp_by_class': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:613: warning: assignment makes pointer from integer without a cast /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:624: warning: assignment makes pointer from integer without a cast /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvidia_init_module': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:921: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nvidia_exit_module': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:977: warning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level : /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning : initialization from incompatible pointer type /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_alloc_file_private': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_kern_open': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_kern_mmap': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1442: warning : implicit declaration of function `remap_page_range' /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_kern_ctl_open': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warning : use of cast expressions as lvalues is deprecated /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `_get_phys_address': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2319: warning : passing arg 1 of `pmd_offset' from incompatible pointer type /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function `nv_agp_init': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2870: warning : implicit declaration of function `inter_module_get' /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2871: warning : `inter_module_put' is deprecated (declared at include/linux/module.h:568) CC [M] /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.o In file included from include/linux/list.h:7, from include/linux/wait.h:23, from include/asm/semaphore.h:41, from include/linux/sched.h:20, from include/linux/module.h:10, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:52, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/os-agp.c:24: include/linux/prefetch.h: In function `prefetch_range': include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith metic In file included from include/linux/dmapool.h:14, from include/linux/pci.h:864, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/nv-linux.h:74, from /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv/os-agp.c:24: include/asm/io.h: In function `check_signature': include/asm/io.h:253: warning: wrong type argument to increment /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: At top l evel: /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:50: error : parse error before '*' token /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:50: warni ng: type defaults to `int' in declaration of `drm_agp_p' /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:50: warni ng: data definition has no type or storage class /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct ion `KernInitAGP': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:78: warni ng: assignment discards qualifiers from pointer target type /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:91: error : request for member `acquire' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:118: erro r: request for member `copy_info' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:119: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:120: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:137: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:138: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:154: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:155: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:166: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:167: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:178: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:179: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:189: erro r: request for member `enable' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct ion `KernTeardownAGP': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:224: erro r: request for member `release' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:226: warn ing: `inter_module_put' is deprecated (declared at include/linux/module.h:56 8) /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct ion `KernAllocAGPPages': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:273: erro r: request for member `allocate_memory' in something not a structure or unio n /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:281: erro r: request for member `bind_memory' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:298: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:313: erro r: request for member `free_memory' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct ion `KernMapAGPPages': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:345: warn ing: implicit declaration of function `remap_page_range' /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:353: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct ion `KernFreeAGPPages': /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:452: erro r: request for member `unbind_memory' in something not a structure or union /tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:453: erro r: request for member `free_memory' in something not a structure or union make[3]: *** [/tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-a gp.o] Error 1 make[2]: *** [_module_/tmp/selfgz9543/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src /nv] Error 2 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. |
|
|
|
|
|
|
#2 | |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
1.0-5336 will be highly unlikely to build with a recent 2.6.x kernel, and is also unsupported. Please use 1.0-8178.
Thanks, Lonni |
|
|
|
|
| Sponsored Ads - Guests Only | ||
|
|
|
|
#3 |
|
Registered User
Join Date: Jan 2006
Posts: 35
|
5336 added support for the 2.6 kernel. And I can't use anything higher because of an issue with Toshiba monitors and a black bar on the side. See the following URL.
http://www.laptopvideo2go.com/wiki/i...ng_New_Drivers |
|
|
|
|
|
#4 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
Have you tested 1.0-8178? Does 1.0-8178 install successfully?
That would at least determine if the 1.0-5536 problem is with the driver or your kernel source. Thanks, Lonni |
|
|
|
|
|
#5 | |
|
Registered User
Join Date: Jan 2006
Posts: 35
|
Quote:
|
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Jan 2006
Posts: 6
|
have you removed any old modules correctly?
GUI's wont load the drivers unless you can removed all the old modules...some do it for you, some dont |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Jan 2006
Posts: 35
|
So, any ideas why the 5336 installation fails?
|
|
|
|
|
|
#8 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
Its incompatible with the kernel version you're using.
As I stated, 1.0-5336 is unsupported and is unlikely to build, or work properly with most recent Linux distributions. If you're running into a bug with 1.0-8178, then please start a new thread related to that issue, and we can work to address that problem. Thanks, Lonni |
|
|
|
|
|
#9 | |
|
Registered User
Join Date: Jan 2006
Posts: 35
|
Quote:
http://www.ubuntuforums.org/showthread.php?t=75074 |
|
|
|
|
|
|
#10 | ||
|
Registered User
Join Date: Jan 2006
Posts: 35
|
Quote:
Quote:
I can't use 8178 or anything higher then 55.xx because of the incompatibility I described with my Toshiba laptop. |
||
|
|
|
|
|
#11 |
|
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
|
If you're running into a bug with 1.0-8178, then please start a new thread related to that issue, and we can work to address that problem.
Thanks, Lonni |
|
|
|
![]() |
| Shop Online | |
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|