[meta-freescale] libepoxy build error for i.MX6-based boards

Nikolay Dimitrov picmaster at mail.bg
Tue May 19 08:25:53 PDT 2015


Hi Neena,

On 05/19/2015 06:15 PM, Neena Busireddy wrote:
> Hi Otavio,
>
> Hello,
>
> O.S. Systems autobuilder has found the following error:
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized"
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) |  #error "Platform not recognized"
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) |   ^
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion"
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion"
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src'
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[2]: *** [all] Error 2
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src'
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build'
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | make: *** [all] Error 2
>
> x11 fsl-image-machine-test at imx6qsabresd (4/7) | ERROR: oe_runmake failed
>
> If someone can take a look, please do.
>
> This regression is caused by the commit
> 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (xserver-xorg: add
> PACKAGECONFIG for wayland and add xserver-xorg-xwayland) pushed in poky.
>
> We are seeing this error as we don’t have x11 and wayland functional
> together.

Well, they don't have to be functional at the same time.

This fixes the issue, as pointed out by Lauren:


meta-fsl-arm/recipes-graphics/libepoxy/libepoxy_%.bbappend:
-----------------------------------------------------------
CFLAGS_append_mx6 = " -DLINUX"


(Actually, Lauren pointed to a more complete fix than this work-around,
but this is what fixed the master build for me, and I'm happy enough to
not care about Wayland for the moment)

Regards,
Nikolay


More information about the meta-freescale mailing list