From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] build: improve error message for missing dependency Date: Thu, 26 Jul 2018 10:05:42 +0200 Message-ID: <1538032.sZLDVcAvc4@xps> References: <20180720132825.772-1-bruce.richardson@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Bruce Richardson Return-path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id A55CA288C for ; Thu, 26 Jul 2018 10:05:48 +0200 (CEST) In-Reply-To: <20180720132825.772-1-bruce.richardson@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 20/07/2018 15:28, Bruce Richardson: > When building a driver or library and a required internal dependency > is missing, the error message printed was: > > Tried to get unknown variable "shared_rte_". > > However, a better way to handle this is to catch the missing variable > earlier and convert it into a proper message, informing the user > that the required dependency is missing, and most importantly, what > library or driver wanted that dependency. > > Signed-off-by: Bruce Richardson Applied, thanks