Failed to compile kvm mod
nanobyte
Status: New User - Welcome
Joined: 21 Apr 2011
Posts: 2
Reply Quote
I am running 2.6.37-5.dmz.1-liquorix-amd64 with ubuntu 10.10 through the past liquorix repo, and when i am compiling the kvm mod for 2.6.37 kernel it throws the following errors :
:: Code ::

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

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


Anyone can assist me ? would be glad for any helps, thanks.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours