From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, afaerber@suse.de
Subject: Re: [Qemu-devel] [PATCH for-1.4] configure: Fix build with XFree
Date: Sun, 03 Feb 2013 09:17:52 -0800 [thread overview]
Message-ID: <510E9BC0.1000907@twiddle.net> (raw)
In-Reply-To: <1359757954-2136-1-git-send-email-rth@twiddle.net>
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 <rth@twiddle.net>
> ---
> 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>
>
prev parent reply other threads:[~2013-02-03 17:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-01 22:32 [Qemu-devel] [PATCH] configure: Fix build with XFree Richard Henderson
2013-02-03 17:17 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=510E9BC0.1000907@twiddle.net \
--to=rth@twiddle.net \
--cc=afaerber@suse.de \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).