View previous topic :: View next topic |
Author |
Message |
Toady Apprentice
Joined: 21 Dec 2004 Posts: 161 Location: South Wales, UK
|
Posted: Tue Jan 18, 2005 3:45 pm Post subject: U2 Kernel Compile |
|
|
Trying to compile 2.4.28 (Gentoo 2004.3 Stage 3 build) on a sun Ultra 2 and I keep getting this:
Code: | drivers/input/inputdrv.o(.text+0xc60): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcb8): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcc4): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xcd4): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xd1c): In function `emulate_raw':
: undefined reference to `handle_scancode'
drivers/input/inputdrv.o(.text+0xd34): more undefined references to `handle_scancode' follow
drivers/input/inputdrv.o(.text.init+0x98): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
drivers/input/inputdrv.o(.text.init+0xa0): In function `keybdev_init':
: undefined reference to `kbd_refresh_leds'
drivers/input/inputdrv.o(.text.init+0xa4): In function `keybdev_init':
: undefined reference to `kbd_ledfunc'
make: *** [vmlinux] Error 1
|
I have turned off everything non essential in the kernel and I still get it...
Ideas ?? I am stumped. _________________ Toady
Gentoo Laptop
3.1.10-gentoo-r1, Intel Core 2 Duo (32bit)
Gnome on the desk, Intel in the box, on-board everything, but it all works! |
|
Back to top |
|
|
Toady Apprentice
Joined: 21 Dec 2004 Posts: 161 Location: South Wales, UK
|
Posted: Wed Jan 19, 2005 11:16 am Post subject: |
|
|
I got the kernel to compile by removing all the options in
"Input core support"
I would have thought that this would leave me unable to use the keyboard.. but apparently not ?!
I checked the config on my Ultra 10 and this option is still enabled.
(the only difference is that the U10 is running 2.4.27 (with a single cpu) and the U2 is running 2.4.28 (SMP)
Well I have no idea but there it is. _________________ Toady
Gentoo Laptop
3.1.10-gentoo-r1, Intel Core 2 Duo (32bit)
Gnome on the desk, Intel in the box, on-board everything, but it all works! |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Thu Jan 20, 2005 4:31 am Post subject: |
|
|
Input core support is not required in the 2.4 series for a working keyboard, only 2.6. Input core support in 2.4 would be more for USB keyboards, mice or other input devices. |
|
Back to top |
|
|
spam_ Tux's lil' helper
Joined: 14 Jan 2004 Posts: 105 Location: /dev/null
|
Posted: Fri Jan 21, 2005 2:10 am Post subject: |
|
|
Toady wrote: | I got the kernel to compile by removing all the options in
"Input core support"
I would have thought that this would leave me unable to use the keyboard.. but apparently not ?!
I checked the config on my Ultra 10 and this option is still enabled.
(the only difference is that the U10 is running 2.4.27 (with a single cpu) and the U2 is running 2.4.28 (SMP)
Well I have no idea but there it is. |
The answer is that input core support (on sparc64 at least) seems to have a hidden dependency on PCI. Since the U10 is a PCI machine input core support compiles cleanly, on the U2 it doesn't. |
|
Back to top |
|
|
|