Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-29-03, 02:04 PM   #1
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default 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?
pipes clangor is offline   Reply With Quote
Old 04-29-03, 02:47 PM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

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
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-29-03, 05:58 PM   #3
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

And what do cat /proc/version and cc -dumpversion tell you?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 04-29-03, 11:31 PM   #4
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default

cat /proc/version
2.2.16-22

gcc -v
2.96
pipes clangor is offline   Reply With Quote
Old 04-29-03, 11:55 PM   #5
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

In this case, you should be ok. Type
Code:
export IGNORE_CC_MISMATCH=1
and rerun the installer.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-30-03, 12:30 AM   #6
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default

okay it started to install but I got a bunch of warning messages and exited with error 1. what did I do wrong
pipes clangor is offline   Reply With Quote
Old 04-30-03, 12:32 AM   #7
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

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

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-30-03, 02:06 PM   #8
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default

sorry if I'm being difficult but when I looked at it with vi nothing was written in the log. Its blank.
pipes clangor is offline   Reply With Quote

Old 04-30-03, 02:08 PM   #9
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Can you post the error messages you're seeing?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 05-01-03, 03:39 PM   #10
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default

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
pipes clangor is offline   Reply With Quote
Old 05-01-03, 03:40 PM   #11
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Please post the *entire* output.

What driver are you using?

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 05-02-03, 01:03 AM   #12
pipes clangor
Registered User
 
Join Date: Apr 2003
Posts: 12
Default

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:2186Each 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
pipes clangor is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
NVIDIA Drivers Receive Windows 8 Certification News Archived News Items 0 06-01-12 05:30 AM
Enhance Max Payne 3, Diablo III with GeForce R300 Drivers News Archived News Items 0 05-22-12 06:30 PM
Creative drivers ? SparrowHawk General Hardware 39 11-18-02 08:03 AM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM

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


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