From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] Fix linking errors when CONFIG_RTE_BUILD_SHARED_LIB is enabled Date: Wed, 01 Oct 2014 13:56:04 +0200 Message-ID: <3354420.dnXLPNUCVP@xps13> References: <1412137623-18817-1-git-send-email-mukawa@igel.co.jp> <20141001105022.GB21151@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org Return-path: In-Reply-To: <20141001105022.GB21151-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> 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" 2014-10-01 06:50, Neil Horman: > On Wed, Oct 01, 2014 at 01:27:03PM +0900, mukawa-AlSX/UN32fvPDbFq/vQRIQ@public.gmane.org wrote: > > When CONFIG_RTE_BUILD_SHARED_LIB is enabled, linking errors occured > > while compiling. It seems those errors are caused by wrong link order > > of some libraries. The patch fixes it like following. > > > > 1. librte_eal > > 2. librte_malloc > > 3. librte_mempool > > 4. librte_ring > > 5. librte_pmd_bond > > 6. librte_kvargs > > > I'm not sure why thats necesecary. We add a --start-group/--end-group pair > halfway through this makefile. If we just encompassed the entire set of > libraries in that group, order would be irrelevant. I don't see any error. Please Tetsuya, could you describe how you test and what is the error message? Thanks -- Thomas