DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Building DPDK Libraries with Libtool
@ 2014-07-03  8:30 Stokes, Ian
  2014-07-03  9:05 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Stokes, Ian @ 2014-07-03  8:30 UTC (permalink / raw)
  To: dev

Hi,

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!

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.

Has anyone linked DPDK static libraries to libtool libraries before and if so was it a case that DPDK had to be built with Libtool?

Regards
Ian
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Building DPDK Libraries with Libtool
  2014-07-03  8:30 [dpdk-dev] Building DPDK Libraries with Libtool Stokes, Ian
@ 2014-07-03  9:05 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2014-07-03  9:05 UTC (permalink / raw)
  To: Stokes, Ian; +Cc: 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-03  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03  8:30 [dpdk-dev] Building DPDK Libraries with Libtool Stokes, Ian
2014-07-03  9:05 ` Thomas Monjalon

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git