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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-28-03, 12: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
Old 06-28-03, 04:21 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default Re: kernel compile error

No, I haven't seen it before, but I'll take a shot anyway.

Quote:
Originally posted by vikool
agpgart_be.c: In function `nvidia_generic_setup':
agpgart_be.c:4347: structure has no member named `num_of_masks'
I assume you've tried turning off AGPGART, and if you do that, you don't get this error, right?

Where did you get this kernel, 2.4.20-8, from?

If you look at agpgart_be.c, on line 4347, what does it say?

How is the agp_bridge_data struct defined, in the drivers/char/agp/agp.h file? Does it have a num_of_masks member according to that file?

You didn't patch your kernel before compiling it, did you? If you did, where'd you get the patch? (because in my 2.4.20 tree, the num_of_masks member is there, but in my 2.4.21, it's gone -- that, plus the fact that this is an nvidia initializing function (for the nForce AGP, I'd assume), makes me think you or RedHat applied the 2.4.20 nForce AGP patch against their not-close-enough-to-2.4.20 kernel).
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 09-23-03, 08:19 PM   #3
boeckelr
Registered User
 
Join Date: Sep 2003
Posts: 6
Default

bwkaz,

did you ever figure out how to fix this problem?

this is the exact same thing that happened to me.

btw kernel 2.4.20-8 is what the install gave me. i havent done anything to it.

so does anyone know what bwkaz did wrong, and how to do it right? if so i am a newbie w/linux.

thanks,
mike
boeckelr 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
295.40 295 cannot be compiled on 3.2 kernel delta32 NVIDIA Linux 4 05-27-12 09:47 PM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM

All times are GMT -5. The time now is 08:09 AM.


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