CC drivers/video/console/vgacon.o drivers/video/console/vgacon.c: In function 'vgacon_startup': drivers/video/console/vgacon.c:489: error: 'PCIMEM_BASE' undeclared (first use in this function) drivers/video/console/vgacon.c:489: error: (Each undeclared identifier is reported only once drivers/video/console/vgacon.c:489: error: for each function it appears in.) drivers/video/console/vgacon.c: In function 'vgacon_do_font_op': drivers/video/console/vgacon.c:1047: error: 'PCIMEM_BASE' undeclared (first use in this function) make[3]: *** [drivers/video/console/vgacon.o] 错误 1 make[2]: *** [drivers/video/console] 错误 2 make[1]: *** [drivers/video] 错误 2 make: *** [drivers] 错误 2 [root@localhost linux-2.6.22.6]#
——————————————————————————————————————————————
出现的问题[drivers/video/console/vgacon.o] error 1
drivers/video/console/vgacon.o:987:warning:comparison is always true due to limited range of data type make[3]:***[drivers/video/console/vgacon.o] error 1 make[2]:***[drivers/video/console2] error 2 make[1]:***[drivers/video1] error 2 make:***[drivers] error 2 解决办法:
在make menuconfig 时 Graphics support -> console display driver support-> vga text console(不选这个)