[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel build crapped out



Sorry about that.....I'm compiling a 2.4test9 kernel. And when I did the config, I issued the command:
make CROSS_COMPILE=powerpc-unknown-linux-gnu- ARCH=ppc config
which automatically put the CONFIG_PPC entry in the autoconf.h file.

Eric

At 02:33 AM 10/31/00 , Martin Costabel wrote:
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


--
To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: