From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f174.google.com (mail-wr0-f174.google.com [209.85.128.174]) by dpdk.org (Postfix) with ESMTP id 7DE20326B for ; Tue, 4 Apr 2017 14:51:27 +0200 (CEST) Received: by mail-wr0-f174.google.com with SMTP id t20so9234450wra.1 for ; Tue, 04 Apr 2017 05:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=sdzX/etZzFJ4jmbwEti18H2kPWjQLM9cFh0Bcd/Dnnw=; b=SRUPMoIMdGF+9YdflGnt0ZbdJWO/Q5DXQA6B17FG3D8RRVSIo4HmiEYQyegZsA/QEC wWyixaMuyqv1yssSHr3l9BVMWGrdn6eYKihm5OhZGtzMC7u7WmtP/DQA2ch6nsXvS+li yo4KsQmXHLgv1ywmklC87QH04IQTMY0wjnkT1EHmi5oKla0fLhgfZ6uVugBVBs5DD2BZ ZJtYUw9egFiHFPvWS1Rmw/iF/rE4nE10dSpYBWFWTdYoE1AlqZP75bH3wpcgLSAA2QCe gnPLbXjdA5M+46tz+7w8jYYrVxqSJNJTgIZ9/3yWRoCgd+LIl6MBKj64l8i3sYssjr2u pGWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=sdzX/etZzFJ4jmbwEti18H2kPWjQLM9cFh0Bcd/Dnnw=; b=Ny26DEYjbL4KZrebXxAtgb0eMOPB7RtYkd39G50wb9fCEwKmQ7fzTiegmF4ykg+7LI vBD6ZFP0arWt1eT19gd54yTSsa00ziwRV/UGLR56D+whcx3/MpdvDUm32bZAjP6xCRch pvVTqFFdiwQ5wLkUZFBSAIZUqItKGru+NSGikri97YnEZk5/jPQIHbfvIw9JsgKUf+aG 97TVFEaeF68ZWQ87FxA26pRDlvDXctv7wtsS/57dtfnd0bQr04eISMD+FqLlsS/b2jsN NS1S7GtfyFX75pm819EkSCrlQ/CCfkSpoHJaB9a21KoCvreuwAU7OP2m1GYyyT1VkOBc cFqQ== X-Gm-Message-State: AFeK/H3Q+MqKP6xVXhJyeW6dlCAzLhN/4t40uul8Yk47qgUwHcI2XOOgMVAc80AvAA6XN8GX X-Received: by 10.28.208.7 with SMTP id h7mr14563212wmg.79.1491310287270; Tue, 04 Apr 2017 05:51:27 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id o22sm7378913wro.45.2017.04.04.05.51.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Apr 2017 05:51:26 -0700 (PDT) From: Thomas Monjalon To: Jerin Jacob Cc: dev@dpdk.org, ferruh.yigit@intel.com Date: Tue, 04 Apr 2017 14:51:25 +0200 Message-ID: <12057052.OZe6dLyBjp@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170403083514.5401-1-jerin.jacob@caviumnetworks.com> References: <20170403083514.5401-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH] eal/linux: fix build with glibc 2.25 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 12:51:27 -0000 2017-04-03 14:05, Jerin Jacob: > glibc 2.25 is warning about if applications depend on > sys/types.h for makedev macro, it expects to be included > from >=20 > Found this error while testing with GCC 6.3.1 on archlinux. >=20 > lib/librte_eal/linuxapp/eal/eal_pci_uio.c: In function =E2=80=98pci_m= knod_uio_dev=E2=80=99: > lib/librte_eal/linuxapp/eal/eal_pci_uio.c:134:13: > error: In the GNU C Library, "makedev" is defined > by . For historical compatibility, it is > currently defined by as well, but we plan to > remove this soon. To use "makedev", include > directly. If you did not intend to use a system-defined macro > "makedev", you should undefine it after including . [-We= rror] > dev =3D makedev(major, minor); > ^~~~~~~~~~~~~~~~~ >=20 > Signed-off-by: Jerin Jacob Applied, thanks