View Single Post
Old 09-14-03, 08:46 PM   #1
Registered User
Join Date: Sep 2003
Posts: 2
Default 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 is offline   Reply With Quote