[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1767176] [NEW] GTK build fails with qemu 2.12.0
From: |
Dominyk Tiller |
Subject: |
[Qemu-devel] [Bug 1767176] [NEW] GTK build fails with qemu 2.12.0 |
Date: |
Thu, 26 Apr 2018 18:22:30 -0000 |
Public bug reported:
With the 2.12.0 release of QEMU passing `--enable-gtk` to configure
causes the build to fail. I'm running macOS 10.13.5 with Xcode 9.3 FWIW.
I'm building against GTK 2.24.32, which I appreciate is no longer the
preferred version here, but I don't think the error is related to that
aspect. I'll try and find the time later to attempt a GTK3 build to
check that though.
========================================================================
ui/gtk.c:1147:16: error: use of undeclared identifier
'qemu_input_map_osx_to_qcode'; did you mean 'qemu_input_map_usb_to_qcode'?
return qemu_input_map_osx_to_qcode;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
qemu_input_map_usb_to_qcode
/private/tmp/qemu-20180426-60786-1av6pq8/qemu-2.12.0/include/ui/input.h:99:22:
note: 'qemu_input_map_usb_to_qcode' declared here
extern const guint16 qemu_input_map_usb_to_qcode[];
^
========================================================================
I tried poking around locally by applying the following diff, based off
of a very brief glance over the code involved, but that simply causes
the build to error out in a different way at a later point, so I assume
I'm doing something stupid.
========================================================================
diff --git a/Makefile b/Makefile
index d71dd5b..e857c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -313,6 +313,7 @@ KEYCODEMAP_FILES = \
ui/input-keymap-qnum-to-qcode.c \
ui/input-keymap-usb-to-qcode.c \
ui/input-keymap-win32-to-qcode.c \
+ ui/input-keymap-osx-to-qcode.c \
ui/input-keymap-x11-to-qcode.c \
ui/input-keymap-xorgevdev-to-qcode.c \
ui/input-keymap-xorgkbd-to-qcode.c \
diff --git a/include/ui/input.h b/include/ui/input.h
index 16395ab..8183840 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -101,6 +101,9 @@ extern const guint16 qemu_input_map_usb_to_qcode[];
extern const guint qemu_input_map_win32_to_qcode_len;
extern const guint16 qemu_input_map_win32_to_qcode[];
+extern const guint qemu_input_map_osx_to_qcode_len;
+extern const guint16 qemu_input_map_osx_to_qcode[];
+
extern const guint qemu_input_map_x11_to_qcode_len;
extern const guint16 qemu_input_map_x11_to_qcode[];
========================================================================
** Affects: qemu
Importance: Undecided
Status: New
** Description changed:
With the 2.12.0 release of QEMU passing `--enable-gtk` to configure
causes the build to fail. I'm running macOS 10.13.5 with Xcode 9.3 FWIW.
I'm building against GTK 2.24.32, which I appreciate is no longer the
preferred version here, but I don't think the error is related to that
aspect. I'll try and find the time later to attempt a GTK3 build to
check that though.
- ```
+ ========================================================================
ui/gtk.c:1147:16: error: use of undeclared identifier
'qemu_input_map_osx_to_qcode'; did you mean 'qemu_input_map_usb_to_qcode'?
- return qemu_input_map_osx_to_qcode;
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- qemu_input_map_usb_to_qcode
+ return qemu_input_map_osx_to_qcode;
+ ^~~~~~~~~~~~~~~~~~~~~~~~~~~
+ qemu_input_map_usb_to_qcode
/private/tmp/qemu-20180426-60786-1av6pq8/qemu-2.12.0/include/ui/input.h:99:22:
note: 'qemu_input_map_usb_to_qcode' declared here
extern const guint16 qemu_input_map_usb_to_qcode[];
- ^
- ```
+ ^
+ ========================================================================
I tried poking around locally by applying the following diff, based off
of a very brief glance over the code involved, but that simply causes
the build to error out in a different way at a later point, so I assume
I'm doing something stupid.
-
- ```
+ ========================================================================
diff --git a/Makefile b/Makefile
index d71dd5b..e857c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -313,6 +313,7 @@ KEYCODEMAP_FILES = \
- ui/input-keymap-qnum-to-qcode.c \
- ui/input-keymap-usb-to-qcode.c \
- ui/input-keymap-win32-to-qcode.c \
- + ui/input-keymap-osx-to-qcode.c \
- ui/input-keymap-x11-to-qcode.c \
- ui/input-keymap-xorgevdev-to-qcode.c \
- ui/input-keymap-xorgkbd-to-qcode.c \
+ ui/input-keymap-qnum-to-qcode.c \
+ ui/input-keymap-usb-to-qcode.c \
+ ui/input-keymap-win32-to-qcode.c \
+ + ui/input-keymap-osx-to-qcode.c \
+ ui/input-keymap-x11-to-qcode.c \
+ ui/input-keymap-xorgevdev-to-qcode.c \
+ ui/input-keymap-xorgkbd-to-qcode.c \
diff --git a/include/ui/input.h b/include/ui/input.h
index 16395ab..8183840 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -101,6 +101,9 @@ extern const guint16 qemu_input_map_usb_to_qcode[];
- extern const guint qemu_input_map_win32_to_qcode_len;
- extern const guint16 qemu_input_map_win32_to_qcode[];
-
+ extern const guint qemu_input_map_win32_to_qcode_len;
+ extern const guint16 qemu_input_map_win32_to_qcode[];
+
+extern const guint qemu_input_map_osx_to_qcode_len;
+extern const guint16 qemu_input_map_osx_to_qcode[];
+
- extern const guint qemu_input_map_x11_to_qcode_len;
- extern const guint16 qemu_input_map_x11_to_qcode[];
- ```
+ extern const guint qemu_input_map_x11_to_qcode_len;
+ extern const guint16 qemu_input_map_x11_to_qcode[];
+ ========================================================================
** Description changed:
With the 2.12.0 release of QEMU passing `--enable-gtk` to configure
causes the build to fail. I'm running macOS 10.13.5 with Xcode 9.3 FWIW.
I'm building against GTK 2.24.32, which I appreciate is no longer the
preferred version here, but I don't think the error is related to that
aspect. I'll try and find the time later to attempt a GTK3 build to
check that though.
========================================================================
ui/gtk.c:1147:16: error: use of undeclared identifier
'qemu_input_map_osx_to_qcode'; did you mean 'qemu_input_map_usb_to_qcode'?
return qemu_input_map_osx_to_qcode;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
qemu_input_map_usb_to_qcode
/private/tmp/qemu-20180426-60786-1av6pq8/qemu-2.12.0/include/ui/input.h:99:22:
note: 'qemu_input_map_usb_to_qcode' declared here
extern const guint16 qemu_input_map_usb_to_qcode[];
^
========================================================================
I tried poking around locally by applying the following diff, based off
of a very brief glance over the code involved, but that simply causes
the build to error out in a different way at a later point, so I assume
I'm doing something stupid.
========================================================================
diff --git a/Makefile b/Makefile
index d71dd5b..e857c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -313,6 +313,7 @@ KEYCODEMAP_FILES = \
ui/input-keymap-qnum-to-qcode.c \
ui/input-keymap-usb-to-qcode.c \
ui/input-keymap-win32-to-qcode.c \
- + ui/input-keymap-osx-to-qcode.c \
+ + ui/input-keymap-osx-to-qcode.c \
ui/input-keymap-x11-to-qcode.c \
ui/input-keymap-xorgevdev-to-qcode.c \
ui/input-keymap-xorgkbd-to-qcode.c \
diff --git a/include/ui/input.h b/include/ui/input.h
index 16395ab..8183840 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -101,6 +101,9 @@ extern const guint16 qemu_input_map_usb_to_qcode[];
extern const guint qemu_input_map_win32_to_qcode_len;
extern const guint16 qemu_input_map_win32_to_qcode[];
+extern const guint qemu_input_map_osx_to_qcode_len;
+extern const guint16 qemu_input_map_osx_to_qcode[];
+
extern const guint qemu_input_map_x11_to_qcode_len;
extern const guint16 qemu_input_map_x11_to_qcode[];
========================================================================
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1767176
Title:
GTK build fails with qemu 2.12.0
Status in QEMU:
New
Bug description:
With the 2.12.0 release of QEMU passing `--enable-gtk` to configure
causes the build to fail. I'm running macOS 10.13.5 with Xcode 9.3
FWIW.
I'm building against GTK 2.24.32, which I appreciate is no longer the
preferred version here, but I don't think the error is related to that
aspect. I'll try and find the time later to attempt a GTK3 build to
check that though.
========================================================================
ui/gtk.c:1147:16: error: use of undeclared identifier
'qemu_input_map_osx_to_qcode'; did you mean 'qemu_input_map_usb_to_qcode'?
return qemu_input_map_osx_to_qcode;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
qemu_input_map_usb_to_qcode
/private/tmp/qemu-20180426-60786-1av6pq8/qemu-2.12.0/include/ui/input.h:99:22:
note: 'qemu_input_map_usb_to_qcode' declared here
extern const guint16 qemu_input_map_usb_to_qcode[];
^
========================================================================
I tried poking around locally by applying the following diff, based
off of a very brief glance over the code involved, but that simply
causes the build to error out in a different way at a later point, so
I assume I'm doing something stupid.
========================================================================
diff --git a/Makefile b/Makefile
index d71dd5b..e857c3c 100644
--- a/Makefile
+++ b/Makefile
@@ -313,6 +313,7 @@ KEYCODEMAP_FILES = \
ui/input-keymap-qnum-to-qcode.c \
ui/input-keymap-usb-to-qcode.c \
ui/input-keymap-win32-to-qcode.c \
+ ui/input-keymap-osx-to-qcode.c \
ui/input-keymap-x11-to-qcode.c \
ui/input-keymap-xorgevdev-to-qcode.c \
ui/input-keymap-xorgkbd-to-qcode.c \
diff --git a/include/ui/input.h b/include/ui/input.h
index 16395ab..8183840 100644
--- a/include/ui/input.h
+++ b/include/ui/input.h
@@ -101,6 +101,9 @@ extern const guint16 qemu_input_map_usb_to_qcode[];
extern const guint qemu_input_map_win32_to_qcode_len;
extern const guint16 qemu_input_map_win32_to_qcode[];
+extern const guint qemu_input_map_osx_to_qcode_len;
+extern const guint16 qemu_input_map_osx_to_qcode[];
+
extern const guint qemu_input_map_x11_to_qcode_len;
extern const guint16 qemu_input_map_x11_to_qcode[];
========================================================================
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1767176/+subscriptions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [Bug 1767176] [NEW] GTK build fails with qemu 2.12.0,
Dominyk Tiller <=