主题 : linux内核移植出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 68195
精华: 0
发帖: 13
金钱: 65 两
威望: 13 点
综合积分: 26 分
注册时间: 2012-04-19
最后登录: 2012-09-21
楼主  发表于: 2012-09-08 16:28

 linux内核移植出错

本人新手,在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