[yocto] [meta-raspberrypi] Errors building

Gary Thomas gary at mlbassoc.com
Sat Mar 11 02:12:58 PST 2017


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

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);

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

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the yocto mailing list