2.4.9 pc_keyb.c compile fails with gcc 3.0 on alpha

From: Tom Holroyd (tomh@po.crl.go.jp)
Date: Tue Aug 21 2001 - 21:04:44 EST


In file included from pc_keyb.c:36:
/usr/src/linux-2.4.9/include/asm/keyboard.h:25: warning: `struct
kbd_repeat' declared inside parameter list
/usr/src/linux-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
pc_keyb.c:546: warning: excess elements in struct initializer
pc_keyb.c:546: warning: (near initialization for `kbdrate')
pc_keyb.c:548: warning: excess elements in struct initializer
pc_keyb.c:548: warning: (near initialization for `kbdrate')
pc_keyb.c: In function `parse_kbd_rate':
pc_keyb.c:574: dereferencing pointer to incomplete type
pc_keyb.c:575: dereferencing pointer to incomplete type
pc_keyb.c:575: invalid use of undefined type `struct kbd_repeat'
pc_keyb.c:576: dereferencing pointer to incomplete type
pc_keyb.c:577: dereferencing pointer to incomplete type
pc_keyb.c:577: invalid use of undefined type `struct kbd_repeat'
pc_keyb.c:579: dereferencing pointer to incomplete type
pc_keyb.c:585: dereferencing pointer to incomplete type
pc_keyb.c:590: dereferencing pointer to incomplete type
pc_keyb.c:591: dereferencing pointer to incomplete type
pc_keyb.c: At top level:
pc_keyb.c:606: conflicting types for `pckbd_rate'
/usr/src/linux-2.4.9/include/asm/keyboard.h:25: previous declaration of
`pckbd_rate'
pc_keyb.c: In function `pckbd_rate':
pc_keyb.c:611: storage size of `old_rep' isn't known
pc_keyb.c:612: sizeof applied to an incomplete type
pc_keyb.c:614: sizeof applied to an incomplete type
pc_keyb.c:615: sizeof applied to an incomplete type
pc_keyb.c:611: warning: unused variable `old_rep'
pc_keyb.c: At top level:
pc_keyb.c:545: storage size of `kbdrate' isn't known
make[3]: *** [pc_keyb.o] Error 1

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



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:47 EST