LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   About NVIDIA on Fedora test2 !! (https://www.linuxquestions.org/questions/linux-software-2/about-nvidia-on-fedora-test2-100214/)

jin.liu 10-04-2003 02:41 PM

About NVIDIA on Fedora test2 !!
 
who succeed in installing NVIDIA driver on Fedora test2 (severn)?
I failed,--------
Can you help me ?
It seems say that is gcc's problem,why???
HELP!

DrOzz 10-04-2003 05:07 PM

what is the exact error your getting, if possible to show us? and since you mention gcc, do you have it installed?

jin.liu 10-04-2003 10:23 PM

Yes ,I have installed gcc,exactly 2 version gcc in Fedora test2.
one is gcc 3.3.1 ,the other is gcc 3.2.
And the installing log is :
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 5 03:14:56 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.22-1.2061.nptl/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.22-1.
2061.nptl/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.

*** 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.

DrOzz 10-05-2003 11:51 AM

um, well....did you do what it says?
export IGNORE_CC_MISMATCH=yes ?
if not, then type that in, and retry...

jin.liu 10-07-2003 12:26 AM

Thank you ,DrOzz.
I have succeded in installing it.My steps is following:
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
get a directory:
NVIDIA-Linux-x86-1.0-4496-pkg2
cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/
vi Makefile
add a line :
IGNORE_CC_MISMATCH=1
then return directory NVIDIA-Linux-x86-1.0-4496-pkg2
run:
./nvidia-installer
It's OK!

DrOzz 10-07-2003 06:50 AM

sweet d00d, glad it helped...


All times are GMT -5. The time now is 12:14 AM.