public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kernel module won't compile when using seperate build dir
@ 2008-05-07 10:40 James Pike
  2008-05-07 11:25 ` Fwd: " James Pike
  2008-05-07 16:43 ` David Mair
  0 siblings, 2 replies; 5+ messages in thread
From: James Pike @ 2008-05-07 10:40 UTC (permalink / raw)
  To: kvm-devel


[-- Attachment #1.1: Type: text/plain, Size: 627 bytes --]

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 breaking in kvm-61 onwards. I want to use kvm
61 but I don't want to dirty up my kernel source tree if I can help it.

I tried appending the source directory to the include path with -I but this
lead to another missing include (asm/types.h), then I added /usr/include to
the path as well and .. well it just got worse.

Thanks, James

[-- Attachment #1.2: Type: text/html, Size: 677 bytes --]

[-- Attachment #2: Type: text/plain, Size: 320 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-11 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 10:40 kernel module won't compile when using seperate build dir James Pike
2008-05-07 11:25 ` Fwd: " James Pike
2008-05-07 11:49   ` James Pike
2008-05-11 14:40     ` Avi Kivity
2008-05-07 16:43 ` David Mair

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox