yaffs2根文件系统的制作安装(附:出现的问题[drivers/video/console/vgacon.o] error 1)

——————————————————

(一)根文件系统的安装问答

——————————————————

1.首先要编译成一个文件系统

2.是不是我那个内核有问题?重做一个试试看(反正当成生成内核映像的复习)。

3.yaffs2文件系统的制作

问4:解压缩后,什么也不出来了。

答:



——————————————————

(二)出现的问题

[drivers/video/console/vgacon.o] error 1
[drivers/video/console] Error 2
[drivers/video]Error 2

——————————————————

drivers/video/console/vgacon.c: In function 'vgacon_startup':...

当我们都配置好以后执行make uImage时,出现了以下的错误信息,根据信息的大概意思是关于vga的支持问题,在这里我直接把关于vga的配置选项去掉不选

Device Drivers

      ---->Graphics support

              ----->Console display driver support

            ----->VGA text Console(这个选项不选就能解决此问题)

CC      drivers/video/console/dummycon.o

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(不选这个)

 









  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值