Re: [kvm-devel] kernel module won't compile when using seperate build dir

2008-05-07 Thread David Mair
James Pike wrote: > Hi, > > I compile my kernel with make O=/home/james/compile/linux-2.6.25.1 > > kvm detects this as the kernel directory. However when building in the > "kernel" directory of the project it fails (it tries to include > linux/compiler.h which is only in /usr/src/linux/..). > >

[kvm-devel] kernel module won't compile when using seperate build dir

2008-05-07 Thread James Pike
Hi, I compile my kernel with make O=/home/james/compile/linux-2.6.25.1 kvm detects this as the kernel directory. However when building in the "kernel" directory of the project it fails (it tries to include linux/compiler.h which is only in /usr/src/linux/..). This used to work but started breaki