kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* compiling kvm-kmod with 2.6.24 fails
@ 2009-09-28  8:31 Dietmar Maurer
  0 siblings, 0 replies; only message in thread
From: Dietmar Maurer @ 2009-09-28  8:31 UTC (permalink / raw)
  To: kvm

Hi all,

the kvm-XX packages always included the kernel module, but this is not the case for stable qemu-kvm-0.11.0? So I am trying to compile the latest kernel module for our 2.6.24 kernel.

# git clone git://git.kernel.org/pub/scm/virt/kvm/kvm-kmod.git
# cd kvm-kmod
# git submodule update --init

This downloads a whole kernel tree - is there a way to avoid that?
 
#./configure --kerneldir=/path/to/our/kernel/dir
# make sync

no problems so far, but 'make' does not work. Any idea whats wrong?

# make

make -C /home/dietmar/svn-devel/pve-kernel-2.6.24/linux-2.6.24-openvz M=`pwd` \
                LINUXINCLUDE="-I`pwd`/include -Iinclude \
                 -Iarch/x86/include -I`pwd`/include-compat \
                -include include/linux/autoconf.h \
                -include `pwd`/x86/external-module-compat.h " \
                "$@"
make[1]: Entering directory `/home/dietmar/svn-devel/pve-kernel-2.6.24/linux-2.6.24-openvz'
  LD      /home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/built-in.o
  CC [M]  /home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/svm.o
In file included from /home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/external-module-compat.h:16,
                 from <command-line>:0:
/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/../external-module-compat-comm.h: In function \ufffd\ufffd\ufffdkvm_vma_kernel_pagesize\ufffd\ufffd\ufffd:
/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/../external-module-compat-comm.h:968: error: implicit declaration of function \ufffd\ufffd\ufffdhstate_vma\ufffd\ufffd\ufffd
/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/../external-module-compat-comm.h:968: warning: assignment makes pointer from integer without a cast
/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/../external-module-compat-comm.h:970: error: dereferencing pointer to incomplete type
make[3]: *** [/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86/svm.o] Error 1
make[2]: *** [/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod/x86] Error 2
make[1]: *** [_module_/home/dietmar/svn-devel/pve-kernel-2.6.24/kvm-kmod] Error 2
make[1]: Leaving directory `/home/dietmar/svn-devel/pve-kernel-2.6.24/linux-2.6.24-openvz'
make: *** [all] Error 2



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-28  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-28  8:31 compiling kvm-kmod with 2.6.24 fails Dietmar Maurer

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