nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   GF4 drivers (http://www.nvnews.net/vbulletin/showthread.php?t=10992)

pipes clangor 04-29-03 03:04 PM

GF4 drivers
 
when I try to install the drivers for my GF4 I get:

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.

the help says:

You should compile the NVIDIA kernel module with the same compiler version that was used to compile your kernel. Some lunux kernel data structures are dependent on the version of gcc used to compile it

the thing is that I bought a redhat cd and just installed it! How could I be using a different version to compile it if I just installed it?

Andy Mecham 04-29-03 03:47 PM

Have you used up2date to update packages on your system? Are you using an update kernel? If so, it's certainly possible that you're using a kernel that was compiled with a different compiler than the one currently on your system.

What kernel are you using? What driver are you trying to install?

--andy

bwkaz 04-29-03 06:58 PM

And what do cat /proc/version and cc -dumpversion tell you?

pipes clangor 04-30-03 12:31 AM

cat /proc/version
2.2.16-22

gcc -v
2.96

Andy Mecham 04-30-03 12:55 AM

In this case, you should be ok. Type
Code:

export IGNORE_CC_MISMATCH=1
and rerun the installer.

--andy

pipes clangor 04-30-03 01:30 AM

okay it started to install but I got a bunch of warning messages and exited with error 1. what did I do wrong

Andy Mecham 04-30-03 01:32 AM

Please post your /var/log/nvidia-installer.log file.

--andy

pipes clangor 04-30-03 03:06 PM

sorry if I'm being difficult but when I looked at it with vi nothing was written in the log. Its blank.

Andy Mecham 04-30-03 03:08 PM

Can you post the error messages you're seeing?

--andy

pipes clangor 05-01-03 04:39 PM

warning: this is the location of the previous definition
cc/: Invalid option -fixed-range=f10-f15, f32-f127
nv.c:2186:'__IA64__UNCHACHED-OFFESET' undeclared (first use in this function)

there were like 5 or 6 of these.

and ended with make: ***[nv.o] Error 1

Andy Mecham 05-01-03 04:40 PM

Please post the *entire* output.

What driver are you using?

--andy

pipes clangor 05-02-03 02:03 AM

NVIDIA_kernel-1.0-4050

In file included from /lib/modules/2.2.16-22/build/include/linux/interrupt.h: 51,
from nv-linux.h:71,
from nc.c: 14:
/lib/modules/2.2.16-22/build/include/asm/hardirqi23:24: warning:"synchronize-irq" redefined
" /linux/modules/i386-ksyms.ver 138:1: warning: this is the location of the previous definition
cc1:Invalid option 'fixed-range=f10-f15, f32-f127'
cc1:warning: unknown register name: r13
nv.c: In funtion 'nv_get_phys_address':
nv.c:2186:(Each undeclared identifier is reported only once for each function it appears in)
nv.c:2219:'_PFN_MASIC' undeclared (first use in this function)
nv.c:2695:'warning:cast from pointer to integer of different size


All times are GMT -5. The time now is 03:01 PM.

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