nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   For the love of somebody... Help! (http://www.nvnews.net/vbulletin/showthread.php?t=6680)

Seth 01-26-03 01:13 PM

For the love of somebody... Help!
1) AMD 1800XP
3) 256 MB Ram
4) G4 Ti4600


Debian 3.0 (Woody) 2.2.20,

X wont start

I down loaded the 4191 drivers in the tar.gz format and followed the instructions. Everthing went well until I gave the make install command inside the NVIDIA-kernelXXXX directory and then this error came up.

"NVIDIA kernel module with a compiler different from the one that was used to compile the running kernel.

If you know what you're doing and want to override this check, you can do so by setting the IGNORE_CC_MISMATCH

***FAILED CC sanity check. Bailing out!***"

So I went ahead and fixed that with

I gave the make install command
one more time and then I got this
"Wno-cast-qual nv.o
In file included form nv.c:14:
nv-linux.h:24: linux /modversions.h:
No such file or Directory
make: ***[env.0] Error 1"

I know the nv-linux.h has something to do with headers but I'm not sure what that is. Can anyone tell me what I need to do?

ReKleSS 01-26-03 04:12 PM

Find out what version of gcc the kernel was compiled with - cat /proc/version should tell you. Install that version of GCC, and everything should be fine. Those error messages are there for a reason :angel2:

bwkaz 01-26-03 05:16 PM

Your problem is right in the README:


__________________________ ________________________________________________

__________________________ ________________________________________________

  o linux kernel    2.2.12  # cat /proc/version
  o XFree86          4.0.1    # XFree86 -version
  o Kernel modutils  2.1.121  # insmod -V

    If you need to build the NVdriver kernel module:

  o binutils        2.9.5    # size --version
  o GNU make        3.77    # make --version
  o gcc              2.91.66  # gcc --version

Note the version of gcc that your kernel was compiled with: That will DEFINITELY not work.

Seth 01-28-03 05:15 PM

Some more help
I can't use the compiler that was used to compile my kernel because the version was and NVIDIA needs at least version 2.91.66.

So my question is how do I install a new kernel with the newest compiler that I have which is 2.95.4?


LordMorgul 01-28-03 05:26 PM

Research how to compile and install a custom configured kernel, install the 2.95 or newer compiler with libraries, then compile a kernel.

This site may be of great assistance! :D


Seth 01-28-03 06:08 PM

That's cool beans man, cool beans!

Wolfman [TWP] 01-29-03 08:45 AM

And don't forget to install the kernel source files, etc..

bwkaz 01-29-03 08:52 PM

If you install the kernel from source (which is what you'd have to do once you upgraded the system compiler), then you don't have to worry about installing anything else -- you already have the equivalent of kernel-source installed. It's even configured. What a deal. ;) Well, just don't delete the source tree.

The only time you have to worry about a kernel-source package or something is if you upgrade via some tool your distro uses.

All times are GMT -5. The time now is 06:18 PM.

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