Failed to compile kvm mod

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

 



I am running 2.6.37-5.dmz.1-liquorix-amd64 with ubuntu 10.10, and when
i am compiling the kvm mod for 2.6.37 kernel it throws the following
errors :

nano@server:~/Work/kvm-kmod-2.6.37$ make
make -C /lib/modules/2.6.37-5.dmz.1-liquorix-amd64/build M=`pwd` \
        LINUXINCLUDE="-I`pwd`/include -Iinclude \
             -Iinclude2
-I/lib/modules/2.6.37-5.dmz.1-liquorix-amd64/source/include
-I/lib/modules/2.6.37-5.dmz.1-liquorix-amd64/source/arch/x86/include \
            -I`pwd`/include-compat -I`pwd`/x86 \
            -include  include/generated/autoconf.h \
            -include `pwd`/x86/external-module-compat.h" \
        "$@"
make[1]: Entering directory
`/usr/src/linux-headers-2.6.37-5.dmz.1-liquorix-amd64'
  CC [M]  /home/foxmulder/Work/kvm-kmod-2.6.37/x86/svm.o
In file included from
/home/foxmulder/Work/kvm-kmod-2.6.37/x86/external-module-compat.h:9:0,
                 from <command-line>:0:
include/linux/types.h:4:23: fatal error: asm/types.h: No such file or directory
compilation terminated.
make[3]: *** [/home/nano/Work/kvm-kmod-2.6.37/x86/svm.o] Error 1
make[2]: *** [/home/nano/Work/kvm-kmod-2.6.37/x86] Error 2
make[1]: *** [_module_/home/nano/Work/kvm-kmod-2.6.37] Error 2
make[1]: Leaving directory
`/usr/src/linux-headers-2.6.37-5.dmz.1-liquorix-amd64'
make: *** [all] Error 2


While the headers already installed, and double conform with checking
the dir myself :

nano@server:~/Work/kvm-kmod-2.6.37$ dpkg -l | grep liquorix
ii  linux-headers-2.6.37-5.dmz.1-liquorix-amd64 2.6.37-16
                           Header files for Linux
2.6.37-5.dmz.1-liquorix-amd64
ii  linux-image-2.6.37-5.dmz.1-liquorix-amd64   2.6.37-16
                           Linux 2.6.37 for 64-bit PCs
ii  liquorix-archive-keyring                    2009.05.25
                           GnuPG archive keys of the liquorix archive
ii  liquorix-keyring                            2009.05.25
                           GnuPG keys of liquorix Developers
ii  liquorix-keyrings                           2009.05.25
                           Meta package to grab all useful GnuPG keys
for liquorix


Reside the include folder there is exist asm-generic folder which
seems to having the required headers, i have tried to copy the
asm-generic to asm folder but now it stops at here :

/home/nano/Work/kvm-kmod-2.6.37/include/asm/kvm_para.h:105:27: fatal
error: asm/processor.h: No such file or directory
compilation terminated.
make[3]: *** [/home/nano/Work/kvm-kmod-2.6.37/x86/svm.o] Error 1
make[2]: *** [/home/nano/Work/kvm-kmod-2.6.37/x86] Error 2
make[1]: *** [_module_/home/nano/Work/kvm-kmod-2.6.37] Error 2
make[1]: Leaving directory
`/usr/src/linux-headers-2.6.37-5.dmz.1-liquorix-amd64'
make: *** [all] Error 2

The processor.h seems to be reside here
/usr/src/linux-headers-2.6.37-5.dmz.1-liquorix-amd64/arch/x86/include/asm
--
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