View Full Version : Mandrake linux 10.1 and geforce graphics card.

10-11-04, 10:06 AM
I had installed the mandrake linux 10.1 but I am not able to install the graphics driver.
It give could not compile the driver.
I have the kernel source installed etc... I had gne through the forums here and learnt to patched the new file .. I even did that then I used the --add-this-kernel option but it does not work..
I am giving the output of the log file... Please help...


nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Oct 11 20:20:27 2004

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
X 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 : /root/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/'
-> Performing cc_version_check with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
-> 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/
uild SYSOUT=/lib/modules/'...

NVIDIA: calling KBUILD...
make -C /lib/modules/ \
KBUILD_SRC=/usr/src/linux- KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-
pkg1/usr/src/nv" \
-f /usr/src/linux- modules
mkdir -p /root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/.tmp
make -f /usr/src/linux- obj=/root/tmp/se
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz821
cc -Wp,-MD,/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/
.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Iinclude2 -I/
usr/src/linux- -I/root/tmp/selfgz8214/NVIDIA-Linux-x86
-1.0-6111-pkg1/usr/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-stri
ct-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -fno
a-time -march=athlon -I/usr/src/linux-
fault -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration
-after-statement -I/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/
src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
parentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-c
/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.o /root/tm
/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c: In func
tion `nv_acpi_event':
/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: `PM_SAVE_STATE' undeclared (first use in this function)
/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: (Each undeclared identifier is reported only once
/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c:3697: er
ror: for each function it appears in.)
make[4]: *** [/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv
/nv.o] Error 1
make[3]: *** [_module_/root/tmp/selfgz8214/NVIDIA-Linux-x86-1.0-6111-pkg1/us
r/src/nv] Error 2
make[2]: *** [modules] 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.

10-11-04, 10:25 AM