|
|
#1 | |
|
Registered User
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
|
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? ##==-- |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Sep 2002
Posts: 2,262
|
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 |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Feb 2003
Posts: 8
|
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) |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
|
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? ##==-- |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
|
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? ##==-- |
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Feb 2003
Posts: 8
|
Umn, the KERNEL_2_5 stuff is from the minion.de patch, first put that in, and then tweak nv-linux.h
![]() |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Feb 2003
Location: Prague, Czech Rep.
Posts: 8
|
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 |
|
|
|
|
|
#8 |
|
Registered User
Join Date: Feb 2003
Location: Planet Earth
Posts: 7
|
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!!!!!!!!!!!
__________________
--==## Who Frags Ya Baby? ##==-- |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic errors and hangs after standby | reini122 | NVIDIA Linux | 4 | 05-07-12 03:37 AM |
| Graphical errors: broken card? | lapino | NVIDIA GeForce 7, 8, And 9 Series | 0 | 05-03-12 01:20 PM |
| Compiling Errors In Debian | Scorched | NVIDIA Linux | 14 | 09-26-02 11:02 AM |
| Nvidia drivers won't compile with Slackware 8.0 | z28Power | NVIDIA Linux | 6 | 09-18-02 06:20 PM |
| Getting bizarre errors with driver install | clutch | NVIDIA Linux | 1 | 09-14-02 09:53 PM |