can't compile linuxppc_2_4_devel for 405gp

John Tyner jtyner at cs.ucr.edu
Wed Sep 5 10:38:06 EST 2001


I'm trying to compile the kernel for some 405gp's we have here, and the
make seems to fail at/near the last step.

I'm using a working .config from our 2.4.6 version. The only changes I
made to the new kernel were to change the Makefile to set ARCH = ppc and to
point CROSS_COMPILE at our cross compiler which is hhl 2.0.

Here is the last bit of the error:

/opt/hardhat/devkit/ppc/405/bin/ppc_405-objcopy -O elf32-powerpc -R
.comment \
	--add-section=image=../images/vmlinux.gz \
	zvmlinux.tmp zvmlinux
rm -f zvmlinux.tmp
../utils/mktree zvmlinux ../images/zImage.treeboot
zvmlinux is not an ELF image
make[2]: *** [zImage-TREE] Error 4
make[2]: Leaving directory `/local/home/jtyner/linuxppc_2_4_devel/arch/ppc/boot/simple'
make[1]: *** [zImage] Error 2
make[1]: Leaving directory `/local/home/jtyner/linuxppc_2_4_devel/arch/ppc/boot'
make: *** [zImage] Error 2

Any help is appreciated. Thanks.

--
John Tyner
jtyner at cs.ucr.edu


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list