From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] eal: fix compile error in eal_timer.c caused by hpet Date: Wed, 02 Mar 2016 17:45:06 +0100 Message-ID: <5302405.qOPCxYW0H8@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: =?utf-8?B?5Y2iIOavhQ==?= Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 3033B6CD2 for ; Wed, 2 Mar 2016 17:46:42 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id l68so86187381wml.1 for ; Wed, 02 Mar 2016 08:46:42 -0800 (PST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-01-28 14:16, =E5=8D=A2 =E6=AF=85: > Fix compile error when enable CONFIG_RTE_LIBEAL_USE_HPET. >=20 > Error messages: > /root/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_timer.c: In function= =E2=80=98rte_eal_hpet_init=E2=80=99: > /root/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_timer.c:222:2: error= : implicit declaration of function =E2=80=98rte_thread_setname=E2=80=99= [-Werror=3Dimplicit-function-declaration] > ret =3D rte_thread_setname(msb_inc_thread_id, thread_name); > ^ > /root/dpdk-2.2.0/lib/librte_eal/linuxapp/eal/eal_timer.c:222:2: error= : nested extern declaration of =E2=80=98rte_thread_setname=E2=80=99 [-W= error=3Dnested-externs] > cc1: all warnings being treated as errors >=20 > Fixes: badb3688ffa8 ("eal/linux: fix build with glibc < 2.12") Just looking at the first letters of this SHA1 gives a hint ;) > Signed-off-by: Yi Lu > Acked-by: David Marchand Applied, thanks