Hi all, i want to compile 2.4 on my PReP (Motorola Powerstack) in order to get framebuffer support for the builtin CLGD-5434 so that I can run X.
First there is an error in the headers: <asm/mmu.h> contains a typedef that isn't enclosed in #ifndef __ASSEMBLY__ After having corrected that, the make runs fine until the final link, where I get an undefined get_cpuinfo I have grepped around the sources and found a definition of this function only in connection with SMP. Ok, I configured support for SMP back on, make clean; make dep; make zImage and compilation fais again at the linking phase. Here is the beginnning of the error message: init/main.o: In function `name_to_kdev_t': init/main.o(.text.init+0x84): undefined reference to `strlen' init/main.o(.text.init+0x84): relocation truncated to fit: R_PPC_REL24 strlen init/main.o: In function `root_dev_setup': init/main.o(.text.init+0x130): undefined reference to `memset' init/main.o(.text.init+0x130): relocation truncated to fit: R_PPC_REL24 memset init/main.o: In function `checksetup': init/main.o(.text.init+0x228): undefined reference to `strlen' init/main.o(.text.init+0x228): relocation truncated to fit: R_PPC_REL24 strlen arch/ppc/kernel/kernel.o: In function `parse_hex_value': arch/ppc/kernel/kernel.o(.text+0x1b3c): undefined reference to `__copy_tofrom_user' arch/ppc/kernel/kernel.o(.text+0x1b3c): relocation truncated to fit: R_PPC_REL24 __copy_tofrom_user arch/ppc/kernel/kernel.o(.text+0x1b58): undefined reference to `__copy_tofrom_user' arch/ppc/kernel/kernel.o(.text+0x1b58): relocation truncated to fit: R_PPC_REL24 __copy_tofrom_user arch/ppc/kernel/kernel.o: In function `register_irq_proc': arch/ppc/kernel/kernel.o(.text+0x1d6c): undefined reference to `memset' arch/ppc/kernel/kernel.o(.text+0x1d6c): relocation truncated to fit: R_PPC_REL24 memset ...several screenfuls omitted... I use a stock 2.2r2. Any hints? TIA Frank Frank Weis CISA

