qemu-ppc
[Top][All Lists]
Advanced

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

[Qemu-ppc] Compile for qemu-ppce500 fails


From: zhongcai zhou
Subject: [Qemu-ppc] Compile for qemu-ppce500 fails
Date: Tue, 2 Jun 2015 00:52:28 -0500

I am trying to compile u-boot for qemu_ppce500 target. But it fails with the following errors:

arch/powerpc/cpu/mpc85xx/built-in.o:(.got2+0xfc): undefined reference to `tlb_table'
arch/powerpc/cpu/mpc85xx/built-in.o:(.got2+0x100): undefined reference to `num_tlb_entries'
make: *** [u-boot] Error 1


The steps I followed.

git clone git://git.qemu-project.org/u-boot.git
git reset --hard 2072e7262965bb48d7fffb1e283101e6ed8b21a8
  ### this follows the direction from qemu-2.3.0/pc-bios/README
make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu- qemu-ppce500_config
make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnu-

Then I have:

...
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/sched.srec
  OBJCOPY examples/standalone/hello_world.bin
  OBJCOPY examples/standalone/sched.bin
  LDS     u-boot.lds
  LD      u-boot
arch/powerpc/cpu/mpc85xx/built-in.o:(.got2+0xfc): undefined reference to `tlb_table'
arch/powerpc/cpu/mpc85xx/built-in.o:(.got2+0x100): undefined reference to `num_tlb_entries'
make: *** [u-boot] Error 1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]