public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm userland: Build misses -I <kernel include dir>
@ 2008-09-10  3:19 Ben Bucksch
  2008-09-13  5:16 ` Avi Kivity
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Bucksch @ 2008-09-10  3:19 UTC (permalink / raw)
  To: kvm

configure accepts the kernel source dir as input param, or automatically 
finds /lib/modules/2.6.27-rc5/build/ or similar. But the build only uses 
the dir to copy the latest kvm*.h into the local dir. The directory is 
not passed to gcc via -I . This results in a "linux/ioctl.h not found" 
and resulting errors, if /usr/include/linux/ does not exist. If I pass 
the kernel source explicitly, then please use it.

   1. Please pass gcc -I <kernel source dir in configure>/include/


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

end of thread, other threads:[~2008-09-14 10:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-10  3:19 kvm userland: Build misses -I <kernel include dir> Ben Bucksch
2008-09-13  5:16 ` Avi Kivity
2008-09-13 13:07   ` Ben Bucksch
2008-09-14 10:28     ` Iain Paton

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