[meta-freescale] Build error on gstreamer1.0-plugins-imx with framebuffer

Carlos Rafael Giani dv at pseudoterminal.org
Fri May 9 07:10:45 PDT 2014


On 2014-05-09 15:55, Chiyosuke Fujii wrote:
> Hello,
>
> I'm using wandboard-quad and 'master' branch, and I met two errors with
> 'bitbake core-image-base' + Qt5 + gstreamer1.0 + 
> DISTRO_FEATURE_append=" fb"
>
> The errors are when bitbake is compiling gstreamer1.0-plugins-bad, 
> those are caused
> by line 43 of /usr/include/EGL/eglvivante.h
>
> it has
> #elif defined(LINUX) && defined(EGL_API_FB)
> but "EGL_API_FB" is not defined anywhere.
>
> I modified two Makefile by hand, gst-libs/gst/egl/Makefile and 
> ext/eglgles/Makefile
> and built with success.
> So I think these should have something like
> EGL_CFLAGS=-DLINUX -DEGL_API_FB
> only  when "fb" is specified but I don't know how and where to fix this.
>
> Could someone help to fix this in Yocto manner?
>
> Chris
>
>

I think the error is that EGLVIVSINK_PLATFORM is not set properly in the 
recipe. It checks if the x11 distro feature is present, and only if it 
isn't, EGLVIVSINK_PLATFORM will be set to "fb".
I'm not sure how to properly fix this. What if both x11 and fb are set? 
Does fb always override x11?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140509/8fbe3c59/attachment.html>


More information about the meta-freescale mailing list