[yocto] [meta-raspberrypi] Errors building

Khem Raj raj.khem at gmail.com
Sat Mar 11 02:35:40 PST 2017



On 3/11/17 2:12 AM, Gary Thomas wrote:
> If I build for RaspberryPi-3 with vc4graphics enabled, I get
> this error building omxplayer:
> 
> | In file included from linux/RBP.h:45:0,
> |                  from linux/RBP.cpp:22:
> | ./DllBCM.h:34:22: fatal error: bcm_host.h: No such file or directory
> |  #include <bcm_host.h>
> |                       ^
> | compilation terminated.
> | Makefile:44: recipe for target 'linux/RBP.o' failed
> | make: *** [linux/RBP.o] Error 1
> | make: *** Waiting for unfinished jobs....
> | In file included from OMXCore.h:32:0,
> |                  from OMXClock.h:27,
> |                  from OMXReader.cpp:29:
> | DllOMX.h:36:25: fatal error: IL/OMX_Core.h: No such file or directory
> |  #include <IL/OMX_Core.h>
> |                          ^
> | compilation terminated.
> | Makefile:44: recipe for target 'OMXReader.o' failed


omxplayer knows too much about rpi and assumes that you always use
userland for graphics. It need some surgery to get it working with
vc4graphics driver, not that easy to fix.

> 
> If I disable the vc4graphics, I can't build webkitgtk:
> 
> |
> /build/rpi3_2016-09-13/tmp/work/cortexa7t2hf-neon-vfpv4-amltd-linux-gnueabi/webkitgtk/2.14.5-r0/webkitgtk-2.14.5/Source/WebCore/platform/graphics/egl/GLContextEGLX11.cpp:
> In static member function 'static void*
> WebCore::GLContextEGL::createWindowSurfaceX11(EGLDisplay, EGLConfig,
> GLNativeWindowType)':
> |
> /build/rpi3_2016-09-13/tmp/work/cortexa7t2hf-neon-vfpv4-amltd-linux-gnueabi/webkitgtk/2.14.5-r0/webkitgtk-2.14.5/Source/WebCore/platform/graphics/egl/GLContextEGLX11.cpp:42:91:
> error: invalid static_cast from type 'GLNativeWindowType {aka long long
> unsigned int}' to type 'EGLNativeWindowType {aka void*}'
> |      return eglCreateWindowSurface(display, config,
> static_cast<EGLNativeWindowType>(window), nullptr);
> 

I have seen this error, but never got time to look closer. Just to let
you know you are not alone.

> Using current master of Poky/Yocto & meta-raspberrypi
> meta              = "master:d454dc2fc17711d3efe6dbe5aca3c734f0ed158b"
> meta-raspberrypi  = "master:c768a3d1aed8d16d08afe12fddb359914e0a203a"
> 
> Ideas?  Ideally, I'd like both of these packages in my image for the rpi3.
> 
> Thanks
> 



More information about the yocto mailing list