From patchwork Sat Nov 14 00:45:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Turner X-Patchwork-Id: 7616341 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 715119F1C2 for ; Sat, 14 Nov 2015 00:44:21 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B254A2084D for ; Sat, 14 Nov 2015 00:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id A011B2084C for ; Sat, 14 Nov 2015 00:44:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 127E96F1F7; Fri, 13 Nov 2015 16:44:18 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5D8526F1F7 for ; Fri, 13 Nov 2015 16:44:16 -0800 (PST) Received: by pacej9 with SMTP id ej9so8441417pac.2 for ; Fri, 13 Nov 2015 16:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=1RoDpdlGBVskR6dwk716xh1ZMG8ceOkwz15JTpubM5M=; b=KSYbtzbbw9dEitGnGnO1jmqlXLRyACy01KcZ+A3Ls+HGT0Y7gp7J6iJ20FCzjd6/IH ZlxGXgq+Ow09s4gMoQAnOQwyMUY5/8TN1KxgjyiZ+wIDM0Xpo9GDrmqK/P+PS1L6MwHA zoHMpseXqkglzmVQc0ZTxEjwg6BOX1ct6fikFh2RcuTxPZwpy1kmb08YzdJNelBwyTfV QbSRULPoU5aEEI50FOgpKDkuhqLdhLL/10Me+3O3eSkKgv3qgXdH5e1oDVHsz0v3Vt6y lSJvqTVq/wNVKiYVr35uuLTL4XEZzbVyWHg1di+hu+RQCLzY1l0sNTXNWMPIGxuzdhUL Am6w== X-Received: by 10.68.233.233 with SMTP id tz9mr35775584pbc.15.1447461856067; Fri, 13 Nov 2015 16:44:16 -0800 (PST) Received: from localhost ([134.134.139.76]) by smtp.gmail.com with ESMTPSA id ns1sm22578418pbc.67.2015.11.13.16.44.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Nov 2015 16:44:15 -0800 (PST) From: Matt Turner To: intel-gfx@lists.freedesktop.org Date: Fri, 13 Nov 2015 16:45:13 -0800 Message-Id: <1447461913-18427-1-git-send-email-mattst88@gmail.com> X-Mailer: git-send-email 2.4.9 Subject: [Intel-gfx] [PATCH igt] tools/aubdump: Link with -ldl. 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.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 aubdump.c uses dlsym(), so it needs to link with -ldl. Otherwise: /bin/sh: symbol lookup error: /usr/lib64/intel_aubdump.so: undefined symbol: dlsym Signed-off-by: Matt Turner --- tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 8e454b4..90a8ec1 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -14,7 +14,7 @@ module_LTLIBRARIES = intel_aubdump.la moduledir = $(libdir) intel_aubdump_la_LDFLAGS = -module -avoid-version -no-undefined intel_aubdump_la_SOURCES = aubdump.c intel_aub.h -intel_aubdump_la_LIBADD = $(top_builddir)/lib/libintel_tools.la +intel_aubdump_la_LIBADD = $(top_builddir)/lib/libintel_tools.la -ldl bin_SCRIPTS = intel_aubdump CLEANFILES = $(bin_SCRIPTS)