cross compiling wind river linux for ppc architecture

Sridhar Mahadevan msridhar87 at gmail.com
Wed Aug 12 00:09:57 EST 2009


Hi,
Am trying to compile my WRL 2.6.21 kernel for PPC architecture.
The processor am using is AMCC powerpc 440EP .
I just built the file system by running the configure command with
--enable-rootfs=glibc-small and --enable-cpu-ppc-440 and i got a cross
compiler.
I took the linux kernel image and updated the PATH variable to the path of
my cross compiler.I did a make with ARCH=powerpc and CROSS_COMPILER=/my
cross compiler,except gcc/.

When I try to do this I get the following error.
 arch/powerpc/mm/44x_mmu.c: In function 'mmu_mapin_ram':
arch/powerpc/mm/44x_mmu.c:106: error: 'PPC_PIN_SIZE' undeclared (first use
in this function)
arch/powerpc/mm/44x_mmu.c:106: error: (Each undeclared identifier is
reported only once
arch/powerpc/mm/44x_mmu.c:106: error: for each function it appears in.)
arch/powerpc/mm/44x_mmu.c:106: error: 'PPC44x_PIN_SHIFT' undeclared (first
use in this function)
arch/powerpc/mm/44x_mmu.c:109: error: 'PPC44x_LOW_SLOT' undeclared (first
use in this function)
make[1]: *** [arch/powerpc/mm/44x_mmu.o] Error 1
make: *** [arch/powerpc/mm] Error 2
It ll be very helpful for me if I could get a solution for this.

Regards
Sridhar M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090811/f20192dc/attachment.htm>


More information about the Linuxppc-dev mailing list