Re: [ANNOUNCE] kvm-74 release

Iain Paton
2008-08-29T00:11:54Z

Hi,

Given a kernel tree originally built using the O= method, what's the suggested
way to build the external modules ?

I've tried giving configure a --kerneldir of both the original tree and the
O= tree, along with passing the O= option to make and/or configure. So far
without success.

qemu parts all seem to build fine, errors start with:

make -C /home/ilp/kernels/v2.6/linux-2.6.26-org 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[2]: Entering directory `/home/ilp/kernels/v2.6/linux-2.6.26-org'
LD /home/ilp/kvm/kvm-74/kernel/x86/built-in.o
CC [M] /home/ilp/kvm/kvm-74/kernel/x86/svm.o
In file included from <command-line>:0:
/home/ilp/kvm/kvm-74/kernel/x86/external-module-compat.h:6:28: error: linux/compiler.h: No such file or directory
In file included from /home/ilp/kvm/kvm-74/kernel/x86/external-module-compat.h:9,
from <command-line>:0:
/home/ilp/kvm/kvm-74/kernel/x86/../external-module-compat-comm.h:12:26: error: linux/string.h: No such file or directory

quickly followed by several screenfuls of stuff due to not being able to
find some of the kernel include files.

I don't have enough understanding of kernel makefile magic to see what I'm
missing, so any help would be appreciated.

Thanks,
Iain