libepoxy.bb recipe is incomplete. http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-graphics/libepoxy/libepoxy_1.2.bb libepoxy will also supports OpenGL, if can be configured in the OECONF, since all platforms does not support OpenGL. there should be way for configuring this.
pkgconfig wil provide -DLINUX flags and currently it is being provided by egl.pc. but the libepoxy is using opengl causing this problem. for i.MX6, recommended to enable EGL rather than OpenGL/GLX. So the proper fix is adding configure options in libepoxy.bb to disable/enable GLX. And another fix is to add -DLINUX in the OpenGL pkgconfig libepoxy_%.bbappend is a workaround for now. On Tue, May 19, 2015 at 10:25 AM, Nikolay Dimitrov <[email protected]> wrote: > 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@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@imx6qsabresd (4/7) | #error "Platform not >> recognized" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | ^ >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: >> unrecognized command line option "-Wno-int-conversion" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** >> [glx_generated_dispatch.lo] Error 1 >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: >> unrecognized command line option "-Wno-int-conversion" >> >> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** >> [gl_generated_dispatch.lo] Error 1 >> >> x11 fsl-image-machine-test@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@imx6qsabresd (4/7) | make[2]: *** [all] Error >> 2 >> >> x11 fsl-image-machine-test@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@imx6qsabresd (4/7) | make[1]: *** >> [all-recursive] Error 1 >> >> x11 fsl-image-machine-test@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@imx6qsabresd (4/7) | make: *** [all] Error 2 >> >> x11 fsl-image-machine-test@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 > > -- > _______________________________________________ > meta-freescale mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-freescale >
-- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
