[Spice-devel] [spice-gtk] build failed with version 0.19 without X11 in embedded device

Marc-André Lureau mlureau at redhat.com
Tue May 7 03:45:57 PDT 2013


Hi

----- Mensaje original -----
> Hi,
> It's the bug ? if so, someone have patches for this ?
> 
> log is following :
> es -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const
> -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -Wno-write-strings
> -pthread
> -I/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/sysroots/imx6qsabresd/usr/include/glib-2.0
> -I/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/sysroots/imx6qsabresd/usr/lib/glib-2.0/include
> -DSPICE_DISABLE_DEPRECATED -O2 -pipe -g -feliminate-unused-debug-types -c -o
> spicy-gnome-rr-generic.o `test -f 'display/gnome-rr-generic.c' || echo
> '/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/spice-gtk/0.19-r0/spice-gtk-0.19/gtk/'`display/gnome-rr-generic.c
> | ../libtool --tag=CC --mode=link gcc -march=armv7-a -mthumb-interwork
> | -mfloat-abi=softfp -mfpu=neon
> | --sysroot=/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/sysroots/imx6qsabresd
> | -std=gnu99 -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1
> | -Wl,--hash-style=gnu -Wl,--as-needed -pthread -o spicy spicy-spicy.o
> | spicy-spice-cmdline.o spicy-edid-parse.o spicy-display-name.o
> | spicy-gnome-rr-config.o spicy-gnome-rr-output-info.o spicy-gnome-rr.o
> | spicy-gnome-rr-generic.o libspice-client-gtk-2.0.la
> | libspice-client-glib-2.0.la -pthread -lgthread-2.0 -lglib-2.0
> | -lgtk-directfb-2.0 -lgdk-directfb-2.0 -latk-1.0 -lgio-2.0 -lpangocairo-1.0
> | -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lm
> | libtool: link: warning: library
> | `/home/jojo/work/imx6q/rootfs_builder/build/tmp/sysroots/imx6qsabresd/usr/lib/libgtk-x11-2.0.la'
> | was moved.
> | libtool: link: warning: library
> | `/home/jojo/work/imx6q/rootfs_builder/build/tmp/sysroots/imx6qsabresd/usr/lib/libgdk-x11-2.0.la'
> | was moved.
> | libtool: link: cannot find the library
> | `/home/jojo/work/imx6q/rootfs_builder.orig/build-dfb/tmp/sysroots/imx6qsabresd/usr/lib/libxcb-shm.la'
> | or unhandled argument `=/usr/lib/libxcb-shm.la'


libtool is not happy, you probably did something not clean building your sysroot..
I haven't tried to cross-compile spice-gtk with poky, but I don't think this build error is from spice-gtk.


More information about the Spice-devel mailing list