[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
I am not sure why it complains about "rte_eth_bond_8023ad_conf_get at DPDK_2.0" when I cam compiling for 16.07. Anyways, if I change the symbol names, the compilation goes through fine. -nagp On Thu, Nov 10, 2016 at 1:53 PM, Nagaprabhanjan Bellaru < nagp.lists at gmail.com> wrote: > Hi, > > I am compiling DPDK as part of VPP (Cisco). It has rte_timer etc. turned > off. I enabled it and stumbled on this error. DPDK compilation is invoked > by VPP. > > -nagp > > On Thu, Nov 10, 2016 at 1:48 PM, Thomas Monjalon < > thomas.monjalon at 6wind.com> wrote: > >> 2016-11-10 10:37, Nagaprabhanjan Bellaru: >> > 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/buil >> d-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 at DPDK_2.0 >> > /usr/bin/ld: failed to set dynamic section sizes: Bad value >> > collect2: error: ld returned 1 exit status >> > -- >> >> What are you changing in the default configuration? >> Which commands are you using to compile? >> > >
[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
Hi, I am compiling DPDK as part of VPP (Cisco). It has rte_timer etc. turned off. I enabled it and stumbled on this error. DPDK compilation is invoked by VPP. -nagp On Thu, Nov 10, 2016 at 1:48 PM, Thomas Monjalon wrote: > 2016-11-10 10:37, Nagaprabhanjan Bellaru: > > 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 at DPDK_2.0 > > /usr/bin/ld: failed to set dynamic section sizes: Bad value > > collect2: error: ld returned 1 exit status > > -- > > What are you changing in the default configuration? > Which commands are you using to compile? >
[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
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 at 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 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 >
[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
2016-11-10 10:37, Nagaprabhanjan Bellaru: > 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 at DPDK_2.0 > /usr/bin/ld: failed to set dynamic section sizes: Bad value > collect2: error: ld returned 1 exit status > -- What are you changing in the default configuration? Which commands are you using to compile?
[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
We have tested the configuration, and it works on our platform. I wonder what's your OS/Kernel/gcc version. -Original Message- From: users [mailto:users-boun...@dpdk.org] On Behalf Of Nagaprabhanjan Bellaru Sent: Wednesday, November 9, 2016 8:34 PM To: users at dpdk.org Subject: [dpdk-users] Compiling DPDK 16.07 with shared option is failing.. 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
[dpdk-users] Compiling DPDK 16.07 with shared option is failing..
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