public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@qumranet.com>
To: Ben Bucksch <news@bucksch.org>
Cc: kvm@vger.kernel.org
Subject: Re: kvm userland: Build misses -I <kernel include dir>
Date: Sat, 13 Sep 2008 08:16:56 +0300	[thread overview]
Message-ID: <48CB4CC8.5050903@qumranet.com> (raw)
In-Reply-To: <48C73CBF.3070605@bucksch.org>

Ben Bucksch wrote:
> 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/
>

What are you doing exactly?  I've never had such issues.


-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


  reply	other threads:[~2008-09-13  5:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10  3:19 kvm userland: Build misses -I <kernel include dir> Ben Bucksch
2008-09-13  5:16 ` Avi Kivity [this message]
2008-09-13 13:07   ` Ben Bucksch
2008-09-14 10:28     ` Iain Paton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48CB4CC8.5050903@qumranet.com \
    --to=avi@qumranet.com \
    --cc=kvm@vger.kernel.org \
    --cc=news@bucksch.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox