Received: from eggs.gnu.org ([208.118.235.92]:50953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U23Cb-0001DU-Dc for qemu-devel@nongnu.org; Sun, 03 Feb 2013 12:18:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U23CY-0002gF-P4 for qemu-devel@nongnu.org; Sun, 03 Feb 2013 12:18:01 -0500 Received: from mail-da0-f47.google.com ([209.85.210.47]:56551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U23CY-0002g5-Is for qemu-devel@nongnu.org; Sun, 03 Feb 2013 12:17:58 -0500 Received: by mail-da0-f47.google.com with SMTP id s35so2321404dak.20 for ; Sun, 03 Feb 2013 09:17:57 -0800 (PST) Sender: Richard Henderson Message-ID: <510E9BC0.1000907@twiddle.net> Date: Sun, 03 Feb 2013 09:17:52 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1359757954-2136-1-git-send-email-rth@twiddle.net> In-Reply-To: <1359757954-2136-1-git-send-email-rth@twiddle.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-1.4] 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 I should have put for-1.4 in the subject... r~ On 2013-02-01 14:32, Richard Henderson wrote: > 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 >