From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Bucksch Subject: kvm userland: Build misses -I Date: Wed, 10 Sep 2008 05:19:27 +0200 Message-ID: <48C73CBF.3070605@bucksch.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from firespit.beonex.com ([216.127.68.92]:45264 "EHLO firespit.beonex.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752008AbYIJDmg (ORCPT ); Tue, 9 Sep 2008 23:42:36 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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 /include/