[dpdk-dev] librte_meter compilation fails on IBM Power8
cristian.dumitrescu at intel.com
Thu Jun 23 19:25:34 CEST 2016
> -----Original Message-----
> From: Nélio Laranjeiro [mailto:nelio.laranjeiro at 6wind.com]
> Sent: Wednesday, June 22, 2016 1:31 PM
> To: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>; Chao Zhu
> <chaozhu at linux.vnet.ibm.com>
> Cc: dev at dpdk.org
> Subject: librte_meter compilation fails on IBM Power8
> Hi Cristian, Chao,
> I have encountered a compilation failure on IBM Power8 when compiling
> master branch with EXTRA_CFLAGS='-O0 -g':
> /root/nl/dpdk.org/build/lib/librte_meter.a(rte_meter.o): In function
> /root/nl/dpdk.org/lib/librte_meter/rte_meter.c:57: undefined reference to
> Seems related to commit 43f4364d.
> I don't have the time to search more deeply, I hope it can help.
> Nélio Laranjeiro
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 using LDLIBS += -lm, therefore I do not see any issue in the library code.
More information about the dev