From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 93D63C5DA for ; Thu, 23 Jun 2016 19:26:22 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 23 Jun 2016 10:26:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,517,1459839600"; d="scan'208";a="1003934622" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga002.jf.intel.com with ESMTP; 23 Jun 2016 10:26:20 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.183]) by irsmsx105.ger.corp.intel.com ([169.254.7.51]) with mapi id 14.03.0248.002; Thu, 23 Jun 2016 18:25:34 +0100 From: "Dumitrescu, Cristian" To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , Chao Zhu CC: "dev@dpdk.org" Thread-Topic: librte_meter compilation fails on IBM Power8 Thread-Index: AQHRzIIjHEEWzXXfHEqsdVT1MjVZVJ/3Tnmw Date: Thu, 23 Jun 2016 17:25:34 +0000 Message-ID: <3EB4FA525960D640B5BDFFD6A3D8912647A0C230@IRSMSX108.ger.corp.intel.com> References: <20160622123103.GU14221@autoinstall.dev.6wind.com> In-Reply-To: <20160622123103.GU14221@autoinstall.dev.6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzE1MmJlMjQtZjIxNy00NjQ3LWIxMDMtMWVlN2M1ZTVjNWNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjJmZXRHTVpWOGFOdXhQXC9rZmE2Y1wvZVhvZkpwT1RwMWNBSWdKeTM4MVU5ST0ifQ== x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] librte_meter compilation fails on IBM Power8 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, 23 Jun 2016 17:26:23 -0000 > -----Original Message----- > From: N=E9lio Laranjeiro [mailto:nelio.laranjeiro@6wind.com] > Sent: Wednesday, June 22, 2016 1:31 PM > To: Dumitrescu, Cristian ; Chao Zhu > > Cc: dev@dpdk.org > Subject: librte_meter compilation fails on IBM Power8 >=20 > Hi Cristian, Chao, >=20 > I have encountered a compilation failure on IBM Power8 when compiling > master branch with EXTRA_CFLAGS=3D'-O0 -g': >=20 > /root/nl/dpdk.org/build/lib/librte_meter.a(rte_meter.o): In function > `rte_meter_get_tb_params': > /root/nl/dpdk.org/lib/librte_meter/rte_meter.c:57: undefined reference = to > `ceil' >=20 > Seems related to commit 43f4364d. >=20 > I don't have the time to search more deeply, I hope it can help. >=20 > Regards, >=20 > -- > N=E9lio Laranjeiro > 6WIND I am not sure what the problem might be for IBM Power8. ceil() is a function defined in math library, we include math.h header file= in rte_meter.c and we also link the library properly in the Makefile by us= ing LDLIBS +=3D -lm, therefore I do not see any issue in the library code. Thanks, Cristian