qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-0.12.2 compiling error (on ppc32/ppc64): kvm.c:50: error: 'struct kvm_sregs' has no member named 'pvr'
@ 2010-01-24 21:16 acrux
  2010-01-25  9:25 ` Alexander Graf
  0 siblings, 1 reply; 7+ messages in thread
From: acrux @ 2010-01-24 21:16 UTC (permalink / raw)
  To: qemu-devel

On a powerpc32 (Apple G4) system:
gnu/linux distribution: CRUX PPC 2.6 (32bit)
toolchain: binutils-2.20, gcc-4.4.3, glibc-2.11
kernel: linux-2.6.32.5 

[...]
  AR    mips64el-softmmu/libqemu.a
  LINK  mips64el-softmmu/qemu-system-mips64el
  GEN   config-target.h
  GEN   ppc-softmmu/qemu-options.h
  CC    ppc-softmmu/vl.o
  CC    ppc-softmmu/async.o
  GEN   ppc-softmmu/qemu-monitor.h
  CC    ppc-softmmu/monitor.o
  CC    ppc-softmmu/pci.o
  CC    ppc-softmmu/pci_host.o
  CC    ppc-softmmu/pcie_host.o
  CC    ppc-softmmu/machine.o
  CC    ppc-softmmu/gdbstub.o
  CC    ppc-softmmu/virtio-blk.o
  CC    ppc-softmmu/virtio-balloon.o
  CC    ppc-softmmu/virtio-net.o
  CC    ppc-softmmu/virtio-console.o
  CC    ppc-softmmu/virtio-pci.o
  CC    ppc-softmmu/kvm.o
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c:50: error: 'struct kvm_sregs' has no member named 'pvr'
make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc-softmmu] Error 2


Instead on a powerpc64 (IBM POWER4+) system:
gnu/linux distribution: CRUX PPC 2.6 (64bit)
toolchain: binutils-2.20, gcc-4.4.3, glibc-2.11
kernel: linux-2.6.30.9

[...]
 CC    ppc64-softmmu/pcie_host.o
  CC    ppc64-softmmu/machine.o
  CC    ppc64-softmmu/gdbstub.o
  CC    ppc64-softmmu/virtio-blk.o
  CC    ppc64-softmmu/virtio-balloon.o
  CC    ppc64-softmmu/virtio-net.o
  CC    ppc64-softmmu/virtio-console.o
  CC    ppc64-softmmu/virtio-pci.o
  CC    ppc64-softmmu/kvm.o
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c: In function 'kvm_arch_init_vcpu':
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c:50: error: 'struct kvm_sregs' has no member named 'pvr'
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c: In function 'kvmppc_handle_dcr_read':
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/kvm.c:218: warning: passing argument 3 of 'ppc_dcr_read' from incompatible pointer type
/home/ports/qemu/work/src/qemu-0.12.2/target-ppc/cpu.h:798: note: expected 'target_ulong *' but argument is of type 'uint32_t *'
make[1]: *** [kvm.o] Error 1
make: *** [subdir-ppc64-softmmu] Error 2



thanks,
-- 
acrux <acrux_it@libero.it>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-01-28  1:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-24 21:16 [Qemu-devel] qemu-0.12.2 compiling error (on ppc32/ppc64): kvm.c:50: error: 'struct kvm_sregs' has no member named 'pvr' acrux
2010-01-25  9:25 ` Alexander Graf
2010-01-25 10:28   ` [Qemu-devel] " Michael S. Tsirkin
2010-01-25 10:33     ` Alexander Graf
2010-01-27 19:17   ` [Qemu-devel] " acrux
2010-01-27 23:30     ` Alexander Graf
2010-01-28  0:28       ` acrux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).