View Single Post
Old 06-28-03, 01:43 PM   #1
vikool
Geforce4 Ti4200
 
Join Date: Oct 2002
Posts: 31
Default kernel compile error

i wonder if anyone has seen this before. When i recompile my kernel, after selecting, /dev/agpgart (AGP Support) as a module
my 'make modules' exits with the following error :

make -C agp modules
make[3]: Entering directory `/usr/src/linux-2.4.20-8/drivers/char/agp'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_fe -c -o agpgart_fe.o agpgart_fe.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from agpgart_fe.c:31:
/usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:132,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-8/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20-8/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=agpgart_be -DEXPORT_SYMTAB -c agpgart_be.c
In file included from /usr/src/linux-2.4.20-8/include/linux/prefetch.h:13,
from /usr/src/linux-2.4.20-8/include/linux/list.h:6,
from /usr/src/linux-2.4.20-8/include/linux/module.h:12,
from agpgart_be.c:34:
/usr/src/linux-2.4.20-8/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /usr/src/linux-2.4.20-8/include/linux/modversions.h:132,
from <command line>:1:
/usr/src/linux-2.4.20-8/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: structure has no member named `num_of_masks'
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

Any help would be appreciated.

thanks
vikool is offline   Reply With Quote