When trying to compile mm-sources-2.5.68-r1 with matroxfb enabled the following error occurs during make bzImage: In file included from drivers/video/matrox/matroxfb_base.c:105: drivers/video/matrox/matroxfb_base.h:52:25: video/fbcon.h: No such file or directory drivers/video/matrox/matroxfb_base.h:53:30: video/fbcon-cfb4.h: No such file or directory drivers/video/matrox/matroxfb_base.h:54:30: video/fbcon-cfb8.h: No such file or directory drivers/video/matrox/matroxfb_base.h:55:31: video/fbcon-cfb16.h: No such file or directory drivers/video/matrox/matroxfb_base.h:56:31: video/fbcon-cfb24.h: No such file or directory drivers/video/matrox/matroxfb_base.h:57:31: video/fbcon-cfb32.h: No such file or directory In file included from drivers/video/matrox/matroxfb_base.c:105: drivers/video/matrox/matroxfb_base.h:341: warning: `struct display' declared inside parameter list drivers/video/matrox/matroxfb_base.h:341: warning: its scope is only this definition or declaration, which is probably not what you want drivers/video/matrox/matroxfb_base.h:342: warning: `struct display' declared inside parameter list drivers/video/matrox/matroxfb_base.h:558: field `dispsw' has incomplete type drivers/video/matrox/matroxfb_misc.h:11: confused by earlier errors, bailing out make[3]: *** [drivers/video/matrox/matroxfb_base.o] Error 1 make[2]: *** [drivers/video/matrox] Error 2 make[1]: *** [drivers/video] Error 2 make: *** [drivers] Error 2 Reproducible: Always Steps to Reproduce:
Created attachment 10938 [details] Kernel config that produced the error
mm-sources is not patched nor maintained by gentoo. reports bugs to the linux kernel mailing list.