From: Nagaprabhanjan Bellaru <nagp.lists@gmail.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] Compiling DPDK 16.07 with shared option is failing..
Date: Thu, 10 Nov 2016 10:37:54 +0530 [thread overview]
Message-ID: <CABDVJk__vcNY93_KDi_3+ME4W=dKiX0bnYYUTb3e6CiTkZjuww@mail.gmail.com> (raw)
In-Reply-To: <CABDVJk87mBwwixi78fUZPr6oDebCr5h=0Lqd9-wRpFUd-SmDWw@mail.gmail.com>
I found that librte_timer was not enabled and so the compilation failed.
When I enabled the same, it went ahead and failed at a different place
while compiling librte_pmd:
--
gcc -pie -fPIC
-L/home/ubuntu/development/libfwdd/src/platform/vpp/vpp/build-root/install-vpp_debug-native/dpdk/lib
-Wl,-g -shared rte_eth_bond_api.o rte_eth_bond_pmd.o rte_eth_bond_args.o
rte_eth_bond_8023ad.o rte_eth_bond_alb.o -z defs -lrte_mbuf -lethdev
-lrte_eal -lrte_kvargs -lrte_cmdline -lrte_mempool -lrte_ring
-Wl,-soname,librte_pmd_bond.so.1.1 -o librte_pmd_bond.so.1.1
/usr/bin/ld: librte_pmd_bond.so.1.1: version node not found for symbol
rte_eth_bond_8023ad_conf_get@DPDK_2.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: error: ld returned 1 exit status
--
I see that the symbol is present in drivers/net/bonding, but I am not sure
how to fix this error. Can someone please help me?
Thanks,
-nagp
On Wed, Nov 9, 2016 at 6:04 PM, Nagaprabhanjan Bellaru <nagp.lists@gmail.com
> wrote:
> Hi,
>
> I am compiling DPDK with "CONFIG_RTE_BUILD_SHARED_LIB=y". However, when I
> compile, it is failing at:
>
> --
> gcc -pie -fPIC -L/home/ubuntu/development/libfwdd/src/platform/vpp/vpp/
> build-root/install-vpp_debug-native/dpdk/lib -Wl,-g -shared rte_sched.o
> rte_red.o rte_approx.o rte_reciprocal.o -z defs -lm -lrt -lrte_eal
> -lrte_mempool -lrte_mbuf -lrte_timer -Wl,-soname,librte_sched.so.1.1 -o
> librte_sched.so.1.1
> /usr/bin/ld: cannot find -lrte_timer
> --
>
> I can see that librte_timer is not compiled yet, however librte_sched
> depends on it - is there any workaround for this issue? Can I change the
> order somewhere?
>
> Thanks,
> -nagp
>
next prev parent reply other threads:[~2016-11-10 5:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-09 12:34 Nagaprabhanjan Bellaru
2016-11-10 5:07 ` Nagaprabhanjan Bellaru [this message]
2016-11-10 8:18 ` Thomas Monjalon
2016-11-10 8:23 ` Nagaprabhanjan Bellaru
2016-11-10 12:28 ` Nagaprabhanjan Bellaru
2016-11-10 8:21 ` Xu, Qian Q
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='CABDVJk__vcNY93_KDi_3+ME4W=dKiX0bnYYUTb3e6CiTkZjuww@mail.gmail.com' \
--to=nagp.lists@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).