[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] kernel compile error (framebuffer support) "implicit declaration of function `io_remap_pfn_range'" in fbmem.c



I successfully solved the problem using this link:

http://forum.niosforum.com/forum/index.php?showtopic=5749

Just add this line to .../include/asm/pgtable.h

#define io_remap_pfn_range    remap_pfn_range


--- Islam Samir <islambio@xxxxxxxxx> wrote:

> Hello,
> 
> I got the following error during the compilation of
> the petalinux 2.6.2 kernel (with framebuffer support
> enabled):
> 
> drivers/video/fbmem.c: In function `fb_mmap':
> drivers/video/fbmem.c:1210: warning: implicit
> declaration of function `io_remap_pfn_range'
> ..
> ..
> ..
> ..
> LD      vmlinux
> drivers/built-in.o: In function `fb_mmap':
> drivers/built-in.o(.text+0x181c): undefined
> reference to `io_remap_pfn_range'
> make[1]: *** [vmlinux] Error 1
> 
> 
> Any ideas ???
>  
> 
> 
>  
> ---------------------------------
> Don't get soaked.  Take a quick peak at the forecast
> 
>  with theYahoo! Search weather shortcut.



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/