Re: Kernel build crapped out


Subject: Re: Kernel build crapped out
From: Martin Costabel (costabel@wanadoo.fr)
Date: Tue Oct 31 2000 - 00:33:27 MST


Eric Reischer wrote:
>
> I tried to build a kernel on my newly built cross-compiler this evening,
> and after about an hour of compiling the zImage, it gave the the following
> error:
>
> powerpc-unknown-linux-gnu-ld -T arch/ppc/mm/mm.o <blah blah blah on same
> command for about 11 lines)
> drivers/input/inputdrv.o: In function 'keybdev_event':
> drivers/input/inputdrv.o(.text+0x16bc): undefined reference to 'emulate_raw'
> drivers/input/inputdrv.o(.text+0x16bc): relocation truncated to fit:
> R_PPC_REL24 emulate_raw
> make: *** [vmlinux] Error 1
>
> Anybody know what I'm doing wrong; or if it's a bug, is there a patch?

You don't even say what kernel version you are trying to compile, and I
know nothing about cross-compiling, but I'll try a guess anyway:

Do you have "#define CONFIG_PPC 1" in your include/linux/autoconf.h? If
not, why not?

--
Martin



This archive was generated by hypermail 2a24 : Tue Oct 31 2000 - 01:41:09 MST