Hi Nick,

> When attempting to build vpp against system libraries (dpdk, libbpf, etc)
> on Debian Bullseye I get the following error when building the
> af_xdp_plugin.so
> Is the af_xdp plugin doing something unusual with libbpf?

Af_xdp_plugin.so is a dynamically loadable object (as all VPP plugins), hence 
libbpf.a must be compiled as PIC which is not the case here.
When you use VPP default build system, we compile libbpf.a as PIC and link 
against that.
What is the reason to use the system libbpf instead of the one we compile? 
Apart from PIC, libbpf itself is not stable yet so you could encounter more 
subtile incompatibilities down the road.

Best
ben
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20102): https://lists.fd.io/g/vpp-dev/message/20102
Mute This Topic: https://lists.fd.io/mt/85468297/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to