Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
U2 Kernel Compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
Toady
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 161
Location: South Wales, UK

PostPosted: Tue Jan 18, 2005 3:45 pm    Post subject: U2 Kernel Compile Reply with quote

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
View user's profile Send private message
Toady
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 161
Location: South Wales, UK

PostPosted: Wed Jan 19, 2005 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Thu Jan 20, 2005 4:31 am    Post subject: Reply with quote

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
View user's profile Send private message
spam_
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jan 2004
Posts: 105
Location: /dev/null

PostPosted: Fri Jan 21, 2005 2:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum