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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-13-03, 08:21 PM   #1
TRON21Net
Registered User
 
Join Date: Mar 2003
Location: Nashville, TN, USA
Posts: 26
Angry Cannot successfully compile drivers

Alright here goes, I download the source RPM file and I su as root then I proform the command rpmbuild <file.rpm> --rebuild then I get a lot of compiling messages then out of no where warning messages start showing up and then gcc dies with:

Quote:
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes
-O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functi
ons=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux
/modversions.h -c -o nvspdif.o nvspdif.c
cc -D__KERNEL__ -I/lib/modules/2.4.20-8/build/include -Wall -Wstrict-prototypes
-O -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functi
ons=4 -DMODULE -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux
/modversions.h -c -o nvcrush.o nvcrush.c
nvcrush.c: In function `Nvaudio_mmapwrite':
nvcrush.c:426: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poin
ter from integer without a cast
nvcrush.c:426: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:426: too few arguments to function `remap_page_range_R2baf18f2'
nvcrush.c: In function `Nvaudio_mmap':
nvcrush.c:465: warning: passing arg 1 of `remap_page_range_R2baf18f2' makes poin
ter from integer without a cast
nvcrush.c:465: incompatible type for argument 4 of `remap_page_range_R2baf18f2'
nvcrush.c:465: too few arguments to function `remap_page_range_R2baf18f2'
make[2]: *** [nvcrush.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvaudio'
make: *** [nvaudio_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.55443 (%build)
Talk about suckage.... So nvidia developers made a typo in their code or what?
__________________
--TRON

Last edited by TRON21Net; 05-14-03 at 07:18 PM.
TRON21Net is offline   Reply With Quote
Old 05-14-03, 08:20 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I see this is RH9 (at least, according to the kernel being used...), and you're trying to compile the nForce audio driver (as opposed to, say, the nVidia video driver).

I believe there are issues with nForce and RH9. The error you're getting looks to be some problem with remap_page_range, which RH changed in RH9's kernel (they backported a lot of kernel 2.5's features).

Which nForce driver is this? If it's not 256, try 256 (which I believe is the latest). If it is 256, then ... I'm not sure. Either wait for the nVidia developers to fix it, or look for binaries for RH9, or something.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-14-03, 11:31 AM   #3
TRON21Net
Registered User
 
Join Date: Mar 2003
Location: Nashville, TN, USA
Posts: 26
Default

Yes this is Redhat 9 I am using and I also recevied the same errors with Redhat 8, so I upgraded thinking it would solve the problem, nope... Get the same thing. I use to use the second released update kernel RH released before the latest for RH8. The main reason I never did use the RH8 latest kernel updates simply because it never worked. I couldn't even recompile that kernel all the way thanks to Redhat developers' way of compiling isn't documented nor the way it should be. What a complete mess. Well the good news is I'm getting away from Redhat and going on to bigger and better things since I'm tired of Redhat's bull crap with how they do everything so differently causing incompatiblity. Also I know I posted this in the Graphics drivers section since it is related in the fact that the kernel drivers are required in order to install the graphics drivers.
__________________
--TRON
TRON21Net 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
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 drivers won't compile with Slackware 8.0 z28Power NVIDIA Linux 6 09-18-02 06:20 PM
Nvidia Stereo Drivers Soudontsay NVIDIA Windows Graphics Drivers 2 08-26-02 10:48 AM
Reinstalling nVidia Drivers after a kernel compile Rukkh NVIDIA Linux 5 08-22-02 01:29 AM

All times are GMT -5. The time now is 07:39 AM.


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