nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Help with compiling kernel/module (http://www.nvnews.net/vbulletin/showthread.php?t=18038)

ArchSatan 09-14-03 08:46 PM

Help with compiling kernel/module
Hi i just recently installed Red Hat 9. I have a biostar motherboard with the nforce2 chipset. I am having problems compiling the kernel. If i make it so the agpgart is including i get this error compiling it. If i make it as a module the kernel will compile fine, but the module will not. This is the error below.
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: structure has no member named `num_of_masks'
agpgart_be.c: At top level:
agpgart_be.c:680: warning: `agp_generic_insert_memory' defined but not used
agpgart_be.c:742: warning: `agp_generic_remove_memory' defined but not used
make[3]: *** [agpgart_be.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char/agp'
make[2]: *** [_modsubdir_agp] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/drivers'
make: *** [_mod_drivers] Error 2

Now do i need to actually compile the module? Or has it already been installed? I am running 2.4.20-8 kernel and had rebuilt the source rpm and patched the kernel as NVIDIA's instructions said. So if anyone has suggestions, it would be very much appreciated.

ArchSatan 09-14-03 10:40 PM

I read the forums and noticed something about it not working with red hat kernels, so i went and got the source for vanilla 2.4.20-9 and got the nvidia rpm for it , instead of rebuilding like i did before, and i get the exact same error :-(. Please if anybody has a suggestion i could really use it.

All times are GMT -5. The time now is 05:51 AM.

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