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

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-17-03, 12:41 AM   #1
2kgtstang
Registered User
 
Join Date: Apr 2003
Posts: 3
Unhappy rpmbuild of nvidia_kernel package

I'm trying my damnedest to build the kernel driver from the source 2880 package using rpmbuild --rebuild. Here is the output I'm getting:

+ make NVdriver
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 -D_X86=1 -Di386=1 -DUNIX -DLINUX -DNV4_HW -DNTRM -DRM20 -D_GNU_SOURCE -DRM_HEAPMGR -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=2880 -I. -I/lib/modules/2.4.20-9smp/build/include -Wno-cast-qual nv.c
In file included from /lib/modules/2.4.20-9smp/build/include/linux/vmalloc.h:8,
from nv-linux.h:29,
from nv.c:27:
/lib/modules/2.4.20-9smp/build/include/linux/highmem.h: In function `bh_kmap':
/lib/modules/2.4.20-9smp/build/include/linux/highmem.h:20: warning: pointer of type `void *' used in arithmetic
nv.c: In function `nv_kern_mmap':
nv.c:1390: warning: passing arg 1 of `remap_page_range_Rsmp_d8cd9cb2' makes pointer from integer without a cast
nv.c:1390: incompatible type for argument 4 of `remap_page_range_Rsmp_d8cd9cb2'
nv.c:1390: too few arguments to function `remap_page_range_Rsmp_d8cd9cb2'
nv.c:1407: warning: passing arg 1 of `remap_page_range_Rsmp_d8cd9cb2' makes pointer from integer without a cast
nv.c:1407: incompatible type for argument 4 of `remap_page_range_Rsmp_d8cd9cb2'
nv.c:1407: too few arguments to function `remap_page_range_Rsmp_d8cd9cb2'
nv.c:1438: warning: passing arg 1 of `remap_page_range_Rsmp_d8cd9cb2' makes pointer from integer without a cast
nv.c:1438: incompatible type for argument 4 of `remap_page_range_Rsmp_d8cd9cb2'
nv.c:1438: too few arguments to function `remap_page_range_Rsmp_d8cd9cb2'
nv.c: In function `nv_get_phys_address':
nv.c:2265: warning: implicit declaration of function `pte_offset'
nv.c:2265: warning: assignment makes pointer from integer without a cast
make: *** [nv.o] Error 1

It fails building NVdriver, so consequentially the install -m 0444 NVdriver step fails...

Am I missing something? Any help would be greatly appreciated. I'm running kernel 2.4.20-9smp and the appropriate kernel-source.

Thanks in advance!!!
2kgtstang is offline   Reply With Quote
Old 04-17-03, 01:39 AM   #2
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Only 1.0-4349 will work on RedHat 9. Please visit http://www.nvidia.com/view.asp?IO=li..._ia32_1.0-4349 to download a driver.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-18-03, 01:36 AM   #3
2kgtstang
Registered User
 
Join Date: Apr 2003
Posts: 3
Default That's all?

That includes the kernel and glx drivers, both?
2kgtstang is offline   Reply With Quote
Old 04-18-03, 01:39 AM   #4
Andy Mecham
l33t master
 
Join Date: Jul 2002
Location: Santa Clara, CA
Posts: 1,163
Default

Yes.

--andy
__________________
Andy Mecham
NVIDIA Corporation
Andy Mecham is offline   Reply With Quote
Old 04-21-03, 10:14 PM   #5
2kgtstang
Registered User
 
Join Date: Apr 2003
Posts: 3
Default Works like a charm!

Thank you!!!
2kgtstang 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


All times are GMT -5. The time now is 06:12 AM.


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