[dpdk-dev] Building DPDK Libraries with Libtool

Thomas Monjalon thomas.monjalon at 6wind.com
Thu Jul 3 11:05:24 CEST 2014


Hi,

2014-07-03 08:30, Stokes, Ian:
> I have been using DPDK with Openvswitch. The latest release of Openvswitch
> has started to use Libtools to build it's own internal libraries. Previous
> to this I built DPDK using DPDKs Makefiles and linked against the required
> DPDK libraries in the Openvswitch Makefiles. However because of the
> Libtools change over we now receive the warnings like the following
> 
> *** Warning: Linking the shared library lib/libopenvswitch.la against the
> *** static library
> /home/tester/rte/x86_64-ivshmem-linuxapp-gcc/lib/librte_mbuf.a is not
> portable!

You can build some shared libraries instead of static ones.

> For all the DPDK libraries we link against. Doing some research on this
> warning leads me to believe it is related to how Libtool interacts with
> static libraries that it has not built and the recommended solution seems
> to be use Libtool to build those libraries as well (In this case the DPDK
> libraries). Ideally I'd like to avoid this.

We should generate pkgconfig files in order to be easily integrated in libtool 
applications.

PS: please remove the disclaimer in your email footer.

-- 
Thomas


More information about the dev mailing list