[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Next Challenge - nVidia Video Drivers



On December 22, 2003 04:50 am, Scarletdown wrote:
> David S wrote:
> > Scarletdown wrote:
> >> I just tried to install the GeForce video drivers downloaded from
> >> nVidia's site, in hopes that I would be able to make proper use of
> >> my video card (GeForce 5600 FX with 256MB RAM)
> >>
> >> Here is what the log file showed after the drivers failed to
> >> install...
> >>
> >> nvidia-installer log file '/var/log/nvidia-installer.log'
> >> creation time: Sun Dec 21 22:32:09 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: 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.22-xfs/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-xf
> >> s/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.
> >>
> >> Any suggestions on how to get this to work?
> >
> >  From what I remember when I first installed my Nvidia driver, I
> > had the same problem.
> >
> > My solution was to download an up to date Kernel, compile it, then
> > run the nvidia ncurses install app.
> > I am using 2.4.22
>
> Well, I'm already using 2.4.22-xfs, which was installed from the
> Knoppix CD.

The Knoppix kernel is compiled with gcc-2.95-4 before you run the Nvidia 
installer use either export CC=/usr/bin/gcc-2.95 or export 
IGNORE_CC_MISMATCH=1 and it should compile.



Reply to: