* Build of DPDK 20.11.10 is missing some libraries
@ 2025-02-13 17:47 David Aldrich
2025-02-14 8:30 ` David Marchand
0 siblings, 1 reply; 4+ messages in thread
From: David Aldrich @ 2025-02-13 17:47 UTC (permalink / raw)
To: users
Hi
I would be grateful for some help please. I am building a 3rd party
application that I believe was linked against DPDK 20.11.10.
I built this DPDK version using:
$ meson setup -Dexamples=l2fwd,helloworld build --reconfigure
When I build the 3rd party application I get link errors:
/usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory
/usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory
I can see librte_pmd_e1000.a in my build for DPDK 19.11 but not in 20.11.
Are these libraries supported by 20.11? If so, how should I build them?
Best regards
David
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build of DPDK 20.11.10 is missing some libraries
2025-02-13 17:47 Build of DPDK 20.11.10 is missing some libraries David Aldrich
@ 2025-02-14 8:30 ` David Marchand
2025-02-14 9:06 ` Bruce Richardson
0 siblings, 1 reply; 4+ messages in thread
From: David Marchand @ 2025-02-14 8:30 UTC (permalink / raw)
To: David Aldrich; +Cc: users, Bruce Richardson
Hello,
On Thu, Feb 13, 2025 at 6:47 PM David Aldrich
<david.aldrich.ntml@gmail.com> wrote:
>
> I would be grateful for some help please. I am building a 3rd party
> application that I believe was linked against DPDK 20.11.10.
>
> I built this DPDK version using:
>
> $ meson setup -Dexamples=l2fwd,helloworld build --reconfigure
>
> When I build the 3rd party application I get link errors:
>
> /usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory
> /usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or directory
> /usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory
> /usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory
> /usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory
> /usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory
>
> I can see librte_pmd_e1000.a in my build for DPDK 19.11 but not in 20.11.
>
> Are these libraries supported by 20.11? If so, how should I build them?
Drivers binaries have been renamed during 20.11.
See a20b2c01a7a1 ("build: standardize component names and defines").
In your dpdk 20.11 build, look for rte_net_e1000.a.
(Note that I suspect that this 3rd party application will have more
issues than just linking. I suggest you look at the API/ABI changes
sections in the v20.11 release notes)
--
David Marchand
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build of DPDK 20.11.10 is missing some libraries
2025-02-14 8:30 ` David Marchand
@ 2025-02-14 9:06 ` Bruce Richardson
2025-02-14 9:33 ` David Aldrich
0 siblings, 1 reply; 4+ messages in thread
From: Bruce Richardson @ 2025-02-14 9:06 UTC (permalink / raw)
To: David Marchand; +Cc: David Aldrich, users
On Fri, Feb 14, 2025 at 09:30:38AM +0100, David Marchand wrote:
> Hello,
>
> On Thu, Feb 13, 2025 at 6:47 PM David Aldrich
> <david.aldrich.ntml@gmail.com> wrote:
> >
> > I would be grateful for some help please. I am building a 3rd party
> > application that I believe was linked against DPDK 20.11.10.
> >
> > I built this DPDK version using:
> >
> > $ meson setup -Dexamples=l2fwd,helloworld build --reconfigure
> >
> > When I build the 3rd party application I get link errors:
> >
> > /usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory
> > /usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or directory
> > /usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory
> > /usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory
> > /usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory
> > /usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory
> >
> > I can see librte_pmd_e1000.a in my build for DPDK 19.11 but not in 20.11.
> >
> > Are these libraries supported by 20.11? If so, how should I build them?
>
> Drivers binaries have been renamed during 20.11.
> See a20b2c01a7a1 ("build: standardize component names and defines").
>
> In your dpdk 20.11 build, look for rte_net_e1000.a.
>
> (Note that I suspect that this 3rd party application will have more
> issues than just linking. I suggest you look at the API/ABI changes
> sections in the v20.11 release notes)
>
As a general comment, when linking DPDK it is strongly recommend that you
using pkg-config (or pkgconf) to get the linker libraries and arguments.
It's not infrequent that new libraries would be added, removed or renamed
in DPDK, so by using pkgconfig you should always get the correct lib and
driver list for the DPDK release you are linking against.
Regards,
/Bruce
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Build of DPDK 20.11.10 is missing some libraries
2025-02-14 9:06 ` Bruce Richardson
@ 2025-02-14 9:33 ` David Aldrich
0 siblings, 0 replies; 4+ messages in thread
From: David Aldrich @ 2025-02-14 9:33 UTC (permalink / raw)
To: Bruce Richardson; +Cc: David Marchand, users
Hi Bruce and David
Thank you for your helpful answers.
Best regards
David
On Fri, Feb 14, 2025 at 9:07 AM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> On Fri, Feb 14, 2025 at 09:30:38AM +0100, David Marchand wrote:
> > Hello,
> >
> > On Thu, Feb 13, 2025 at 6:47 PM David Aldrich
> > <david.aldrich.ntml@gmail.com> wrote:
> > >
> > > I would be grateful for some help please. I am building a 3rd party
> > > application that I believe was linked against DPDK 20.11.10.
> > >
> > > I built this DPDK version using:
> > >
> > > $ meson setup -Dexamples=l2fwd,helloworld build --reconfigure
> > >
> > > When I build the 3rd party application I get link errors:
> > >
> > > /usr/bin/ld: cannot find -lrte_pmd_bond: No such file or directory
> > > /usr/bin/ld: cannot find -lrte_pmd_vmxnet3_uio: No such file or directory
> > > /usr/bin/ld: cannot find -lrte_pmd_i40e: No such file or directory
> > > /usr/bin/ld: cannot find -lrte_pmd_ixgbe: No such file or directory
> > > /usr/bin/ld: cannot find -lrte_pmd_e1000: No such file or directory
> > > /usr/bin/ld: cannot find -lrte_pmd_ring: No such file or directory
> > >
> > > I can see librte_pmd_e1000.a in my build for DPDK 19.11 but not in 20.11.
> > >
> > > Are these libraries supported by 20.11? If so, how should I build them?
> >
> > Drivers binaries have been renamed during 20.11.
> > See a20b2c01a7a1 ("build: standardize component names and defines").
> >
> > In your dpdk 20.11 build, look for rte_net_e1000.a.
> >
> > (Note that I suspect that this 3rd party application will have more
> > issues than just linking. I suggest you look at the API/ABI changes
> > sections in the v20.11 release notes)
> >
>
> As a general comment, when linking DPDK it is strongly recommend that you
> using pkg-config (or pkgconf) to get the linker libraries and arguments.
> It's not infrequent that new libraries would be added, removed or renamed
> in DPDK, so by using pkgconfig you should always get the correct lib and
> driver list for the DPDK release you are linking against.
>
> Regards,
> /Bruce
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-02-14 9:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-13 17:47 Build of DPDK 20.11.10 is missing some libraries David Aldrich
2025-02-14 8:30 ` David Marchand
2025-02-14 9:06 ` Bruce Richardson
2025-02-14 9:33 ` David Aldrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).