From mboxrd@z Thu Jan 1 00:00:00 1970 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) Sender: Richard Henderson From: Richard Henderson Date: Fri, 1 Feb 2013 14:32:34 -0800 Message-Id: <1359757954-2136-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH] configure: Fix build with XFree List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: blauwirbel@gmail.com, afaerber@suse.de 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 -- 1.7.11.7