Some issues of Linux2.6.16.1 compilation for MPC8548
fengcheng lu
sparking.lu at gmail.com
Mon Apr 3 21:39:46 EST 2006
Hello all
When I try to compile the latest kernel2.6.16.1 for MPC8548, I have the
following questions.
1. run the make command after the kernel is configured(all are default
configurations except the processor type is MPC8548), the following errors
are got
* CC arch/powerpc/kernel/asm-offset.s*
* In file included from include/asm-ppc/io.h:39*
* from include/asm/io.h:13,*
* from arch/powerpc/kernel/asm-offsets.c:33:*
* arch/powerpc/include/asm/mpc85xx.h:29:40:
platforms/85xx/mpc8555_cds.h: No such file or directory*
*make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1*
It seems the header file path is wrong. so I build the symbol link
ln -s /usr/src/linux-2.6.16.1/include/platforms /usr/src/linux-
2.6.16.1/arch/ppc/platforms
ln -s /usr/src/linux-2.6.16.1/include/syslib /usr/src/linux-
2.6.16.1/arch/ppc/syslib
After that, the issues is fixed. But I have still other issues:
2.
* arch/powerpc/kernel/entry_32.S:48:24: head_booke.h: No such file or
directory*
* make[1]: *** [arch/powerpc/kernel/entry_32.o] Error 1*
I found this file in arch/ppc/kernel/head_booke.h and copy it into
arch/powerpc/kernel/ and re-compile it. sio this issue is fixed. but new
problem coming
3.
* ld: arch/powerpc/platforms/85xx/built-in.o: No such file: No such
file or directory*
* make[1]: *** [arch/powerpc/platforms/built-in.o] Error 1*
**
* What do I do? Any patches for these issues?*
**
**
*Best Regards*
*Lu *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060403/9ba8f3a1/attachment.htm>
More information about the Linuxppc-dev
mailing list