* Failed to compile kvm mod
@ 2011-04-21 18:16 Michael Stellar
2011-04-24 9:48 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Michael Stellar @ 2011-04-21 18:16 UTC (permalink / raw)
To: kvm
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Failed to compile kvm mod
2011-04-21 18:16 Failed to compile kvm mod Michael Stellar
@ 2011-04-24 9:48 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2011-04-24 9:48 UTC (permalink / raw)
To: Michael Stellar; +Cc: kvm
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
On 2011-04-21 20:16, Michael Stellar wrote:
> 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 :
Why do you want kvm-kmod with KVM source from 2.6.37 on a kernel that
*is* 2.6.37? Just use the KVM support of the host kernel.
[ Besides that, I think your kernel module build environment is still
incomplete. But you don't need it anyway. ]
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 259 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-04-24 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 18:16 Failed to compile kvm mod Michael Stellar
2011-04-24 9:48 ` Jan Kiszka
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).