qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH for-1.4] configure: Fix build with XFree


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH for-1.4] configure: Fix build with XFree
Date: Sun, 03 Feb 2013 09:17:52 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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 <address@hidden>
---
  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 <X11/Xlib.h>
  #include <GL/gl.h>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]