I've been trying to install nVidia drivers on my Slackware 11, but without any luck so far.
As far as I can see, it should be fairly simple, but the nVidia installer bombs out on me very early on in the process. Here's a tidbit from the log:
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.20.5-smp/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.20.5-smp/bu
ild'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4390/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
In file included from /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv-linux.h:17:26:
linux/config.h: No such file or directory
In file included from include/linux/list.h:8,
from include/linux/module.h:10,
from /tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz4390/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
From here on out it's just error upon error, until the very end where I get this:
make[3]: *** [/tmp/selfgz4390/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz4390/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.
I'm fairly certain it's me who is doing something wrong, I just can't put my finger on exactly what. Perhaps someone could point me in the right direction?
Perhaps it's an issue with the 2.6.20.5 kernel?
Regards
Thomas