From patchwork Thu Apr 24 09:36:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "john.liuli" X-Patchwork-Id: 342597 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id BEC91140159 for ; Fri, 25 Apr 2014 12:27:09 +1000 (EST) Received: from localhost ([::1]:54100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdVr1-0000vi-7A for incoming@patchwork.ozlabs.org; Thu, 24 Apr 2014 22:27:07 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdUwc-0000Cg-BJ for qemu-devel@nongnu.org; Thu, 24 Apr 2014 21:33:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WdG5q-0007L4-6p for qemu-devel@nongnu.org; Thu, 24 Apr 2014 05:37:31 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:7516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WdG5p-0007Ce-CT for qemu-devel@nongnu.org; Thu, 24 Apr 2014 05:37:22 -0400 Received: from 172.24.2.119 (EHLO szxeml211-edg.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id ANU97793; Thu, 24 Apr 2014 17:37:10 +0800 (CST) Received: from SZXEML449-HUB.china.huawei.com (10.82.67.192) by szxeml211-edg.china.huawei.com (172.24.2.182) with Microsoft SMTP Server (TLS) id 14.3.158.1; Thu, 24 Apr 2014 17:36:44 +0800 Received: from [127.0.0.1] (10.142.143.9) by szxeml449-hub.china.huawei.com (10.82.67.192) with Microsoft SMTP Server id 14.3.158.1; Thu, 24 Apr 2014 17:36:37 +0800 Message-ID: <5358DB23.7030105@huawei.com> Date: Thu, 24 Apr 2014 17:36:35 +0800 From: "john.liuli" User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: , , X-Originating-IP: [10.142.143.9] X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 119.145.14.66 Subject: [Qemu-devel] [PATCH v2] configure: add more detailed hint of old libfdt-dev missing, libfdt_env.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org libfdt_env.h is missing in some stable installs (<1.3.0-3), some released linux distributions(e.g. Ubuntu 12.04) depending on it still complain missing libfdt even if already installed. So give more detailed hint for such OS users. Signed-off-by: Liu Li --- configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 69b9f56..8eb0b90 100755 --- a/configure +++ b/configure @@ -2948,8 +2948,9 @@ EOF fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs" elif test "$fdt" = "yes" ; then # have neither and want - prompt for system/submodule install - error_exit "DTC (libfdt) not present. Your options:" \ - " (1) Preferred: Install the DTC (libfdt) devel package" \ + error_exit "DTC (libfdt) not present or too old. Your options:" \ + " (1) Preferred: Install or update the DTC (libfdt)" \ + " devel package" \ " (2) Fetch the DTC submodule, using:" \ " git submodule update --init dtc" else