On Tue, Dec 7, 2021 at 2:32 PM Ilya Maximets <i.maxim...@ovn.org> wrote: > > On 12/7/21 13:52, taoyunupt wrote: > > Thanks Ilya, you are right, it works. I missed libmnl-devel. > > > > I get another error today, "undefined reference to `rte_eth_from_rings' " > > In my code , rte_eth_from_rings was called in netdev-dpdk.c, and I have > > include <rte_eth_ring.h>, and when I compile dpdk with make , not meson ,it > > works well. > > It is weird. > > Weird indeed. > > To be clear, linking with meson-built DPDK is not tested enough > in OVS 2.13/2.14 and is not a recommended way to link with DPDK, > so there might be some problems. I'd guess that meson disables > some libs/drivers during the build due to missing dependencies > or something like that, so they are not available while liking > with OVS. You may check the meson configuration logs. > But ring driver doesn't seem to have any extra dependencies, > unless you're trying to build on Windows, so I'm not sure. > Or maybe the readers are picked up from the incorrect location.
Fwiw, there was an issue with static linking + some version of pkg-config that comes with RHEL/Centos 7. https://github.com/openvswitch/ovs/commit/252e1e576443#diff-b781fde347898f87c1814ea8961b8e39c2615374b2811e7fc91047e7517d9b57R356 -- David Marchand _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss