From patchwork Fri Feb 1 22:32:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 217605 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DDBCA2C008E for ; Sat, 2 Feb 2013 09:37:31 +1100 (EST) Received: from localhost ([::1]:33238 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1PEf-0005pc-Qk for incoming@patchwork.ozlabs.org; Fri, 01 Feb 2013 17:37:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1PDV-0005Pi-Hl for qemu-devel@nongnu.org; Fri, 01 Feb 2013 17:37:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U1P9z-0005CE-L0 for qemu-devel@nongnu.org; Fri, 01 Feb 2013 17:36:17 -0500 Received: from mail-ie0-x22a.google.com ([2607:f8b0:4001:c03::22a]:45523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U1P9z-0005BU-GX for qemu-devel@nongnu.org; Fri, 01 Feb 2013 17:32:39 -0500 Received: by mail-ie0-f170.google.com with SMTP id c11so3974849ieb.15 for ; Fri, 01 Feb 2013 14:32:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer; bh=GcE43nORmQ+TqaNO6bx5IM/1XOdJPmv+D7M4b7Vhix8=; b=wuXchDRMXSv/9mdalx7OIKybNKEN2XIr/2b5fLe2NX3z2XkbSYUXdVBbLPP+vDPStp M+icHpHdobk50as/H2uy3bDUUQzTb9UcF08ytkI3m2OSLMYOwD/Gf0rzVpQkOHlhk2Ur kxf9bSKVgoCJHysmTquNPdVCZtMUGS1dtFZHlVkxC8l09DMEsenbs8GaEZLRkSGhoUPZ 9RXJSCw+huGCIcqXxCq3XQCIxFTSundYOLkixc5etXvRY6X5qXzTe87fU+eEtZtUy3+G d25ZswwS2haaV/sGEHJVEs11ZnIS5i7S5VwpCkQNN4j6KCnzeU7KdjDGp+0JRLjLRjLN 0lCQ== X-Received: by 10.50.57.168 with SMTP id j8mr207499igq.51.1359757958998; Fri, 01 Feb 2013 14:32:38 -0800 (PST) Received: from anchor.twiddle.home.com (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPS id fa6sm4448358igb.2.2013.02.01.14.32.37 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 01 Feb 2013 14:32:38 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 1 Feb 2013 14:32:34 -0800 Message-Id: <1359757954-2136-1-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.11.7 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22a Cc: blauwirbel@gmail.com, afaerber@suse.de Subject: [Qemu-devel] [PATCH] configure: Fix build with XFree 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 The build is broken on ppc64-linux, possibly only with new binutils: ld: hw/lm32/../milkymist-tmu2.o: undefined reference to symbol 'XFree' ld: note: 'XFree' is defined in DSO /lib64/libX11.so.6 so try \ adding it to the linker command line So let's follow the linker's advice. Signed-off-by: Richard Henderson --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 0657b1a..8789324 100755 --- a/configure +++ b/configure @@ -2388,7 +2388,7 @@ fi ########################################## # opengl probe, used by milkymist-tmu2 if test "$opengl" != "no" ; then - opengl_libs="-lGL" + opengl_libs="-lGL -lX11" cat > $TMPC << EOF #include #include