From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Building DPDK Libraries with Libtool Date: Thu, 03 Jul 2014 11:05:24 +0200 Message-ID: <2199944.9mvWnhcZjY@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: "Stokes, Ian" Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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