All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Olaf Hering <olaf@aepfle.de>,
	qemu-devel@nongnu.org, Quan Xu <xuquan8@huawei.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Quan Xu <quan.xu@intel.com>, Emil Condrea <emilcondrea@gmail.com>
Subject: Re: [Qemu-devel] build failures in master
Date: Wed, 02 Nov 2016 09:41:01 +0100	[thread overview]
Message-ID: <1478076061.1578.17.camel@redhat.com> (raw)
In-Reply-To: <d68bf790-157d-5973-3faf-64cf0d014780@redhat.com>

On Mi, 2016-11-02 at 09:26 +0100, Thomas Huth wrote:
> On 02.11.2016 09:14, Thomas Huth wrote:
> > On 02.11.2016 08:03, Olaf Hering wrote:
> >> Not sure if there are automated build tests to catch such mistakes,
> >> these errors appeared after qemu-20161028T142950.fd209e4:
> >>
> >> [  337s] ../hw/xen/xen_pvdev.o: In function `xen_pv_printf':
> >> [  337s] /home/abuild/rpmbuild/BUILD/qemu-20161101T165305.4eb28ab/hw/xen/xen_pvdev.c:220: undefined reference to `qemu_log_vprintf'
> > 
> > Does it work if you add an explicit #include "qemu/log.h" at the
> > beginning of that file (after osdep.h)?
> > 
> >> [  220s] ui/gtk.c: In function 'gd_text_key_down':
> >> [  220s] ui/gtk.c:1073: error: 'GDK_KEY_Delete' undeclared (first use in this function)
> > 
> > That one is strange ... it should get defined by <gdk/gdkkeysyms.h>
> > which we include from include/ui/gtk.h (and that file is included in
> > ui/gtk.c), so I fail to see how that could not be defined on your
> > system. Which version of GTK are you using?
> 
> OK, looks like the name changed with gtk version 2.22:
> 
> https://git.gnome.org/browse/gtk+/commit/gdk/gdkkeysyms.h?id=913cdf3be750a1e74c09b20edf55a57f9a919fcc
> 
> I'll try to come up with a patch for this issue (since we still seem to
> support gtk 2.18 in QEMU) ...

Ah, right, that one.  Top of gtk.c file already has a bunch of #defines
for that where we can simply add the delete key.  And as you've tracked
down it's changed in 2.22 + newer if would be nice to change the #ifdef
to use GTK_CHECK_VERSION so we record this fact in the source file.

thanks,
  Gerd

  reply	other threads:[~2016-11-02  8:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02  7:03 [Qemu-devel] build failures in master Olaf Hering
2016-11-02  8:14 ` Thomas Huth
2016-11-02  8:26   ` Thomas Huth
2016-11-02  8:41     ` Gerd Hoffmann [this message]
2016-11-02  8:37   ` Olaf Hering
2016-11-02  8:54     ` Olaf Hering
2016-11-02  8:35 ` Gerd Hoffmann

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=1478076061.1578.17.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=emilcondrea@gmail.com \
    --cc=olaf@aepfle.de \
    --cc=qemu-devel@nongnu.org \
    --cc=quan.xu@intel.com \
    --cc=sstabellini@kernel.org \
    --cc=thuth@redhat.com \
    --cc=xuquan8@huawei.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.