building kvm-kmod 2.6.39 on debian squeeze fails

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

 



hi

kvm-kmod-2.6.39 fails to build on debian squeeze (debian kernel 2.6.32).


error messages:

In file included from /usr/src/kvm-kmod-2.6.39/x86/x86.c:93:
/lib/modules/2.6.32-5-amd64/source/arch/x86/include/asm/pvclock.h:19: 
error: redefinition of ‘pvclock_scale_delta’
/usr/src/kvm-kmod-2.6.39/x86/external-module-compat.h:1074: 
error:  previous definition of ‘pvclock_scale_delta’ was here

I've changed the ifdef from 2,6,37 to 2,6,32 external-module-compat.h:1074 
then it successfully built. Is this safe? 

- Thomas

--
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