From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6F14A00BE; Fri, 11 Feb 2022 11:31:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5DF6141144; Fri, 11 Feb 2022 11:31:50 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id E0E1C40150 for ; Fri, 11 Feb 2022 11:31:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644575509; x=1676111509; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hxv9+3K58UlWWnQX2MRSGth2x/hVQ2XyQzZ/bAOI3cM=; b=kMWGA4PsT2nuwKILTMQKM13IVx9t/ouEuYFNhEEhgjdvvLB7z34YC09m 2TfbhPEtNeEhEYE8OPaCGxWAcogRprtfcx4PHv1YSqjyFSApApfVeC0Jb 4UtvDeL95biKbKiL0UvwXBg22wFwH903lGo9adY8zBMkVbunv9fxHM7m/ rJdwvOltrwG3ZLhe5nb78JEVLnSV0SAGfZ4KfPE6I5NVSV0AQ6qK6wBOX Bi2VnbJDibWD9m0bTPkD/WJYewT7c1a6fv6gC35T6jKwoiwKvGEUf2c41 S8/IEa3dtotCnkqf9iRU3285YNTVfCix1CaoEdP4puzUWgRNd9368JIgK g==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="237112891" X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208";a="237112891" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 02:31:43 -0800 X-IronPort-AV: E=Sophos;i="5.88,360,1635231600"; d="scan'208";a="623184413" Received: from bricha3-mobl.ger.corp.intel.com ([10.252.19.11]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 11 Feb 2022 02:31:42 -0800 Date: Fri, 11 Feb 2022 10:31:38 +0000 From: Bruce Richardson To: Thomas Monjalon Cc: dev@dpdk.org, Aaron Conole , Michael Santana Subject: Re: [PATCH v4 7/7] buildtools/chkincs: test headers for C++ compatibility Message-ID: References: <20220204174209.440207-1-bruce.richardson@intel.com> <20220210154239.587185-1-bruce.richardson@intel.com> <20220210154239.587185-8-bruce.richardson@intel.com> <17685173.sWSEgdgrri@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17685173.sWSEgdgrri@thomas> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Feb 10, 2022 at 10:58:37PM +0100, Thomas Monjalon wrote: > 10/02/2022 16:42, Bruce Richardson: > > +executable('chkincs-cpp', cpp_sources, + cpp_args: ['-include', > > 'rte_config.h', cflags], + link_args: dpdk_extra_ldflags, + > > include_directories: includes, + dependencies: deps, + > > link_whole: dpdk_static_libraries + dpdk_drivers, + install: > > false) > > devtools/test-meson-builds.sh is failing on build-x86-generic at link > stage: /usr/bin/ld: cannot find -lIPSec_MB That's probably because there > is no pkg-config file for this lib, and it is not installed in a standard > directory, so my setup is adding -L in LDFLAGS. > The test-meson-build.sh script works fine for me on my system with the ipsec_mb libraries being found ok [installed in standard path]. Can you share how you are adding the extra library paths, is it via environment or via c_link_args? /Bruce