After solving the conflict below, kvm-userspace may start using the native version of the function, instead of a fake implementation that does nothing. +++ This bug was initially created as a clone of Bug #629333 +++ Description of problem: When trying to build latest kvm modules against kernel-devel-2.6.18-214.el5.x86_64: /home/ehabkost/code/kvm/kvm-userspace/kernel/x86/../external-module-compat-comm.h:547: error: static declaration of ‘cancel_work_sync’ follows non-static declaration include/linux/workqueue.h:117: error: previous declaration of ‘cancel_work_sync’ was here make[3]: *** [/home/ehabkost/code/kvm/kvm-userspace/kernel/x86/svm.o] Error 1 The function was included on newer kernels, so we need to solve the naming conflict.
Successfully make build against kernel-devel-2.6.18-227.el5.x86_64. So this bug has been fixed.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0028.html