Re: Undefined reference in inputdrv.o on kernel compile
I solved this by turning off the Input core support. On recompile I got
another error with bbc.o which I solved by searching through the config
file for BBC and setting CONFIG_BBC_I2C to 'n'.
After this the kernel compiled, but there were still problems. On boot
up there are numerous unresolved symbols. When I use smbmount I get an
error saying that smbfs is not supported by the kernel even though I set
it to be compiled into the kernel:
ERROR: smbfs filesystem not supported by kernel
smbmnt failed: 255
I had these same problems earlier, but thought it was because I didn't
give make-kpkg the argument "--arch sparc". Unfortunately this hasn't
made any difference. If anyone has any suggestions please reply since
I've been struggling with this for a while and have been getting no
where. The smbfs problem is more critical than the unresolved symbols.
On Mon, 2003-06-09 at 16:07, mosher@ANDREWS.EDU wrote:
> I am trying to compile a 2.4.18 kernel for my Ultra 5 Sparc. Right now I am
> getting this error:
> drivers/input/inputdrv.o: In function `emulate_raw' :
> drivers/input/inputdrv.o(.text+0xaa0): undefined reference to `handle_scancode'
> drivers/input/inputdrv.o(.text+0xab0): undefined reference to `handle_scancode'
> drivers/input/inputdrv.o(.text+0xabc): undefined reference to `handle_scancode'
> drivers/input/inputdrv.o(.text+0xae8): undefined reference to `handle_scancode'
> drivers/input/inputdrv.o(.text+0xb38): undefined reference to `handle_scancode'
> drivers/input/inputdrv.o(.text+0xb4c): more undefined references to
> `handle_scancode' follow
> drivers/input/inputdrv.o: In function `keybdev_init':
> drivers/input/inputdrv.o(.text.init+0x7c): undefined reference to `kbd_ledfunc'
> drivers/input/inputdrv.o(.text.init+0x8c): undefined reference to `kbd_ledfunc'
> make: *** [vmlinux] Error 1
> make: Leaving directory `/usr/src/kernel-source-2.4.18'
> make: *** [stamp-build] Error 2
> I am using make-kpkg to build my kernel:
> make-kpkg --revision=paravel.1.0 --arch sparc kernel_image
> I'm not sure if the sparc kernel headers are being used, so this may be the
> problem. Although help specific to this problem would be appreciated, it would
> be better if someone could point me to comprehensive instructions for using
> make-kpkg to compile sparc kernels since I've run into numerous problems.
> Rob Mosher
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org