From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by dpdk.org (Postfix) with ESMTP id 3B3A730E for ; Thu, 3 Jul 2014 11:05:11 +0200 (CEST) Received: by mail-wi0-f170.google.com with SMTP id cc10so10363425wib.3 for ; Thu, 03 Jul 2014 02:05:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=ww89noI+UZa+Qlkhn6qpEwXIjjJt0ShugtjBJ2HuFn4=; b=D5J6jh9UGqMbSUufZt/y33mGoShxytXK+eV+IzGEBgFPmEYLWUZ18MtB4XZW6bobz+ 4Q7bFYdtr427BiQMnivFi2NbG4BQuTZoUEGmjdd4S4ScFeNoI/H6BIoIoh2Hi3Sh2FyM tr895aFkQqPdxgXZ3lYZ+8MXUcvV+A1h50n35WPsTuccMA1Rk9eUxEZ918MQc1WHeHJr BJFAyqC2KcTib8ag1XtbjtkuyveNd/NcqgdPlT1NpwEDEWOcbrpgw9X192DuH4N/zveT kwHTsDI2nFC+vHIEKnQQ2PmyzJ8Pjy41ysRU6R1b+0k38go+Kqm6cIpSUYXYZp7URoPg jHsQ== X-Gm-Message-State: ALoCoQkEC9c1CPFndbWmeMAXeUMvDgIgNs2ptm4FUZ3oZNJsKC19Q6eLKeFNA78WAv488shGcXDZ X-Received: by 10.194.86.74 with SMTP id n10mr937794wjz.132.1404378331929; Thu, 03 Jul 2014 02:05:31 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ek3sm60707505wjd.17.2014.07.03.02.05.30 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Jul 2014 02:05:31 -0700 (PDT) From: Thomas Monjalon To: "Stokes, Ian" Date: Thu, 03 Jul 2014 11:05:24 +0200 Message-ID: <2199944.9mvWnhcZjY@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Building DPDK Libraries with Libtool X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2014 09:05:11 -0000 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