当前位置: 技术问答>linux和unix
linux内核LCD驱动加载问题
来源: 互联网 发布时间:2017-04-18
本文导语: 我编写lcd驱动后,加载了cfbcopyarea.ko cfbimgblt.ko cfbfillrect.ko 三个模块,用lsmod命令显示模块也加载成功,如下 [root@haiyang /]# lsmod cfbfillrect 3544 0 - Live 0xbf006000 cfbimgblt 2556 0 - Live 0xbf003000 cfbcopyarea 3020 0 - Liv...
我编写lcd驱动后,加载了cfbcopyarea.ko cfbimgblt.ko cfbfillrect.ko 三个模块,用lsmod命令显示模块也加载成功,如下
[root@haiyang /]# lsmod
cfbfillrect 3544 0 - Live 0xbf006000
cfbimgblt 2556 0 - Live 0xbf003000
cfbcopyarea 3020 0 - Live 0xbf000000
但是为什么加载lcd驱动后会显示下面的问题呢?谢谢
[root@haiyang /]# insmod lib/modules/2.6.31/lcd.ko
lcd: no symbol version for cfb_copyarea
lcd: Unknown symbol cfb_copyarea
lcd: no symbol version for cfb_imageblit
lcd: Unknown symbol cfb_imageblit
lcd: no symbol version for cfb_fillrect
lcd: Unknown symbol cfb_fillrect
insmod: can't insert 'lib/modules/2.6.31/lcd.ko': unknown symbol in module or invalid parameter
[root@haiyang /]# lsmod
cfbfillrect 3544 0 - Live 0xbf006000
cfbimgblt 2556 0 - Live 0xbf003000
cfbcopyarea 3020 0 - Live 0xbf000000
但是为什么加载lcd驱动后会显示下面的问题呢?谢谢
[root@haiyang /]# insmod lib/modules/2.6.31/lcd.ko
lcd: no symbol version for cfb_copyarea
lcd: Unknown symbol cfb_copyarea
lcd: no symbol version for cfb_imageblit
lcd: Unknown symbol cfb_imageblit
lcd: no symbol version for cfb_fillrect
lcd: Unknown symbol cfb_fillrect
insmod: can't insert 'lib/modules/2.6.31/lcd.ko': unknown symbol in module or invalid parameter
|