From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9F3BDA04F3 for ; Mon, 16 Dec 2019 18:22:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 68B1A2B96; Mon, 16 Dec 2019 18:22:22 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id B900D1F5 for ; Mon, 16 Dec 2019 18:22:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1576516940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DK9xBQcyK7pOWbKTzF8cOS/7JC9ohMUpvX89FgORZ8M=; b=Nki506FAD2SHCXuVob3ZukeoRjFcZRpC6A0ZdfRBfLkOJMQN2XX3zIaPyr/CZLL0473WED geVSGshUue9jpFRBSBUf2NBHAIMa9TCtlFMDc6bX2QKCeqZZCIVOOmN9UUkOhXtLdfmou+ 4YjtpBeznAKhuLPAoO4Dd22i/j/KEJE= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-345-gni6e78-P9-PdOs4mp1Bsg-1; Mon, 16 Dec 2019 12:22:16 -0500 Received: by mail-vs1-f71.google.com with SMTP id s130so661146vss.13 for ; Mon, 16 Dec 2019 09:22:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DK9xBQcyK7pOWbKTzF8cOS/7JC9ohMUpvX89FgORZ8M=; b=UYQ48vY7sEzDvwbRDlBK105bDHb21kqDcOGCkTaqGrPOPCUX6JLteN7A04jbIHAhZC 87IpTTsvvO8XMQTBsl7Opc2HrL4r2Ky4cgthA31i9nrvfc4uouvoqbqArVJwRW1H8g1Q 6/ysT0aeZcxSR9fVf3bfF0KiyLHVK9QSG4weRusJm0wpoF22E050DozKcGbQC+jZkKD0 WrJ3SSIvEdn6sA3JwZvIKHo50TQtc1iAxyee/CqBIokyLhP7AilsdGJZqIb1eOhfRgzp aEtNT2cy8NquUf0MmTnqqU88JH49upgWa9A3AhAr0OpxdjqD0AhMGJT0CVtoEzudcyU4 QlnQ== X-Gm-Message-State: APjAAAXdrocl6hLZ/hhVltQ+D6yXdZyxH/zXU5ICEHOhtn5rb0mwY9j6 nsaXAPVFLA0X1GpzzSQFqnhQmjE4yB4DinzvY5R9NisS3sgo/2AD7CeyoeJud3X4D0HbdHMJOL8 +Hoo/Fc308yKD8R27sSaQ4Us= X-Received: by 2002:a1f:fe4e:: with SMTP id l75mr7632vki.18.1576516936372; Mon, 16 Dec 2019 09:22:16 -0800 (PST) X-Google-Smtp-Source: APXvYqyRQMOpEfj8tilOOFfdVEjrYGfSubcUqrAR9MJku3Wz3+Znv/+TaaplRbx8mXYrTs1OrhGkOoKk91vYzaWcqM4= X-Received: by 2002:a1f:fe4e:: with SMTP id l75mr7595vki.18.1576516935969; Mon, 16 Dec 2019 09:22:15 -0800 (PST) MIME-Version: 1.0 References: <20191211182522.8163-1-alialnu@mellanox.com> In-Reply-To: <20191211182522.8163-1-alialnu@mellanox.com> From: David Marchand Date: Mon, 16 Dec 2019 18:22:05 +0100 Message-ID: To: Ali Alnubani Cc: "dev@dpdk.org" , "vattunuru@marvell.com" , "stable@dpdk.org" X-MC-Unique: gni6e78-P9-PdOs4mp1Bsg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal/linux: fix build when VFIO is disabled X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Wed, Dec 11, 2019 at 7:26 PM Ali Alnubani wrote: > The header linux/version.h isn't included when CONFIG_RTE_EAL_VFIO > is explicitly disabled. LINUX_VERSION_CODE and KERNEL_VERSION are > therefore undefined, causing the build failure: > > lib/librte_eal/linux/eal/eal.c: In function =E2=80=98rte_eal_init=E2=80= =99: > lib/librte_eal/linux/eal/eal.c:1076:32: error: "LINUX_VERSION_CODE" is > not defined, evaluates to 0 [-Werror=3Dundef] The patch itself is ok. But, out of curiosity, why would you disable vfio support? --=20 David Marchand