From patchwork Tue Apr 21 16:08:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tim.gore@intel.com X-Patchwork-Id: 6251491 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C92E59F32B for ; Tue, 21 Apr 2015 16:08:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0844A20303 for ; Tue, 21 Apr 2015 16:08:41 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 04647202FE for ; Tue, 21 Apr 2015 16:08:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 915D389D99; Tue, 21 Apr 2015 09:08:39 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTP id 1BCD789D5F for ; Tue, 21 Apr 2015 09:08:38 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 21 Apr 2015 09:08:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,616,1422950400"; d="scan'208";a="712999246" Received: from tgore-linux.isw.intel.com ([10.102.226.89]) by fmsmga002.fm.intel.com with ESMTP; 21 Apr 2015 09:08:18 -0700 From: tim.gore@intel.com To: intel-gfx@lists.freedesktop.org Date: Tue, 21 Apr 2015 17:08:17 +0100 Message-Id: <1429632497-5416-1-git-send-email-tim.gore@intel.com> X-Mailer: git-send-email 2.3.0 Cc: thomas.wood@intel.com Subject: [Intel-gfx] [PATCH i-g-t] tools/quick_dump/makefile.am: add -lrt to get clock_gettime X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tim Gore Attempting to build IGT on linux without libunwind fails due to tools/quick_dump not linking the rt library, causing an undefined symbol error for clock_gettime. Adding -lrt to the list of libraries in Makefile.am fixes this. Signed-off-by: Tim Gore --- tools/quick_dump/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/quick_dump/Makefile.am b/tools/quick_dump/Makefile.am index 7b06ec3..83f93a2 100644 --- a/tools/quick_dump/Makefile.am +++ b/tools/quick_dump/Makefile.am @@ -14,6 +14,7 @@ I915ChipsetPython_la_LIBADD = \ $(DRM_LIBS) \ $(CAIRO_LIBS) \ $(LIBUNWIND_LIBS) \ + -lrt $(NULL) chipset.py: chipset_wrap_python.c