From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id 9B6BA5A9B for ; Fri, 10 Jul 2015 01:44:24 +0200 (CEST) Received: by wicmz13 with SMTP id mz13so1185790wic.0 for ; Thu, 09 Jul 2015 16:44:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=VKOIxwe3t5/nMSElm9sSBgfTT9yWIPcb87pdd3rzcCE=; b=DinXFoz52FjaOg0+Xc8C9Xp6S8ZOD0m9ZxG/6RnkLH9R57biMBC4TXLnuJnizO/HBN QSIfMuzCAE1TC1gi0qbqB9xlNVoNt/6hsyM9aFGlZ7iJPlP5ni7evMuPz9ub94FuAG73 BsCWwYqcv5CdrAndpVW+7L8yrO8BxcRk93iKqPOfDBRHbHNGk8vBhjFKVP/4lc2h2FKE aNGTHGbcnD0RLcJOegw8D8SwQZrj/9SmV8UQmX3mvnbvkqHe31QH8ea71DhKMv2vXy1l qQwBswG8X26flnmvw52CPAnrOV4UHvwZxPBDNBUoooeJoG5lG5QzliLdYgKw7iCQ+QhF YV+A== X-Gm-Message-State: ALoCoQm0aWx2PUkITYLZs9N94BUawvICEB058T0pi+LHL6k8tEZZQ8EhCYZeSDg3CTAXGSfPRNOR X-Received: by 10.194.24.196 with SMTP id w4mr34378262wjf.137.1436485464413; Thu, 09 Jul 2015 16:44:24 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id k2sm353485wif.4.2015.07.09.16.44.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2015 16:44:23 -0700 (PDT) From: Thomas Monjalon To: Stephen Hemminger Date: Fri, 10 Jul 2015 01:43:17 +0200 Message-ID: <2141795.rDVNFltQvv@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1436484387-29273-2-git-send-email-stephen@networkplumber.org> References: <1436484387-29273-1-git-send-email-stephen@networkplumber.org> <1436484387-29273-2-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH v2 1/2] vfio: fix build if build envrionment is on old kernel X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2015 23:44:24 -0000 2015-07-09 16:26, Stephen Hemminger: > From: Stephen Hemminger > > The build of DPDK may be done on a system where Linux headers > in /usr/include (and therefore kernel version macro) are much > older than the target runtime system. It seems strange wanting to build a feature not present in the kernel headers. Why not upgrading the build system kernel? > In order to work around this, one solution is to put in simplified > kernel header (this is what the compat stuff is already doing). The other solution (as already suggested by Anatoly) is to have a configure script (not an autotool one). It would make clear that VFIO support is not built. Ref: http://dpdk.org/ml/archives/dev/2015-April/016772.html