From: dave g. <giv...@ya...> - 2004-08-19 21:37:09
|
I am trying to get multiple independent framebuffer support. Apparently, that is only available in a patch to the 2.5 kernel series. I downloaded the source for the 2.5.59 kernel and checked out the contents of ruby/linux from the linuxconsole CVS tree. I am compiling using gcc 3.2.2 on Redhat9 on an i686. When I tried to compile it, I got this error (below). I tried removing -Wall from the Makefile, but the error remained. Perhaps I am compiling the wrong kernel or didn't patch it with the correct files? How can I fix this compile error or compile something else to get multiple framebuffer support? Is it possible to get multiple framebuffer support for a 2.6 series kernel? :) The Error message: gcc -Wp,-MD,drivers/char/.selection.o.d -D__KERNEL__ -Iinclude -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=selection -DKBUILD_MODNAME=selection -DEXPORT_SYMTAB -c -o drivers/char/selection.o drivers/char/selection.c In file included from include/linux/vt_kern.h:11, from drivers/char/selection.c:23: include/linux/kbd_kern.h:78: warning: `struct vc_data' declared inside parameter list include/linux/kbd_kern.h:78: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/kbd_kern.h:79: warning: `struct vc_data' declared inside parameter list gcc -Wp,-MD,drivers/char/.keyboard.o.d -D__KERNEL__ -Iinclude -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include -DKBUILD_BASENAME=keyboard -DKBUILD_MODNAME=keyboard -DEXPORT_SYMTAB -c -o drivers/char/keyboard.o drivers/char/keyboard.c In file included from include/linux/vt_kern.h:11, from drivers/char/keyboard.c:39: include/linux/kbd_kern.h:78: warning: `struct vc_data' declared inside parameter list include/linux/kbd_kern.h:78: warning: its scope is only this definition or declaration, which is probably not what you want include/linux/kbd_kern.h:79: warning: `struct vc_data' declared inside parameter list drivers/char/keyboard.c:784: conflicting types for `getledstate' include/linux/kbd_kern.h:78: previous declaration of `getledstate' drivers/char/keyboard.c: In function `getledstate': drivers/char/keyboard.c:785: structure has no member named `vc_ledstate' drivers/char/keyboard.c: At top level: drivers/char/keyboard.c:789: conflicting types for `setledstate' include/linux/kbd_kern.h:79: previous declaration of `setledstate' drivers/char/keyboard.c: In function `setledstate': drivers/char/keyboard.c:791: structure has no member named `vc_ledioctl' drivers/char/keyboard.c: In function `getleds': drivers/char/keyboard.c:816: structure has no member named `vc_ledioctl' drivers/char/keyboard.c: In function `kbd_bh': drivers/char/keyboard.c:858: structure has no member named `vc_ledstate' drivers/char/keyboard.c:863: structure has no member named `vc_ledstate' make[2]: *** [drivers/char/keyboard.o] Error 1 make[1]: *** [drivers/char] Error 2 make: *** [drivers] Error 2 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Zoltan B. <zb...@fr...> - 2004-08-20 05:58:17
Attachments:
ruby-2.6.7.patch.gz
|
Hi, dave giffin =EDrta: > I am trying to get multiple independent framebuffer > support. Apparently, that is only available in a patch > to the 2.5 kernel series. >=20 > I downloaded the source for the 2.5.59 kernel and > checked out the contents of ruby/linux from the > linuxconsole CVS tree. The presently the Ruby(-2.6) tree is against 2.6.7. Please download http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.7.tar.bz2 untar it somewhere and do a (cd /where you cheched out the ruby-tree/ruby/ruby-2.6 ; tar cvf - .) \ | (cd /where you unpacked the kernel src/linux-2.6.7 | tar xf -) Or use the attached patch that was made with the same procedure. Now try again to configure and compile your kernel. Best regards, Zolt=E1n B=F6sz=F6rm=E9nyi |
From: Aivils <ai...@un...> - 2004-08-23 07:52:26
|
On Friday 20 August 2004 00:36, dave giffin wrote: > I am trying to get multiple independent framebuffer > support. Apparently, that is only available in a patch > to the 2.5 kernel series. All linuxconsole project administrators are retired. So web space and CVS is lightly useless :) Do You think about, James? Aivils |