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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-24-03, 06:11 AM   #1
asemblR
Registered User
 
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
Angry RE: RH Phoebe 8.0.94 Compile Errors!

Hello,
I've Patch the 1.0-4191 driver set with the 2.5/2.4 rmap patch from http://www.minion.de.
But IM still Getting Errors during Compile Time? What The Hell Do I Do?? I've tried Ever Thing That I Know
I Even Moved The "/lib/tls" dir to /lib/notls still Same Error. Can Someone Help Me Out A Little? Please

This is an Out put from tring to compile the drivers
----------------------------------------------------------
nv.c:1249:47: warning: pasting "(" and "vma" does not give a valid preprocessing token
nv.c: In function `nv_kern_mmap':
nv.c:1249: warning: passing arg 1 of `remap_page_range_R991eef6d' makes pointer
from integer without a cast
nv.c:1249: incompatible type for argument 4 of `remap_page_range_R991eef6d'
nv.c:1249: too few arguments to function `remap_page_range_R991eef6d'
nv.c:1269:47: warning: pasting "(" and "vma" does not give a valid preprocessing token
nv.c:1269: warning: passing arg 1 of `remap_page_range_R991eef6d' makes pointer
from integer without a cast
nv.c:1269: incompatible type for argument 4 of `remap_page_range_R991eef6d'
nv.c:1269: too few arguments to function `remap_page_range_R991eef6d'
nv.c:1353:69: warning: pasting "(" and "start" does not give a valid preprocessing token
nv.c:1353: warning: passing arg 1 of `remap_page_range_R991eef6d' makes pointer
from integer without a cast
nv.c:1353: incompatible type for argument 4 of `remap_page_range_R991eef6d'
nv.c:1353: too few arguments to function `remap_page_range_R991eef6d'
make: *** [nv.o] Error 1
--------------------------------------------------------

Thank You For Your Time ;-]
__________________
--==## Who Frags Ya Baby? ##==--
asemblR is offline   Reply With Quote
Old 02-24-03, 09:00 AM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

Was that patch specifically for RH 8.0.94's kernel? It is entirely possible that that patch makes the nVidia driver compile under an older Phoebe beta, but not the current one.

In other words, RedHat very likely changed their kernel interfaces again, so you need another patch. But I don't use RH, so I don't know for sure.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 02-24-03, 09:01 AM   #3
ppieti
Registered User
 
Join Date: Feb 2003
Posts: 8
Default

Oh right, there was a missing step in my HOWTO, in nv-linux.h you'll need to use the
definition of REMAP_PAGE_RANGE that's inside
#ifdef KERNEL_2.5, that is

# define REMAP_PAGE_RANGE(a...) remap_page_range(vma, ## a)

instead of

# define REMAP_PAGE_RANGE(a...) remap_page_range(## a)

Should work (tm)
ppieti is offline   Reply With Quote
Old 02-25-03, 05:13 PM   #4
asemblR
Registered User
 
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
Default

Thanks Guys!! You Two Guys Are Nvidia Guru's
and ppieti You Should be Working For The Old Man in San Jose
(Mt. View) Where in the Hell Did You Learn so Much about "Linus's Kernel and Nvidia's Propreitary Code?"
You Both Amaze me with Your Tack and Poise Dealing With People
Who Just Yell Out "Gimme!" and "I Want!" :-]
I'll Have To Reinstall 8.0.94 on My Other Game Server Box Tonight When I Get Off of Work? I'll Deffinantly Let You Guys Know The results of The New Compile and Your Right I Don't Think That The "Patch" That IM Using Is For RH 8.0.94????
__________________
--==## Who Frags Ya Baby? ##==--
asemblR is offline   Reply With Quote
Old 02-26-03, 06:51 PM   #5
asemblR
Registered User
 
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
Default Heres The Error !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Well That Did'nt Work and The Extra Thing about
The Part in The "nv-linux.h" file is not even There!
So, RedHat Deffenately Changed Something inthere???
Any Help Would Be appriciated

Heres The Error !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
--------------------------------------------------------------
[root@mothership NVIDIA_kernel-1.0-4191]# make
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES
-DKBUILD_MODNAME="nvidia" -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/lib/modules/2.4.20-2.48/build/include -I/lib/modules/2.4.20-2.48/build/include/asm/mach-default -Wno-cast-qual nv.c
nv.c:1249:47: warning: pasting "(" and "vma" does not give a valid preprocessing token
nv.c: In function `nv_kern_mmap':
nv.c:1249: warning: passing arg 1 of `remap_page_range_Rd1588673' makes pointer from integer without a cast
nv.c:1249: incompatible type for argument 4 of `remap_page_range_Rd1588673'
nv.c:1249: too few arguments to function `remap_page_range_Rd1588673'
nv.c:1269:47: warning: pasting "(" and "vma" does not give a valid preprocessing token
nv.c:1269: warning: passing arg 1 of `remap_page_range_Rd1588673' makes pointer from integer without a cast
nv.c:1269: incompatible type for argument 4 of `remap_page_range_Rd1588673'
nv.c:1269: too few arguments to function `remap_page_range_Rd1588673'
nv.c:1353:69: warning: pasting "(" and "start" does not give a valid preprocessing token
nv.c:1353: warning: passing arg 1 of `remap_page_range_Rd1588673' makes pointer from integer without a cast
nv.c:1353: incompatible type for argument 4 of `remap_page_range_Rd1588673'
nv.c:1353: too few arguments to function `remap_page_range_Rd1588673'
make: *** [nv.o] Error 1
__________________
--==## Who Frags Ya Baby? ##==--
asemblR is offline   Reply With Quote
Old 02-26-03, 07:49 PM   #6
ppieti
Registered User
 
Join Date: Feb 2003
Posts: 8
Default

Umn, the KERNEL_2_5 stuff is from the minion.de patch, first put that in, and then tweak nv-linux.h
ppieti is offline   Reply With Quote
Old 02-26-03, 11:28 PM   #7
rebus
Registered User
 
Join Date: Feb 2003
Location: Prague, Czech Rep.
Posts: 8
Thumbs up

Hello guys,
thanks for hints. It worked for me (RedHat Phoebe-3 8.0.94).

For those who still have no rpm here are patches and spec files for Phoebe-3.

http://rebus.webz.cz
rebus is offline   Reply With Quote
Old 02-27-03, 03:23 PM   #8
asemblR
Registered User
 
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
Default

Thanks Rebus

Worked Pretty F@cking Killer!!!!!!!!!
My Hats Off To All of You Guys That Took The Time To Help Out A Stranger in need

Here's The Out Put From "glxinfo"
-----------------------------------------------------------

for Some Reason I Couldnt Paste it so Here's a txt output of it
Thanks Again
Urban Terror ,Unreal Tournament 2003 and Trbes 2 Are Playing Again!!!!!!!!!!!
Attached Files
File Type: txt glxinfo.txt (4.4 KB, 155 views)
__________________
--==## Who Frags Ya Baby? ##==--
asemblR 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
Graphic errors and hangs after standby reini122 NVIDIA Linux 4 05-07-12 04:37 AM
Graphical errors: broken card? lapino NVIDIA GeForce 7, 8, And 9 Series 0 05-03-12 02:20 PM
Compiling Errors In Debian Scorched NVIDIA Linux 14 09-26-02 12:02 PM
Nvidia drivers won't compile with Slackware 8.0 z28Power NVIDIA Linux 6 09-18-02 07:20 PM
Getting bizarre errors with driver install clutch NVIDIA Linux 1 09-14-02 10:53 PM

All times are GMT -5. The time now is 09:30 AM.


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