From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal/linux: fix build with glibc 2.25 Date: Tue, 04 Apr 2017 14:51:25 +0200 Message-ID: <12057052.OZe6dLyBjp@xps13> References: <20170403083514.5401-1-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, ferruh.yigit@intel.com To: Jerin Jacob 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) In-Reply-To: <20170403083514.5401-1-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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