[uClinux-dev] Error when compiling with frame buffer option

Matthias Schoeldgen uclinux at schoeldgen.de
Thu Aug 22 17:22:07 EDT 2002


Hello Jean-Francois!
The video section in the kernel tree is not yet compatible with uClinux,
AFAIK. The problem is fbmem.c. There is a patched version available at
http://www.schoeldgen.de/robot/fbmem.c. This patch and the kernel build
modifications have not yet made it into the kernel. 
The above mentioned file replaces the file in the /drivers/video directory.
You should now be able to compile. The EPSON 1355 drivers possibly must
be modified according to your architecture, but it is a starting point.
If your arch is MC68EZ328, try the m68328fb.c driver from my site as
well. I am eagerly awaiting any comments (the file was downloaded a
hundred times or so) , but yet the comments refused to arrive :-) 

Have fun
matthias
 
Jean-Francois Mailloux wrote:
> 
> I just change the config.in of the video driver section to add a new lcd
> driver from epson. When I compiled I received the folowing error:
> 
> m68k-elf-gcc -fno-builtin -nostdinc -D__KERNEL__ -I/home/MAIJ10/uClinux-dist
> /linux-2.4.x/include  -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-fr
> ame-pointer -fno-strict-aliasing -fno-common -I/usr/local/lib/gcc-lib/m68k-e
> lf/2.95.3/./include -pipe -DNO_MM -DNO_FPU -m5307 -Wa,-S -Wa,-m5307 -D__ELF_
> _ -DMAGIC_ROM_PTR -DUTS_SYSNAME="uClinux" -D__linux__ -O1    -DEXPORT_SYMTAB
>  -c fbmem.c
> fbmem.c: In function `fb_mmap':
> fbmem.c:543: structure has no member named `vm_pgoff'
> fbmem.c:545: structure has no member named `vm_pgoff'
> fbmem.c:583: structure has no member named `vm_pgoff'
> fbmem.c:596: structure has no member named `vm_page_prot'
> fbmem.c:596: `_PAGE_NOCACHE030' undeclared (first use in this function)
> fbmem.c:596: (Each undeclared identifier is reported only once
> fbmem.c:596: for each function it appears in.)
> fbmem.c:598: structure has no member named `vm_page_prot'
> fbmem.c:598: `_CACHEMASK040' undeclared (first use in this function)
> fbmem.c:600: structure has no member named `vm_page_prot'
> fbmem.c:600: `_PAGE_NOCACHE_S' undeclared (first use in this function)
> fbmem.c:622: warning: implicit declaration of function `io_remap_page_range'
> fbmem.c:623: structure has no member named `vm_page_prot'
> make[4]: *** [fbmem.o] Error 1
> make[4]: Leaving directory
> `/home/MAIJ10/uClinux-dist/linux-2.4.x/drivers/video'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory
> `/home/MAIJ10/uClinux-dist/linux-2.4.x/drivers/video'
> make[2]: *** [_subdir_video] Error 2
> make[2]: Leaving directory `/home/MAIJ10/uClinux-dist/linux-2.4.x/drivers'
> make[1]: *** [_dir_drivers] Error 2
> make[1]: Leaving directory `/home/MAIJ10/uClinux-dist/linux-2.4.x'
> make: *** [linux] Error 1
> 
> Anybody know what is the mistake?
> 
> Jean-Francois Mailloux
> Concepteur electronique/
> Hardware designer
> MINDS INC.
> 1919 Lionel-Bertrand, suite 202
> Boisbriand, Qc
> J7H 1N8
> Tel:(450)437-1101
> Fax:(450)437-3898
> jfm at asphatech.com
> 
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list