qemu-kvm-0.13.0 compile error

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

 



Hi,

I have problem to compile qemu-kvm 0.13.0 with gcc version 4.1.2
20080704 (Red Hat 4.1.2-48) in CentOS 5.  Errors below:

/usr/src/qemu-kvm-0.13.0/hw/ide/core.c: In function ‘ide_drive_pio_post_load’:
/usr/src/qemu-kvm-0.13.0/hw/ide/core.c:2782: warning: comparison is
always false due to limited range of data type
ui/vnc-enc-tight.c: In function ‘tight_detect_smooth_image’:
ui/vnc-enc-tight.c:284: warning: comparison is always true due to
limited range of data type
ui/vnc-enc-tight.c:297: warning: comparison is always true due to
limited range of data type
ui/vnc-enc-tight.c: In function ‘tight_encode_indexed_rect16’:
ui/vnc-enc-tight.c:456: warning: comparison is always false due to
limited range of data type
ui/vnc-enc-tight.c: In function ‘tight_encode_indexed_rect32’:
ui/vnc-enc-tight.c:457: warning: comparison is always false due to
limited range of data type
ui/vnc-enc-tight.c: In function ‘send_sub_rect’:
ui/vnc-enc-tight.c:1458: warning: ‘ret’ may be used uninitialized in
this function
In file included from /usr/src/qemu-kvm-0.13.0/kvm-all.c:1347:
/usr/src/qemu-kvm-0.13.0/qemu-kvm.c: In function ‘kvm_run’:
/usr/src/qemu-kvm-0.13.0/qemu-kvm.c:675: warning: implicit declaration
of function ‘kvm_handle_internal_error’
kvm-all.o: In function `kvm_run':
/usr/src/qemu-kvm-0.13.0/qemu-kvm.c:675: undefined reference to
`kvm_handle_internal_error'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64] Error 1
make: *** [subdir-x86_64-softmmu] Error 2

A search about the related function output:

# grep kvm_handle_internal_error ./*
./kvm-all.c:static void kvm_handle_internal_error(CPUState *env,
struct kvm_run *run)
./kvm-all.c:            kvm_handle_internal_error(env, run);
./qemu-kvm.c:            kvm_handle_internal_error(env, run);


Thanks.

Kindest regards,
Giam Teck Choon
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux