cogl 1.22 compile error
I am prepare compile gnome for NXP i.MX8 series(GPU vivante GC7000), when I use jhbuild to build cogl,happen error:
/home/nxp/jhbuild/checkout/cogl/autogen.sh --prefix /home/nxp/jhbuild/install --disable-Werror --disable-maintainer-flags --enable-xlib-egl-platform --enable-wayland-egl-platform --enable-wayland-egl-server --enable-kms-egl-platform --disable-static --disable-gtk-doc
...
CC cogl-winsys-egl-wayland.lo
CC cogl-winsys-egl-kms.lo
CC cogl-winsys-egl-x11.lo
CC cogl-winsys-egl.lo
In file included from /home/nxp/jhbuild/checkout/cogl/cogl/winsys/cogl-winsys-egl-kms.c:61:
/home/nxp/jhbuild/checkout/cogl/cogl/winsys/cogl-winsys-egl-kms.c: In function ‘_cogl_winsys_onscreen_swap_buffers_with_damage’:
/home/nxp/jhbuild/checkout/cogl/cogl/cogl-version.h:127:12: error: missing expression between '(' and ')'
| (micro))
^
/home/nxp/jhbuild/checkout/cogl/cogl/winsys/cogl-winsys-egl-kms.c:879:6: note: in expansion of macro ‘COGL_VERSION_ENCODE’
#if (COGL_VERSION_ENCODE (COGL_GBM_MAJOR, COGL_GBM_MINOR, COGL_GBM_MICRO) >= \
what is the cause of the issue? How to fix it?
rootfs is ubuntu-base-19.04-base-arm64
Edited by Emmanuele Bassi