本人新手,在linux2.6.31.1移植的时候编译器用4.3.3 编译出以下问题:
drivers/video/console/vgacon.c: In function 'vgacon_startup':
drivers/video/console/vgacon.c:509: error: 'PCIMEM_BASE' undeclared (first use
in this function)
drivers/video/console/vgacon.c:509: error: (Each undeclared identifier is
reported only once
drivers/video/console/vgacon.c:509: error: for each function it appears in.)
drivers/video/console/vgacon.c: In function 'vgacon_do_font_op':
drivers/video/console/vgacon.c:1067: error: 'PCIMEM_BASE' undeclared (first
use
in this function)
make[3]: *** [drivers/video/console/vgacon.o] Error 1
make[2]: *** [drivers/video/console] Error 2
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2