[PATCH dpdk 0/2] Fix dynamic link of driver symbols with pkgconf
Bruce Richardson
bruce.richardson at intel.com
Thu Oct 15 12:41:58 CEST 2026
On Thu, Oct 15, 2026 at 12:09:22PM +0200, Robin Jarry wrote:
> When building against dynamic libraries using pkg-config, linking fails
> because symbols exposed by drivers are not found:
>
> /usr/bin/x86_64-linux-gnu-ld.bfd: ....o:(.data.rel.ro+0x148):
> undefined reference to `rte_pci_dump'
>
> That symbol is in librte_bus_pci.so which is *not* listed in the libs
> section of the pkg-config file.
>
> This series is about fixing this.
>
While the changes in the two patches are ok, I don't see how they affect
pkg-config. The first patch just renames a variable for clarity, and the
second only affects applications linking using a meson subproject rather
than a .pc file.
/Bruce
More information about the dev
mailing list