Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-16-2006, 08:30 PM
|
#1
|
Member
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99
Rep:
|
Error: Unable to build the NVIDIA kernel module.
I'm trying to install my NVIDIA drivers on a new install of slackware 10.2 with the test26.s kernel. I've used pkgtool to load the modules from the 2nd install disc. downloaded the nvidia driver, went to the directory then 'sh 'NVIDIA***.run'. first it says it's going to look for a kernel interface, then it tries to download one, then it says it'll have to make one.. it seems to get to 100% then that error appears. any ideas? here's the log it told me to refer to:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Feb 16 18:18:36 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.13/build'
-> Performing cc_version_check with CC="cc".
-> 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.13/build'..
.
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/selfgz1918/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:74,
from /tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_probe_devices':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:241: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:296: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_malloc_pages':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_create_alloc':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_find_agp_by_class':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:613: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:624: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning
: initialization from incompatible pointer type
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_alloc_file_private':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_open':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1442: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_ctl_open':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2870: warning
: implicit declaration of function `inter_module_get'
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:74,
from /tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: At top l
evel:
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:50: error
: syntax error before '*' token
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:78: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernAllocAGPPages':
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernMapAGPPages':
/tmp/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c:345: warn
ing: implicit declaration of function `remap_page_range'
/tmp/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernFreeAGPPages':
/tmp/selfgz1918/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/selfgz1918/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/selfgz1918/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/os-a
gp.o] Error 1
make[2]: *** [_module_/tmp/selfgz1918/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.
|
|
|
02-16-2006, 08:33 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Did you install the kernel-sources package? What does /var/log/nvidia-installer.log show that is applicable to the problem?
|
|
|
02-16-2006, 08:53 PM
|
#3
|
Member
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99
Original Poster
Rep:
|
yeah, I've installed all the packages/modules from disc 2 of slackware 10.2. the only thing i've found that relates to the problem in the log is:
Code:
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.13/build'..
.
WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.
i don't know what that file is, or how to replace it. Any ideas?
|
|
|
02-17-2006, 02:46 AM
|
#4
|
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,221
|
Quote:
WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.
|
From the message above it seems that you miss the fie: /usr/src/linux-2.6.13/Module.symvers
This file is created when you compile a kernel from source and "contains the version for all
symbols exported by the kernel and any module compiled within the kernel tree".
Search to see if it exists in a different place (perhaps under /lib/modules/2.6.13/) and copy it to the correct location, or else perhaps just recompilng the kernel without changing anything will create it.
Also creating the following symlink is always a good practice:
Code:
ln -s /usr/src/linux-2.6.13 /usr/src/linux
|
|
|
All times are GMT -5. The time now is 10:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|