LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing NVIDIA drivers. (https://www.linuxquestions.org/questions/linux-newbie-8/installing-nvidia-drivers-87509/)

Moses420ca 08-31-2003 12:29 AM

Installing NVIDIA drivers.
 
I'm installing NVIDIA-Linux-x86-1.0-4496-pkg2.run and it's not working. I have the NVIDIA drivers installed that came with suse but I have no 3D acceleration. Here's the log;

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Aug 31 01:15:19 2003

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 include 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.
-> There appears to already be a driver installed on your system (version: 1.0-
4496). As part of installing this driver (version: 1.0-4496), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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 include path: '/lib/modules/2.4.20-4GB/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.20-4G
B/build/include'...

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

[1;31m*** Failed cc sanity check. Bailing out! ***
[0mmake: *** [gcc-check] Error 1
-> 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.


thanks for any help.

rberry88 08-31-2003 12:45 AM

See my post in this forum about intalling the kernel-source. I have SuSE 8.2 and I had to download the kernel-source directly from the ftp site. After that I followed the exact same instructions you did and it worked like a charm.

rberry88

DrOzz 08-31-2003 12:49 AM

http://www.linuxquestions.org/questi...red this today
give it a go..

Moses420ca 08-31-2003 01:01 PM

I just realized that I have the NVIDIA driver already installed that I'm trying to install. I guess I don't need it after all. Must have been one of the updates in YaST2 update. My 3D acceleration isn't working though. Any idea how to get that working? I should start another thread for that huh?


All times are GMT -5. The time now is 09:27 AM.