From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id CD1CBE00B70; Fri, 9 May 2014 07:10:57 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=HTML_MESSAGE,RDNS_NONE, SPF_HELO_PASS autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * 0.0 HTML_MESSAGE BODY: HTML included in message * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Received: from ptmx.org (unknown [178.63.28.110]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A7C20E009D1 for ; Fri, 9 May 2014 07:10:47 -0700 (PDT) Received: from [10.1.14.248] (unknown [91.114.0.140]) by ptmx.org (Postfix) with ESMTPSA id 8C2D0225F4 for ; Fri, 9 May 2014 16:10:46 +0200 (CEST) Message-ID: <536CE1E5.4030302@pseudoterminal.org> Date: Fri, 09 May 2014 16:10:45 +0200 From: Carlos Rafael Giani User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: In-Reply-To: Subject: Re: Build error on gstreamer1.0-plugins-imx with framebuffer X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2014 14:10:57 -0000 Content-Type: multipart/alternative; boundary="------------060704040909020808020501" --------------060704040909020808020501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? --------------060704040909020808020501 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
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?
--------------060704040909020808020501--