[ovs-dev] Build failures with openvswitch-{2.9.1, 2.8.3} due to missing rte_mempool_ops_get_count DPDK symbol

Markos Chandras mchandras at suse.de
Wed May 23 07:41:02 UTC 2018


Hello,

I was trying to update the openSUSE package to 2.9.1 (2.8.3 has the same
issue) but the following build error occurs

[   58s] libtool: link: gcc -Wstrict-prototypes -Wall -Wextra
-Wno-sign-compare -Wpointer-arith -Wformat -Wformat-security
-Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align
-Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
-Wmissing-field-initializers -fno-strict-aliasing -Wswitch-bool
-Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare
-Wshift-negative-value -Wduplicated-cond -mssse3
-I/usr/local/include/dpdk -I/usr/include/dpdk -D_FILE_OFFSET_BITS=64
-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -o ovn/controller/.libs/ovn-controller
ovn/controller/bfd.o ovn/controller/binding.o ovn/controller/chassis.o
ovn/controller/encaps.o ovn/controller/gchassis.o ovn/controller/lflow.o
ovn/controller/lport.o ovn/controller/ofctrl.o ovn/controller/pinctrl.o
ovn/controller/patch.o ovn/controller/ovn-controller.o
ovn/controller/physical.o  ovn/lib/.libs/libovn.so
lib/.libs/libopenvswitch.so -lssl -lcrypto -lcap-ng -ldpdk -lnuma
-latomic -lpthread -lrt -lm -lpcap -Wl,-rpath -Wl,/usr/lib64
[   58s] lib/.libs/libopenvswitch.so: undefined reference to
`rte_mempool_ops_get_count'

The 'rte_mempool_ops_get_count' symbol seems to be an internal DPDK one
since it doesn't seem to be exported in the map file

http://www.dpdk.org/browse/dpdk/tree/lib/librte_mempool/rte_mempool_version.map

This was added in commit 91fccdad72a253a3892dcb3c4453a31833851bb7
("netdev-dpdk: Free mempool only when no in-use mbufs."). I am not sure
how that ever built since that symbol was never exported by the
rte_mempool DPDK library

Any clues?

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg


More information about the dev mailing list