|
From: | Max Gorley |
Subject: | Re: [Qemu-discuss] Compiling custom QEMU fails |
Date: | Thu, 18 Sep 2014 17:09:11 -0400 |
Here is the full output (starting with shell):
address@hidden:~/qemu-pi/qemu# make CC ui/gtk.o ui/gtk.c: In function ‘gd_vc_vte_init’: ui/gtk.c:1460:7: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr = chr; ^ ui/gtk.c:1463:41: error: ‘VirtualConsole’ has no member named ‘vte’ vc->label = g_strdup_printf("%s", vc->vte.chr->label ^ ui/gtk.c:1464:37: error: ‘VirtualConsole’ has no member named ‘vte’ ? vc->vte.chr->label : buffer); ^ ui/gtk.c:1467:7: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.terminal = vte_terminal_new(); ^ ui/gtk.c:1467:5: error: implicit declaration of function ‘vte_terminal_new’ [-Werror=implicit-function-declaration] vc->vte.terminal = vte_terminal_new(); ^ ui/gtk.c:1467:5: error: nested extern declaration of ‘vte_terminal_new’ [-Werror=nested-externs] In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ui/gtk.c:48: ui/gtk.c:1468:24: error: ‘VirtualConsole’ has no member named ‘vte’ g_signal_connect(vc->vte.terminal, "commit", G_CALLBACK(gd_vc_in), vc); ^ /usr/include/glib-2.0/gobject/gsignal.h:472:29: note: in definition of macro ‘g_signal_connect’ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^ ui/gtk.c:1468:61: error: ‘gd_vc_in’ undeclared (first use in this function) g_signal_connect(vc->vte.terminal, "commit", G_CALLBACK(gd_vc_in), vc); ^ /usr/include/glib-2.0/gobject/gsignal.h:472:60: note: in definition of macro ‘g_signal_connect’ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^ ui/gtk.c:1468:50: note: in expansion of macro ‘G_CALLBACK’ g_signal_connect(vc->vte.terminal, "commit", G_CALLBACK(gd_vc_in), vc); ^ ui/gtk.c:1468:61: note: each undeclared identifier is reported only once for each function it appears in g_signal_connect(vc->vte.terminal, "commit", G_CALLBACK(gd_vc_in), vc); ^ /usr/include/glib-2.0/gobject/gsignal.h:472:60: note: in definition of macro ‘g_signal_connect’ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^ ui/gtk.c:1468:50: note: in expansion of macro ‘G_CALLBACK’ g_signal_connect(vc->vte.terminal, "commit", G_CALLBACK(gd_vc_in), vc); ^ ui/gtk.c:1470:5: error: implicit declaration of function ‘vte_terminal_set_scrollback_lines’ [-Werror=implicit-function-declaration] vte_terminal_set_scrollback_lines(VTE_TERMINAL(vc->vte.terminal), -1); ^ ui/gtk.c:1470:5: error: nested extern declaration of ‘vte_terminal_set_scrollback_lines’ [-Werror=nested-externs] ui/gtk.c:1470:5: error: implicit declaration of function ‘VTE_TERMINAL’ [-Werror=implicit-function-declaration] ui/gtk.c:1470:5: error: nested extern declaration of ‘VTE_TERMINAL’ [-Werror=nested-externs] ui/gtk.c:1470:54: error: ‘VirtualConsole’ has no member named ‘vte’ vte_terminal_set_scrollback_lines(VTE_TERMINAL(vc->vte.terminal), -1); ^ ui/gtk.c:1471:5: error: implicit declaration of function ‘vte_terminal_set_size’ [-Werror=implicit-function-declaration] vte_terminal_set_size(VTE_TERMINAL(vc->vte.terminal), ^ ui/gtk.c:1471:5: error: nested extern declaration of ‘vte_terminal_set_size’ [-Werror=nested-externs] ui/gtk.c:1471:42: error: ‘VirtualConsole’ has no member named ‘vte’ vte_terminal_set_size(VTE_TERMINAL(vc->vte.terminal), ^ ui/gtk.c:1478:5: error: implicit declaration of function ‘vte_terminal_get_adjustment’ [-Werror=implicit-function-declaration] vadjustment = vte_terminal_get_adjustment(VTE_TERMINAL(vc->vte.terminal)); ^ ui/gtk.c:1478:5: error: nested extern declaration of ‘vte_terminal_get_adjustment’ [-Werror=nested-externs] ui/gtk.c:1478:62: error: ‘VirtualConsole’ has no member named ‘vte’ vadjustment = vte_terminal_get_adjustment(VTE_TERMINAL(vc->vte.terminal)); ^ ui/gtk.c:1489:40: error: ‘VirtualConsole’ has no member named ‘vte’ gtk_box_pack_start(GTK_BOX(box), vc->vte.terminal, TRUE, TRUE, 0); ^ ui/gtk.c:1492:7: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr->opaque = vc; ^ ui/gtk.c:1493:7: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.box = box; ^ ui/gtk.c:1494:7: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.scrollbar = scrollbar; ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:28:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from ui/gtk.c:48: ui/gtk.c:1497:33: error: ‘gd_vc_adjustment_changed’ undeclared (first use in this function) G_CALLBACK(gd_vc_adjustment_changed), vc); ^ /usr/include/glib-2.0/gobject/gsignal.h:472:60: note: in definition of macro ‘g_signal_connect’ g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^ ui/gtk.c:1497:22: note: in expansion of macro ‘G_CALLBACK’ G_CALLBACK(gd_vc_adjustment_changed), vc); ^ ui/gtk.c:1500:32: error: ‘VirtualConsole’ has no member named ‘vte’ qemu_chr_be_generic_open(vc->vte.chr); ^ ui/gtk.c:1501:11: error: ‘VirtualConsole’ has no member named ‘vte’ if (vc->vte.chr->init) { ^ ui/gtk.c:1502:11: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr->init(vc->vte.chr); ^ ui/gtk.c:1502:29: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr->init(vc->vte.chr); ^ ui/gtk.c:1510:32: error: ‘VirtualConsole’ has no member named ‘vte’ qemu_chr_be_generic_open(vc->vte.chr); ^ ui/gtk.c:1511:11: error: ‘VirtualConsole’ has no member named ‘vte’ if (vc->vte.chr->init) { ^ ui/gtk.c:1512:11: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr->init(vc->vte.chr); ^ ui/gtk.c:1512:29: error: ‘VirtualConsole’ has no member named ‘vte’ vc->vte.chr->init(vc->vte.chr); ^ ui/gtk.c: In function ‘gd_vcs_init’: ui/gtk.c:1523:21: error: ‘nb_vcs’ undeclared (first use in this function) for (i = 0; i < nb_vcs; i++) { ^ ui/gtk.c:1525:39: error: ‘vcs’ undeclared (first use in this function) group = gd_vc_vte_init(s, vc, vcs[i], s->nb_vcs, group, view_menu); ^ ui/gtk.c: At top level: ui/gtk.c:1529:2: error: #endif without #if #endif /* CONFIG_VTE */ ^ ui/gtk.c:1518:13: error: ‘gd_vcs_init’ defined but not used [-Werror=unused-function] static void gd_vcs_init(GtkDisplayState *s, GSList *group, ^ cc1: all warnings being treated as errors make: *** [ui/gtk.o] Error 1 address@hidden:~/qemu-pi/qemu# |
[Prev in Thread] | Current Thread | [Next in Thread] |