nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Problems with NVIDIA Linux Installer (http://www.nvnews.net/vbulletin/showthread.php?t=17285)

JavaCowboy 08-31-03 10:16 AM

Problems with NVIDIA Linux Installer
 
I tried running the NVIDIA installer from my Gentoo Linux 1.4 system.

When I ran the program, it asked me if I wanted to download a pre-compiled module. It tried to, but couldn't. Then, it tried to compile the module on my system, but it couldn't do that either.

Should I:

1) Manually download the module from NVIDIA (I don't have the URL)
2) Fool around with my compile settings and try to compile it myself

Here's the output from the NVIDIA installer logfile:

Quote:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Aug 31 11:00:57 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.
-> 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 include path: '/lib/modules/2.4.20/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/bu
ild/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.

*** Failed cc sanity check. Bailing out! ***
make: *** [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.

JavaCowboy 08-31-03 10:25 AM

Hmmmm... I accidentally posted to the wrong section,. I mean to post to the Linux NVIDIA graphics section.

I'd like to post to the correct section, but I don't want to cross-post.

What should I do?

Moled 09-02-03 03:11 AM

export IGNORE_CC_MISMATCH=yes
emerge nvidia-glx nvidia-kernel

that *should* work


All times are GMT -5. The time now is 06:21 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.