LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-14-2003, 06:02 AM   #1
PSIO
LQ Newbie
 
Registered: Jan 2003
Location: Belgium
Distribution: Red hat 8
Posts: 19

Rep: Reputation: 0
Nvidia geforce Red hat Linux 8


After 3 days of trying, my geforce 4 Ti4600 still isnt working.

I followed the following instructions (the one from membrax)
http://www.linuxquestions.org/questi...eforce+red+hat

but I always get errors,
first, how do I set the IGNORE_CC_MISMATCH
second,

when I get to the stage of rpmbuild -bb NVIDIA* i always get the error that he cant find "nvidia.o"

Does anyone know the answer

I also tried to install it with the tar.gz files didn't work either
also the IGNORE_CC_MISMATCH problem

please help

this is my kernel version: 2.4.18-19.8.0
 
Old 01-14-2003, 06:15 AM   #2
PSIO
LQ Newbie
 
Registered: Jan 2003
Location: Belgium
Distribution: Red hat 8
Posts: 19

Original Poster
Rep: Reputation: 0
This is the the last part of the output from : rpmbuild -bb NVIDIA*

+ RPMPATCH=
+ '[' 4 -le 3 -a 1 -le 0 -a -lt 4 ']'
/var/tmp/rpm-tmp.65311: line 31: [: too many arguments
+ make nvidia.o

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] Fout 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.65311
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-19.8.0
+ TARGET_KERNEL=2.4.18-19.8.0
+ '[' -d /lib/modules/2.4.18-19.8.0/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-19.8.0/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-19.8.0/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-19.8.0/kernel/drivers/video
install: cannot stat `nvidia.o': Onbekend bestand of map
error: Bad exit status from /var/tmp/rpm-tmp.65311 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.65311 (%install)
 
Old 01-14-2003, 07:55 AM   #3
asphyxiant
LQ Newbie
 
Registered: Jan 2003
Posts: 7

Rep: Reputation: 0
i had the same problem......when you download the drivers from the nvidia website, there's a pdf file that has all the documentation with it........this error is mentioned there. read that and what you'll probably hafta do is update your kernel so that your gcc version and the compiler your kernel was compiled with match. to check this (from the nvidia documentation), type 'gcc -v' at the prompt and note what output it gives. then type 'cat /proc/version' to see what version of the compiler it gives there.........if they don't match, then you've got that mismatch error. to fix that, just update the kernel and install the kernel headers when you update the kernel, coz the installation process uses them. do these two things, and things should work out.
keep it real hommies....
 
Old 01-14-2003, 09:39 AM   #4
PSIO
LQ Newbie
 
Registered: Jan 2003
Location: Belgium
Distribution: Red hat 8
Posts: 19

Original Poster
Rep: Reputation: 0
Unhappy

The mismatch problem is fixed but I still get the nvidia.o error
now the end of the output is:

nv.c:2586: dereferentie van pointer naar onvolledig type
nv.c: In function `nv_post_vblank':
nv.c:2603: `nvl' is hier niet gedeclareerd (eerste gebruik in deze functie)
nv.c:2603: parse-fout before ')' token
nv.c: In function `nv_agp_init':
nv.c:2661: warning: impliciete declaratie van functie `inter_module_get'
nv.c:2662: warning: impliciete declaratie van functie `inter_module_put'
nv.c: In function `nv_agp_translate_address':
nv.c:2743: parse-fout before ')' token
nv.c: In function `nv_start_rc_timer':
nv.c:2789: `nvl' is hier niet gedeclareerd (eerste gebruik in deze functie)
nv.c:2789: parse-fout before ')' token
nv.c:2799: `jiffies' is hier niet gedeclareerd (eerste gebruik in deze functie)
nv.c: In function `nv_stop_rc_timer':
nv.c:2810: `nvl' is hier niet gedeclareerd (eerste gebruik in deze functie)
nv.c:2810: parse-fout before ')' token
nv-linux.h: At top level:
nv-linux.h:280: opslaggrootte van `rc_timer' is onbekend
nv.c:144: opslaggrootte van `nv_fops' is onbekend
nv.c:1027: opslaggrootte van `nv_vm_ops' is onbekend
make: *** [nv.o] Fout 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.21690
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.18-19.8.0
+ TARGET_KERNEL=2.4.18-19.8.0
+ '[' -d /lib/modules/2.4.18-19.8.0/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.18-19.8.0/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-19.8.0/kernel/drivers/video
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.18-19.8.0/kernel/drivers/video
install: cannot stat `nvidia.o': Onbekend bestand of map
error: Bad exit status from /var/tmp/rpm-tmp.21690 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.21690 (%install)
 
Old 01-14-2003, 02:01 PM   #5
PSIO
LQ Newbie
 
Registered: Jan 2003
Location: Belgium
Distribution: Red hat 8
Posts: 19

Original Poster
Rep: Reputation: 0
Anyone?
 
  


Reply



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
Red Hat Enterprice Linux 4 and Nvidia Skunk2000 Red Hat 2 03-03-2005 07:45 PM
NVidia GeForce FX 5200 and Red Hat 7.2 jippps Linux - Hardware 2 01-20-2005 06:23 AM
Nvidia GeForce 2 MX - Install Red hedhat 9 javadudd Linux - Newbie 9 04-21-2004 10:33 AM
Red Hat 8.0 won't install with GeForce 4 Ti 4200 zentsang Linux - Newbie 2 10-08-2002 10:44 AM
Red Hat 7.1 and NVIDIA GeForce ther-a-pea Linux - Newbie 3 05-18-2001 06:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

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
Open Source Consulting | Domain Registration