LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nvidia driver (https://www.linuxquestions.org/questions/linux-newbie-8/nvidia-driver-214072/)

jlynch6792 08-05-2004 10:21 PM

Nvidia driver
 
Hoping someone might be able to lend a newb a hand with the below situation:

Trying to install the nvidia driver (1.0-6111) for a cheap geforce4 mx 4000 I have on a clean install of debian sarge (kernel-2.4.26). I'm running the nvidia installer (sh NVIDIA-Linux-x86-1.0-6111-pkg1.run) After following the readme to the letter I end up with the following:

gcc-version-check failed:

Could not compile gcc-version-check.c

If you know what you are doing and want to ignore the gcc version check,
select "No" to continue installation. Otherwise, select "Yes" to abort
installation, set the CC environment variable to the name of the compiler
used to compile your kernel, and restart installation. Abort now?


my gcc version:
gcc -v
gcc version 3.3.4 (Debian 1:3.3.4-3)

I do have the source and source headers installed and have also tried this with kernel 2.6.7 with the same result.

Banging my head against a wall here!

HappyTux 08-05-2004 10:29 PM

Re: Nvidia driver
 
Quote:

Originally posted by jlynch6792
Hoping someone might be able to lend a newb a hand with the below situation:

Trying to install the nvidia driver (1.0-6111) for a cheap geforce4 mx 4000 I have on a clean install of debian sarge (kernel-2.4.26). I'm running the nvidia installer (sh NVIDIA-Linux-x86-1.0-6111-pkg1.run) After following the readme to the letter I end up with the following:

gcc-version-check failed:

Could not compile gcc-version-check.c

If you know what you are doing and want to ignore the gcc version check,
select "No" to continue installation. Otherwise, select "Yes" to abort
installation, set the CC environment variable to the name of the compiler
used to compile your kernel, and restart installation. Abort now?


my gcc version:
gcc -v
gcc version 3.3.4 (Debian 1:3.3.4-3)

I do have the source and source headers installed and have also tried this with kernel 2.6.7 with the same result.

Banging my head against a wall here!


Try using export IGNORE_CC_MISMATCH=1 or export CC=/usr/bin/gcc-2.95 in the console where you are compiling.

jlynch6792 08-05-2004 10:32 PM

no go
 
Tried both, no go:

ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.

HappyTux 08-05-2004 11:00 PM

Re: no go
 
Quote:

Originally posted by jlynch6792
Tried both, no go:

ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.

Are the kernel headers you installed linked properly they should point to /usr/src/linux eg. you did ln -sf /usr/src/kernel-headers-2.4.26-?-??? /usr/src/linux assuming you are running the 2.4 kernel and I believe that there is a --WITH_KERNEL_DIR=/usr/src/kernel-headers-2.4.26-?-??? or something like that you can use to point to the correct directory I'm positive on that though never used it you may want to search the docs.

BaptismOfFire 08-10-2004 10:34 AM

Dunno if this is any help. I am having my own set of probs with the nVidia driver (I currently am trying to instal 6011). Anyway, the link below describes how to install the driver specifically for debian.

http://tinyplanet.ca/~lsorense/debia...-dri-howto.txt

jlynch6792 08-11-2004 10:07 AM

Thanks!
 
Following the process at the link you provided worked wonders. The driver is now installed, now I just have to figure out how to get the TV out functioning.

Thanks again.

BaptismOfFire 08-11-2004 05:10 PM

glad I could help, because it is not working for me :(


still, I will post my problem as soon as I have the logs transcribed.

Once again, glad it worked, because I am a newbie at this as well.


All times are GMT -5. The time now is 10:36 PM.