qemu-discuss
[Top][All Lists]
Advanced

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

[Qemu-discuss] Building issues with qemu-2.10.1


From: John Edward Serink
Subject: [Qemu-discuss] Building issues with qemu-2.10.1
Date: Wed, 15 Nov 2017 18:09:00 +0800

Hi All;

I am getting this error when building from source n Gentoo:
In file included from /usr/include/epoxy/egl.h:46:0,
                 from /var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-
2.10.1/include/ui/egl-helpers.h:5,
                 from /var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-
2.10.1/include/ui/spice-display.h:30,
                 from 
/var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-2.10.1/ui/spice-
display.c:27:
/var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-2.10.1/ui/spice-display.c: 
In function
‘qemu_spice_gl_create_context’:
/var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-2.10.1/ui/spice-display.c:927:38:
error: expected expression before ‘EGLSurface’
     eglMakeCurrent(qemu_egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                      ^
/var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-2.10.1/ui/spice-display.c:927:54:
error: expected expression before ‘EGLSurface’
     eglMakeCurrent(qemu_egl_display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                                      ^
make: *** 
[/var/tmp/portage/app-emulation/qemu-2.10.1/work/qemu-2.10.1/rules.mak:66:
ui/spice-display.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: app-emulation/qemu-2.10.1::gentoo failed (compile phase):
 *   emake failed
Here are my build options per the gentoo ebuild:
[ebuild     U  ] app-emulation/qemu-2.10.1::gentoo [2.10.0::gentoo] USE="aio 
alsa bluetooth
bzip2 caps curl fdt filecaps gtk jpeg ncurses nls opengl pin-upstream-blobs png 
seccomp
spice usb vde vhost-net virgl vnc vte xattr -accessibility -debug (-glusterfs) 
-gnutls
-gtk2 -infiniband -iscsi -lzo -nfs -numa -pulseaudio -python -rbd -sasl -sdl* 
-sdl2* (-
selinux) -smartcard -snappy -ssh -static -static-user -systemtap -tci {-test} 
-usbredir
-virtfs -xen -xfs" LINGUAS="-bg -de_DE -fr_FR -hu -it -tr -zh_CN"
PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="x86_64 



I get almost exactly the same error when attempting to build spice-gtk-33-r2:
ch=native -mtune=native -c -o spicy-spicy.o `test -f 'spicy.c' || echo 
'./'`spicy.c
cc1: warning: /usr/local/include: No such file or directory 
[-Wmissing-include-dirs]
cc1: warning: /usr/local/include: No such file or directory 
[-Wmissing-include-dirs]
In file included from /usr/include/epoxy/egl.h:46:0,
                 from spice-widget-priv.h:28,
                 from spice-widget-egl.c:26:
spice-widget-egl.c: In function ‘spice_egl_init’:
spice-widget-egl.c:220:27: error: expected expression before ‘EGLDisplay’
     if (d->egl.display == EGL_NO_DISPLAY) {
                           ^
spice-widget-egl.c:258:35: error: expected expression before ‘EGLContext’
                                   EGL_NO_CONTEXT,
                                   ^
spice-widget-egl.c:266:36: error: expected expression before ‘EGLSurface’
     eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                    ^
spice-widget-egl.c:266:52: error: expected expression before ‘EGLSurface’
     eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                                    ^
spice-widget-egl.c: In function ‘spice_egl_unrealize_display’:
spice-widget-egl.c:404:31: error: expected expression before ‘EGLSurface’
         if (d->egl.surface != EGL_NO_SURFACE) {
                               ^
spice-widget-egl.c:406:30: error: expected expression before ‘EGLSurface’
             d->egl.surface = EGL_NO_SURFACE;
                              ^
spice-widget-egl.c:414:40: error: expected expression before ‘EGLSurface’
         eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                        ^
spice-widget-egl.c:414:56: error: expected expression before ‘EGLSurface’
         eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
                                                        ^
spice-widget-egl.c:415:24: error: expected expression before ‘EGLContext’
                        EGL_NO_CONTEXT);
                        ^
spice-widget-egl.c: In function ‘spice_egl_update_scanout’:
spice-widget-egl.c:665:40: error: expected expression before ‘EGLContext’
                                        EGL_NO_CONTEXT,
                                        ^
make[4]: *** [Makefile:1327: spice-widget-egl.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory 
'/var/tmp/portage/net-misc/spice-gtk-0.33-r2/work/spice-gtk-
0.33/src'
make[3]: *** [Makefile:1545: all-recursive] Error 1
make[3]: Leaving directory 
'/var/tmp/portage/net-misc/spice-gtk-0.33-r2/work/spice-gtk-
0.33/src'
make[2]: *** [Makefile:1048: all] Error 2
make[2]: Leaving directory 
'/var/tmp/portage/net-misc/spice-gtk-0.33-r2/work/spice-gtk-
0.33/src'
make[1]: *** [Makefile:658: all-recursive] Error 1
make[1]: Leaving directory 
'/var/tmp/portage/net-misc/spice-gtk-0.33-r2/work/spice-gtk-
0.33'
make: *** [Makefile:563: all] Error 2
 * ERROR: net-misc/spice-gtk-0.33-r2::gentoo failed (compile phase):



Anyone know what direction to point me in to troubleshoot this?

Cheers,
John


-- 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]