View Single Post
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