All of lore.kernel.org
 help / color / mirror / Atom feed
* Build error on gstreamer1.0-plugins-imx with framebuffer
@ 2014-05-09 13:55 Chiyosuke Fujii
  2014-05-09 14:10 ` Carlos Rafael Giani
  2014-05-11 20:07 ` Otavio Salvador
  0 siblings, 2 replies; 4+ messages in thread
From: Chiyosuke Fujii @ 2014-05-09 13:55 UTC (permalink / raw)
  To: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2750 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build error on gstreamer1.0-plugins-imx with framebuffer
  2014-05-09 13:55 Build error on gstreamer1.0-plugins-imx with framebuffer Chiyosuke Fujii
@ 2014-05-09 14:10 ` Carlos Rafael Giani
  2014-05-09 14:27   ` Chiyosuke Fujii
  2014-05-11 20:07 ` Otavio Salvador
  1 sibling, 1 reply; 4+ messages in thread
From: Carlos Rafael Giani @ 2014-05-09 14:10 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 4304 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build error on gstreamer1.0-plugins-imx with framebuffer
  2014-05-09 14:10 ` Carlos Rafael Giani
@ 2014-05-09 14:27   ` Chiyosuke Fujii
  0 siblings, 0 replies; 4+ messages in thread
From: Chiyosuke Fujii @ 2014-05-09 14:27 UTC (permalink / raw)
  To: Carlos Rafael Giani; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1695 bytes --]

Hi Carlos,

I forgot to describe that I also specified
DISTRO_FEATURE_remove="x11 wayland directfb"
in the local.conf. So I believe x11 distro feature is not present.

And I'm sorry I didn't write [meta-freescale] in the subject.
I thought it is automatically set by mailing list...


2014-05-09 23:10 GMT+09:00 Carlos Rafael Giani <dv@pseudoterminal.org>:

>  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?
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
>

[-- Attachment #2: Type: text/html, Size: 4793 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Build error on gstreamer1.0-plugins-imx with framebuffer
  2014-05-09 13:55 Build error on gstreamer1.0-plugins-imx with framebuffer Chiyosuke Fujii
  2014-05-09 14:10 ` Carlos Rafael Giani
@ 2014-05-11 20:07 ` Otavio Salvador
  1 sibling, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2014-05-11 20:07 UTC (permalink / raw)
  To: Chiyosuke Fujii; +Cc: meta-freescale@yoctoproject.org

On Fri, May 9, 2014 at 10:55 AM, Chiyosuke Fujii <chiyosuke.f@gmail.com> wrote:
> 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?

If you add:

DISTRO_FEATURES_remove = "x11 wayland"

it should do the right thing. No need to add 'fb'.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-11 20:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 13:55 Build error on gstreamer1.0-plugins-imx with framebuffer Chiyosuke Fujii
2014-05-09 14:10 ` Carlos Rafael Giani
2014-05-09 14:27   ` Chiyosuke Fujii
2014-05-11 20:07 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.