Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux


                    

Sponsored Ad

Reply
 
Thread Tools
Old 06-19-06, 11:32 PM   #1
itzig
Registered User
 
Join Date: Jun 2006
Posts: 2
Default Unable to build the NVIDIA kernel module in slackware

trying to install on a brandnew system (dell dimension 8200, geforce2 MX/MX 400). fresh slackware 10.2 install with 2.6.13 kernel, all kernel stuff is installed in /lib/modules/

I am using this driver:
NVIDIA-Linux-x86-1.0-5336-pkg1
I tried the option to add the path, but of course that didn't help either.
I keep getting:
"ERROR: Unable to build the NVIDIA kernel module"

the weird thing is that I have the exact same duplicate computer, on which the installation worked without any problems!!?
thanks in advance for any help!

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jun 19 19:09:42 2006

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: true
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.
-> Not probing for precompiled kernel interfaces.
-> Kernel source path: '/usr/src/linux'
-> 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=/usr/src/linux'...

WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.

echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4757/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz4757/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:870,
from /tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:74,
from /tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_probe_devices':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:296: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_malloc_pages':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_create_alloc':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_find_agp_by_class':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:613: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:624: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:921: warning:
`pm_register' is deprecated (declared at include/linux/pm.h:107)
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:977: warning:
`pm_unregister' is deprecated (declared at include/linux/pm.h:112)
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning
: initialization from incompatible pointer type
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_alloc_file_private':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_open':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1442: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_ctl_open':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2870: warning
: implicit declaration of function `inter_module_get'
/tmp/selfgz4757/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:573)
CC [M] /tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz4757/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:870,
from /tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:74,
from /tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: At top l
evel:
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:50: error
: syntax error before '*' token
/tmp/selfgz4757/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/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:78: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz4757/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/selfgz4757/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/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz4757/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/selfgz4757/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:57
3)
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernAllocAGPPages':
/tmp/selfgz4757/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/selfgz4757/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/selfgz4757/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/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernMapAGPPages':
/tmp/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:345: warn
ing: implicit declaration of function `remap_page_range'
/tmp/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernFreeAGPPages':
/tmp/selfgz4757/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/selfgz4757/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/selfgz4757/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-a
gp.o] Error 1
make[2]: *** [_module_/tmp/selfgz4757/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.
itzig is offline   Reply With Quote
Old 06-20-06, 12:09 AM   #2
EUIX
Registered User
 
Join Date: Sep 2005
Posts: 8
Default Re: Unable to build the NVIDIA kernel module in slackware

I am having the same problem except I am running FC 5, Nvidia can't find the Kernel even when I installed it again.
EUIX is offline   Reply With Quote

Sponsored Ads - Guests Only

Old 06-20-06, 01:11 AM   #3
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Unable to build the NVIDIA kernel module in slackware

1.0-5336 is no longer supported. Please use 1.0-8762.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 06-20-06, 05:17 PM   #4
itzig
Registered User
 
Join Date: Jun 2006
Posts: 2
Default Re: Unable to build the NVIDIA kernel module in slackware

that worked, thanks!
itzig is offline   Reply With Quote
Reply




Shop Online


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -4. The time now is 04:50 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
nV News - Copyright ©1998-2010. All rights reserved.