Hello, I am trying to compile kernel 2.4.1 on a PowerMac 7300, but I get the following errors, all related to the keyboard. It is a standard ADB keyboard and I enabled all kernel options related to this. I have installed modutils 2.4.2.
I can edit the files and add a line #define CONFIG_ADB_KEYBOARD in drivers/input/keybdev.c (which seems to be a logical 'hack'). But examining arch/ppc/kernel/pmac_setup.c, I can not solve the errors that easily, so I comment the lines out and give equations the value 0. This makes the kernel compile succesfully, but after I booted up, the keyboard (suprise!) does not work. I have not found any patch for this. Is this a bug and should I submit it (and to where: to Debian?), or is this due to my own clumsyness and ignorance? $ make vmlinux keybdev.c: In function 'keybdev_event': keybdev.c:136: warning: implicit declaration of function 'emulate_raw' arch/ppc/kernel/kernel.o: In function 'pmac_init': arch/ppc/kernel/kernel.o(.text.init+0x2cd6): undefined reference to 'mac_hid_init_hw' arch/ppc/kernel/kernel.o(.text.init+0x2cda): undefined reference to 'mac_hid_kbd_translate' arch/ppc/kernel/kernel.o(.text.init+0x2cde): undefined reference to 'mac_hid_kbd_unexpected_up' arch/ppc/kernel/kernel.o(.text.init+0x2d52): undefined reference to 'mac_hid_init_hw' arch/ppc/kernel/kernel.o(.text.init+0x2d56): undefined reference to 'mac_hid_kbd_translate' arch/ppc/kernel/kernel.o(.text.init+0x2d5a): undefined reference to 'mac_hid_kbd_unexpected_up' drivers/input/inputdrv.o: In function 'keybdev_event': drivers/input/inputdrv.o(.text+0xba4): undefined reference to 'emulate_raw' drivers/input/inputdrv.o(.text+0xba4): relocation truncated to fut: R_PPC_REL24 emulate_raw Thanks in advance, Sebastiaan