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

Re: kernel 2.4.9



On Fri, 21 Sep 2001, Thadeu Penna wrote:

> make-kpkg on 2.4.9 (woody) returns:
> make all_targets
> make[4]: Entering directory /usr/src/kernel-source-2.4.9/drivers/char'
> gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.9/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
> -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5
> -Wa,-mev6    -c -o pc_keyb.o pc_keyb.c
> In file included from pc_keyb.c:36:
> /usr/src/kernel-source-2.4.9/include/asm/keyboard.h:25: warning: struct
> kbd_repeat' declared inside parameter list
> /usr/src/kernel-source-2.4.9/include/asm/keyboard.h:25: warning: its scope
> is only this definition or declaration, which is probably not what you want.
> pc_keyb.c:545: variable kbdrate' has initializer but incomplete type
> 
> Any clue??

Yep, this is a problem with the upstream kernel source.  Add:

#include <linux/kd.h>

in /usr/src/linux-2.4.9/drivers/char/pc_keyb.c at line 35.

If you need a patch, let me know...

C



Reply to: