LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2003, 02:41 PM   #1
jin.liu
LQ Newbie
 
Registered: May 2003
Posts: 17

Rep: Reputation: 0
About NVIDIA on Fedora test2 !!


who succeed in installing NVIDIA driver on Fedora test2 (severn)?
I failed,--------
Can you help me ?
It seems say that is gcc's problem,why???
HELP!
 
Old 10-04-2003, 05:07 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
what is the exact error your getting, if possible to show us? and since you mention gcc, do you have it installed?
 
Old 10-04-2003, 10:23 PM   #3
jin.liu
LQ Newbie
 
Registered: May 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Yes ,I have installed gcc,exactly 2 version gcc in Fedora test2.
one is gcc 3.3.1 ,the other is gcc 3.2.
And the installing log is :
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 5 03:14:56 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel include path: '/lib/modules/2.4.22-1.2061.nptl/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-1.
2061.nptl/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.

*** Failed cc sanity check. Bailing out! ***
make: *** [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.
 
Old 10-05-2003, 11:51 AM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
um, well....did you do what it says?
export IGNORE_CC_MISMATCH=yes ?
if not, then type that in, and retry...
 
Old 10-07-2003, 12:26 AM   #5
jin.liu
LQ Newbie
 
Registered: May 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Thank you ,DrOzz.
I have succeded in installing it.My steps is following:
sh NVIDIA-Linux-x86-1.0-4496-pkg2.run --extract-only
get a directory:
NVIDIA-Linux-x86-1.0-4496-pkg2
cd NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/
vi Makefile
add a line :
IGNORE_CC_MISMATCH=1
then return directory NVIDIA-Linux-x86-1.0-4496-pkg2
run:
./nvidia-installer
It's OK!
 
Old 10-07-2003, 06:50 AM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
sweet d00d, glad it helped...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC4 test2 RottenMutt Fedora 1 05-05-2005 12:19 PM
Dell 510m and Fedora Core 3 test2 (DVD) Dark Carnival Linux - Laptop and Netbook 1 09-23-2004 04:58 PM
Anyone use apt to upgrade to Fedora Core 2 test2 robojerk Fedora 8 04-10-2004 01:20 AM
Fedora Core 2 test2 and ATI 3.7.6 drivers TCUmax Linux - Hardware 0 03-31-2004 03:34 PM
2.6.0-test2 doesn't boot raylpc Linux - General 11 08-02-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration