2008-08-24 23:32:10     which header file does the functiion framebuffer_alloc() locates

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-08-24 23:32:10     which header file does the functiion framebuffer_alloc() locates

Pafone Lee (CHINA)

Message: 60965   

 

hi ,

 

i am implanting the bf54x-lq043fb.c driver for my custom BF533 board , but when i try installing the module , it failed .

 

error msg shows as below:

 

root:/pafone> insmod bf54x-lq043fb.ko                                         

bf54x_lq043fb: Unknown symbol _framebuffer_release                            

bf54x_lq043fb: Unknown symbol _cfb_imageblit                                  

bf54x_lq043fb: Unknown symbol _framebuffer_alloc                              

bf54x_lq043fb: Unknown symbol _cfb_copyarea                                   

bf54x_lq043fb: Unknown symbol _cfb_fillrect                                   

bf54x_lq043fb: Unknown symbol _fb_alloc_cmap                                  

bf54x_lq043fb: Unknown symbol _register_framebuffer                           

bf54x_lq043fb: Unknown symbol _fb_dealloc_cmap                                

bf54x_lq043fb: Unknown symbol _unregister_framebuffer                         

insmod: cannot insert 'bf54x-lq043fb.ko': Unknown symbol in module (-1): No sucy

root:/pafone> lsmod

 

 

what's the problem, i have include all the header files by copy from the original driver file bf54x-lq043fb.c

TranslateQuoteReplyEditDelete

 

 

2008-08-25 05:34:11     Re: which header file does the functiion framebuffer_alloc() locates

Yi Li (CHINA)

Message: 61006   

 

This is a runtime error, not compile time - it means including correct header cannot solve your problem. Please try to configure you kernel properly and build the necessary part into kernel.  (CONFIG_FB ?)

QuoteReplyEditDelete

 

 

2008-08-25 12:32:53     Re: which header file does the functiion framebuffer_alloc() locates

Mike Frysinger (UNITED STATES)

Message: 61031   

 

you either need to load the dependent modules (like Yi says) by hand, or use `modprobe` instead of `insmod`

QuoteReplyEditDelete

 

 

2008-08-25 19:59:53     re: which header file does the functiion framebuffer_alloc() locates

Pafone Lee (CHINA)

Message: 61044   

 

thank Yi & Mike, i didn't configured the kernel right .

 

the problem resolved after i configured the kernel to support the framebuffer

Attachments

    Outcomes