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

kernel v2.4.9 fails to build on alpha



Some of you may have seen my problems on getting the 2.4.x kernels 
to run on my alpha.  Some of the earlier 2.4.x kernels would not boot 
after compiling.  The later kernels would build, boot, and run briefly.  
The failure mechanism is usually the de4x5 ethernet drivers.

But, I have always been able to build the kernels.  Now the 2.4.9 kernel
will not build on my alpha.  Has anyone build the 2.4.x kernels from a 
stock Debian/2.2 (potato) Alpha system ?  gcc 2.95.2 

Below is the error-message trail produced by the "make boot" tail.  This 
appears to be keyboard related.

.....

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
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/kernel-source-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'
make[3]: *** [pc_keyb.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.9/drivers/char'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.9/drivers/char'
make[1]: *** [_subdir_char] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.9/drivers'
make: *** [_dir_drivers] Error 2
-- 
James D. Freels, P.E._i, Ph.D.
Oak Ridge National Laboratory
freelsjd@ornl.gov - work
jdfreels@home.com - home



Reply to: