From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Missing symbol 'rte_cpu_get_flag_enabled@@DPDK_2.0'
Date: Tue, 14 Jul 2020 12:25:07 +0100 [thread overview]
Message-ID: <CAJK_iejAcCyu3FonCtGeTDqW=1g9q7vc62d3viSWYXTugkThmA@mail.gmail.com> (raw)
Hi
I have built a single shared library consisting of my code and multiple
dpdk libraries, using dpdk-stable-18.11.8 on Centos 7 with the gcc
compiler.
When I link the library to my main.cpp I get linker error:
undefined reference to symbol 'rte_cpu_get_flag_enabled@@DPDK_2.0'
Now, I see:
$ nm librte_eal.so | grep cpu_get_flag_enabled
000000000002ec70 T rte_cpu_get_flag_enabled
so 'rte_cpu_get_flag_enabled' is present but
symbol 'rte_cpu_get_flag_enabled@@DPDK_2.0' is not present
in librte_eal.so. So that explains the linker error.
What does the suffix '@@DPDK_2.0' indicate?
How would I build a dpdk library with such symbols?
Do I need librte_eal2.so?
Best regards
David
next reply other threads:[~2020-07-14 11:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 11:25 David Aldrich [this message]
2020-07-14 16:11 ` David Aldrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJK_iejAcCyu3FonCtGeTDqW=1g9q7vc62d3viSWYXTugkThmA@mail.gmail.com' \
--to=david.aldrich.ntml@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).