Skip to contentSkip to conversation

building kvm-kmod 2.6.39 on debian squeeze fails

DISCUSSION Thomas Mueller 1 participant 1 message Jul 5, 2011 KVM

lore
Share & tools
lore
#0 lore raw

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