Re: Alpha pc_keyb.c compile broken in 2.4.9-pre3

Jeff Garzik (jgarzik@mandrakesoft.com)
Fri, 17 Aug 2001 16:17:36 -0500 (CDT)


On Wed, 15 Aug 2001, Donald Maner wrote:

> gcc -D__KERNEL__ -I/home/donjr/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mno-fp-regs -ffixed-8 -mcpu=pca56 -Wa,-mev6 -DEXPORT_SYMTAB -c
> keyboard.c
> In file included from keyboard.c:36:
> /home/donjr/linux/include/asm/keyboard.h:25: warning: `struct
> kbd_repeat' declared inside parameter list
> /home/donjr/linux/include/asm/keyboard.h:25: warning: its scope is only
> this definition or declaration, which is probably not what you want.
> gcc -D__KERNEL__ -I/home/donjr/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mno-fp-regs -ffixed-8 -mcpu=pca56 -Wa,-mev6 -c -o defkeymap.o
> defkeymap.c
> gcc -D__KERNEL__ -I/home/donjr/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -pipe -mno-fp-regs -ffixed-8 -mcpu=pca56 -Wa,-mev6 -c -o pc_keyb.o
> pc_keyb.c
[...]

Look at the #includes immediately following #ifdef __KERNEL__ in
include/asm-i386/keyboard.h, and copy them into
include/asm-alpha/keyboard.h.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/