Re: Some Boxes questions



Hey,

On Thu, Jan 26, 2012 at 06:06:52PM -0500, Michael Hill wrote:
> On Thu, Jan 26, 2012 at 10:19 AM, Christophe Fergeau
> <cfergeau redhat com> wrote:
> 
> > Hmm, yeah right, the version on the symbols is correct, I should have
> > checked that first. Can you cd to the source directory of boxes, and
> > manually run 'make V=1' there and post the output?
> 
> mike@himon:~/checkout/gnome/gnome-boxes> make V=1
> make  all-recursive
> make[1]: Entering directory `/home/mike/checkout/gnome/gnome-boxes'
> Making all in data
> make[2]: Entering directory `/home/mike/checkout/gnome/gnome-boxes/data'
> Making all in icons
> make[3]: Entering directory `/home/mike/checkout/gnome/gnome-boxes/data/icons'
> make[3]: Leaving directory `/home/mike/checkout/gnome/gnome-boxes/data/icons'
> make[3]: Entering directory `/home/mike/checkout/gnome/gnome-boxes/data'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/home/mike/checkout/gnome/gnome-boxes/data'
> make[2]: Leaving directory `/home/mike/checkout/gnome/gnome-boxes/data'
> Making all in src
> make[2]: Entering directory `/home/mike/checkout/gnome/gnome-boxes/src'
> /bin/sh ../libtool  --tag=CC   --mode=link gcc -pthread
> -I/opt/gnome/include/clutter-gtk-1.0 -I/opt/gnome/include/clutter-1.0
> -I/opt/gnome/include/gtk-3.0 -I/opt/gnome/include/cogl
> -I/opt/gnome/include/cairo -I/opt/gnome/include/atk-1.0
> -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/json-glib-1.0
> -I/opt/gnome/include/gdk-pixbuf-2.0 -I/opt/gnome/include/glib-2.0
> -I/opt/gnome/lib64/glib-2.0/include -I/opt/gnome/include/gio-unix-2.0/
> -I/opt/gnome/include/gobject-introspection-1.0
> -I/opt/gnome/include/gtk-vnc-2.0 -I/opt/gnome/include/gvnc-1.0
> -I/opt/gnome/include/libvirt-gobject-1.0
> -I/opt/gnome/include/libvirt-gconfig-1.0
> -I/opt/gnome/include/spice-client-gtk-3.0
> -I/opt/gnome/include/spice-client-glib-2.0
> -I/opt/gnome/include/gudev-1.0 -I/opt/gnome/include/libosinfo-1.0
> -I/opt/gnome/include/spice-1 -I/usr/include/libdrm
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng14 -I/usr/include/libxml2   -g -O2 -w
> -L/opt/gnome/lib64  -o gnome-boxes gnome_boxes-app.o
> gnome_boxes-collection-source.o gnome_boxes-collection-view.o
> gnome_boxes-collection.o gnome_boxes-display-config.o
> gnome_boxes-display-page.o gnome_boxes-display.o
> gnome_boxes-editable-entry.o gnome_boxes-fedora-installer.o
> gnome_boxes-installer-media.o gnome_boxes-libvirt-machine.o
> gnome_boxes-machine.o gnome_boxes-menu-box.o gnome_boxes-mini-graph.o
> gnome_boxes-main.o gnome_boxes-os-database.o
> gnome_boxes-i-properties-provider.o gnome_boxes-properties.o
> gnome_boxes-remote-machine.o gnome_boxes-selectionbar.o
> gnome_boxes-sidebar.o gnome_boxes-spice-display.o gnome_boxes-topbar.o
> gnome_boxes-ui.o gnome_boxes-unattended-installer.o gnome_boxes-util.o
> gnome_boxes-vm-creator.o gnome_boxes-vm-configurator.o
> gnome_boxes-vnc-display.o gnome_boxes-windows-installer.o
> gnome_boxes-win7-installer.o gnome_boxes-winxp-installer.o
> gnome_boxes-wizard-source.o gnome_boxes-wizard.o
> gnome_boxes-notificationbar.o  -pthread -Wl,--export-dynamic
> -L/opt/gnome/lib64 -lclutter-gtk-1.0 -lclutter-1.0 -lcogl-pango
> -ljson-glib-1.0 -lXi -lcogl -ldrm -lX11 -lXext -lXdamage -lXcomposite
> -lXfixes -lgirepository-1.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lffi
> -lgtk-vnc-2.0 -lgvnc-1.0 -lvirt-gobject-1.0 -lvirt-gconfig-1.0 -lxml2
> -lspice-client-gtk-3.0 -lgtk-3 -lspice-client-glib-2.0 -lgdk-3
> -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject
> -lpango-1.0 -lcairo -lpixman-1 -lcelt051 -lm -lssl -lcrypto -ldl -lz
> -lgudev-1.0 -losinfo-1.0 -lgobject-2.0 -lglib-2.0
> libtool: link: gcc -pthread -I/opt/gnome/include/clutter-gtk-1.0
> -I/opt/gnome/include/clutter-1.0 -I/opt/gnome/include/gtk-3.0
> -I/opt/gnome/include/cogl -I/opt/gnome/include/cairo
> -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
> -I/opt/gnome/include/json-glib-1.0 -I/opt/gnome/include/gdk-pixbuf-2.0
> -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include
> -I/opt/gnome/include/gio-unix-2.0/
> -I/opt/gnome/include/gobject-introspection-1.0
> -I/opt/gnome/include/gtk-vnc-2.0 -I/opt/gnome/include/gvnc-1.0
> -I/opt/gnome/include/libvirt-gobject-1.0
> -I/opt/gnome/include/libvirt-gconfig-1.0
> -I/opt/gnome/include/spice-client-gtk-3.0
> -I/opt/gnome/include/spice-client-glib-2.0
> -I/opt/gnome/include/gudev-1.0 -I/opt/gnome/include/libosinfo-1.0
> -I/opt/gnome/include/spice-1 -I/usr/include/libdrm
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng14 -I/usr/include/libxml2 -g -O2 -w -o
> gnome-boxes gnome_boxes-app.o gnome_boxes-collection-source.o
> gnome_boxes-collection-view.o gnome_boxes-collection.o
> gnome_boxes-display-config.o gnome_boxes-display-page.o
> gnome_boxes-display.o gnome_boxes-editable-entry.o
> gnome_boxes-fedora-installer.o gnome_boxes-installer-media.o
> gnome_boxes-libvirt-machine.o gnome_boxes-machine.o
> gnome_boxes-menu-box.o gnome_boxes-mini-graph.o gnome_boxes-main.o
> gnome_boxes-os-database.o gnome_boxes-i-properties-provider.o
> gnome_boxes-properties.o gnome_boxes-remote-machine.o
> gnome_boxes-selectionbar.o gnome_boxes-sidebar.o
> gnome_boxes-spice-display.o gnome_boxes-topbar.o gnome_boxes-ui.o
> gnome_boxes-unattended-installer.o gnome_boxes-util.o
> gnome_boxes-vm-creator.o gnome_boxes-vm-configurator.o
> gnome_boxes-vnc-display.o gnome_boxes-windows-installer.o
> gnome_boxes-win7-installer.o gnome_boxes-winxp-installer.o
> gnome_boxes-wizard-source.o gnome_boxes-wizard.o
> gnome_boxes-notificationbar.o -pthread -Wl,--export-dynamic
> -L/opt/gnome/lib64 -lclutter-gtk-1.0 -lclutter-1.0 -lcogl-pango
> -ljson-glib-1.0 -lXi -lcogl -ldrm -lX11 -lXext -lXdamage -lXcomposite
> -lXfixes -lgirepository-1.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lffi
> -lgtk-vnc-2.0 -lgvnc-1.0 -lvirt-gobject-1.0 -lvirt-gconfig-1.0

The only thing that comes to mind is to add -lvirt-glib-1.0 here, but
I'm a bit surprised that it's needed. Can you try adding this to
src/Makefile manually, rerun make, and see if it helps? If it's really the
problem, I can try thinking about a proper fix (which would probably be
adding libvirt-glib-1.0 to libvirt-gobject-1.0.pc Requires).

Thanks for the logs,

Christophe

> /usr/lib64/libxml2.so -lspice-client-gtk-3.0 -lgtk-3
> -lspice-client-glib-2.0 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
> -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lpixman-1
> -lcelt051 -lm -lssl -lcrypto -ldl -lz -lgudev-1.0 -losinfo-1.0
> -lgobject-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib64 -Wl,-rpath
> -Wl,/usr/lib64
> /opt/gnome/lib64/libvirt-gobject-1.0.so: undefined reference to
> `gvir_set_error_literal@LIBVIRT_GLIB_0.0.4'
> /opt/gnome/lib64/libvirt-gobject-1.0.so: undefined reference to
> `gvir_event_register@LIBVIRT_GLIB_0.0.4'
> /opt/gnome/lib64/libvirt-gobject-1.0.so: undefined reference to
> `gvir_init_check@LIBVIRT_GLIB_0.0.4'
> /opt/gnome/lib64/libvirt-gobject-1.0.so: undefined reference to
> `gvir_set_error@LIBVIRT_GLIB_0.0.4'
> /opt/gnome/lib64/libvirt-gobject-1.0.so: undefined reference to
> `gvir_error_new_literal@LIBVIRT_GLIB_0.0.4'
> collect2: ld returned 1 exit status
> make[2]: *** [gnome-boxes] Error 1
> make[2]: Leaving directory `/home/mike/checkout/gnome/gnome-boxes/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/mike/checkout/gnome/gnome-boxes'
> make: *** [all] Error 2
> 
> 
> > The output of objdump -p /opt/gnome/lib64/libvirt-gobject-1.0.so
> > may also help.
> 
> objdump -p /opt/gnome/lib64/libvirt-gobject-1.0.so
> 
> /opt/gnome/lib64/libvirt-gobject-1.0.so:     file format elf64-x86-64
> 
> Program Header:
>     LOAD off    0x0000000000000000 vaddr 0x0000000000000000 paddr
> 0x0000000000000000 align 2**21
>          filesz 0x00000000000187f4 memsz 0x00000000000187f4 flags r-x
>     LOAD off    0x0000000000018af8 vaddr 0x0000000000218af8 paddr
> 0x0000000000218af8 align 2**21
>          filesz 0x0000000000000db8 memsz 0x0000000000000fa8 flags rw-
>  DYNAMIC off    0x0000000000018c70 vaddr 0x0000000000218c70 paddr
> 0x0000000000218c70 align 2**3
>          filesz 0x00000000000002b0 memsz 0x00000000000002b0 flags rw-
>     NOTE off    0x00000000000001c8 vaddr 0x00000000000001c8 paddr
> 0x00000000000001c8 align 2**2
>          filesz 0x0000000000000024 memsz 0x0000000000000024 flags r--
> EH_FRAME off    0x0000000000015548 vaddr 0x0000000000015548 paddr
> 0x0000000000015548 align 2**2
>          filesz 0x0000000000000914 memsz 0x0000000000000914 flags r--
>    STACK off    0x0000000000000000 vaddr 0x0000000000000000 paddr
> 0x0000000000000000 align 2**3
>          filesz 0x0000000000000000 memsz 0x0000000000000000 flags rw-
>    RELRO off    0x0000000000018af8 vaddr 0x0000000000218af8 paddr
> 0x0000000000218af8 align 2**0
>          filesz 0x0000000000000508 memsz 0x0000000000000508 flags r--
> 
> Dynamic Section:
>   NEEDED               libgio-2.0.so.0
>   NEEDED               libvirt-glib-1.0.so.0
>   NEEDED               libvirt.so.0
>   NEEDED               libgthread-2.0.so.0
>   NEEDED               librt.so.1
>   NEEDED               libvirt-gconfig-1.0.so.0
>   NEEDED               libgobject-2.0.so.0
>   NEEDED               libglib-2.0.so.0
>   NEEDED               libxml2.so.2
>   NEEDED               libdl.so.2
>   NEEDED               libz.so.1
>   NEEDED               libm.so.6
>   NEEDED               libpthread.so.0
>   NEEDED               libc.so.6
>   SONAME               libvirt-gobject-1.0.so.0
>   RPATH                /opt/gnome/lib64:/usr/lib64
>   RUNPATH              /opt/gnome/lib64:/usr/lib64
>   INIT                 0x0000000000007840
>   FINI                 0x0000000000013128
>   HASH                 0x00000000000001f0
>   GNU_HASH             0x0000000000000bc8
>   STRTAB               0x0000000000003200
>   SYMTAB               0x0000000000000fe0
>   STRSZ                0x0000000000002356
>   SYMENT               0x0000000000000018
>   PLTGOT               0x0000000000218fe8
>   PLTRELSZ             0x0000000000001908
>   PLTREL               0x0000000000000007
>   JMPREL               0x0000000000005f38
>   RELA                 0x0000000000005a28
>   RELASZ               0x0000000000000510
>   RELAENT              0x0000000000000018
>   VERDEF               0x0000000000005830
>   VERDEFNUM            0x0000000000000002
>   VERNEED              0x0000000000005868
>   VERNEEDNUM           0x0000000000000004
>   VERSYM               0x0000000000005556
>   RELACOUNT            0x000000000000001e
> 
> Version definitions:
> 1 0x01 0x0fd3eaa0 libvirt-gobject-1.0.so.0
> 2 0x00 0x05bbd274 LIBVIRT_GOBJECT_0.0.4
> 
> Version References:
>   required from libvirt-glib-1.0.so.0:
>     0x068dc924 0x00 14 LIBVIRT_GLIB_0.0.4
>   required from libc.so.6:
>     0x09691a75 0x00 22 GLIBC_2.2.5
>     0x09691974 0x00 13 GLIBC_2.3.4
>   required from libvirt-gconfig-1.0.so.0:
>     0x01cd1324 0x00 09 LIBVIRT_GCONFIG_0.0.4
>   required from libvirt.so.0:
>     0x0af6be30 0x00 26 LIBVIRT_0.1.0
>     0x0af6b637 0x00 25 LIBVIRT_0.9.7
>     0x0af6b536 0x00 24 LIBVIRT_0.8.6
>     0x0af6b532 0x00 23 LIBVIRT_0.8.2
>     0x0af6be31 0x00 21 LIBVIRT_0.1.1
>     0x0af6be35 0x00 20 LIBVIRT_0.1.5
>     0x0af6b831 0x00 19 LIBVIRT_0.7.1
>     0x0af6bb30 0x00 18 LIBVIRT_0.2.0
>     0x0af6b632 0x00 17 LIBVIRT_0.9.2
>     0x0af6ba30 0x00 16 LIBVIRT_0.5.0
>     0x0af6bc32 0x00 15 LIBVIRT_0.3.2
>     0x0af6b833 0x00 12 LIBVIRT_0.7.3
>     0x0af6bd33 0x00 11 LIBVIRT_0.0.3
>     0x0af6b530 0x00 10 LIBVIRT_0.8.0
>     0x0af6b730 0x00 08 LIBVIRT_0.6.0
>     0x0af6bc30 0x00 07 LIBVIRT_0.3.0
>     0x0af6b832 0x00 06 LIBVIRT_0.7.2
>     0x0af6b634 0x00 05 LIBVIRT_0.9.4
>     0x0af6b734 0x00 04 LIBVIRT_0.6.4
>     0x0af6b931 0x00 03 LIBVIRT_0.4.1
> 
> 
> Mike

Attachment: pgpW4lVbRPODa.pgp
Description: PGP signature



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