|
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
|