[dpdk-users] Compiling DPDK 16.07 with shared option is failing..

Xu, Qian Q qian.q.xu at intel.com
Thu Nov 10 09:21:22 CET 2016


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-bounces at 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


More information about the users mailing list