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: *** [agpgart_be.o] Error 1
make: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char/agp'
make: *** [_modsubdir_agp] Error 2
make: Leaving directory `/usr/src/linux-2.4.20-8/drivers/char'
make: *** [_modsubdir_char] Error 2
make: 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.