public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Bucksch <news@bucksch.org>
To: kvm@vger.kernel.org
Subject: kvm userland: Build misses -I <kernel include dir>
Date: Wed, 10 Sep 2008 05:19:27 +0200	[thread overview]
Message-ID: <48C73CBF.3070605@bucksch.org> (raw)

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/


             reply	other threads:[~2008-09-10  3:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-10  3:19 Ben Bucksch [this message]
2008-09-13  5:16 ` kvm userland: Build misses -I <kernel include dir> Avi Kivity
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=48C73CBF.3070605@bucksch.org \
    --to=news@bucksch.org \
    --cc=kvm@vger.kernel.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