[yocto] Error during webkit compilation for rasberry pi3

Mont3z Claros mont3z.claro5 at gmail.com
Wed Dec 21 07:20:59 PST 2016


Thanks all for the help. I was able to build webkit using:
MACHINE_FEATURES += "vc4graphics"

I'm sorry for asking those basic questions but is there a way to build
webkit without opencl for the raspberry pi3?

Thanks,
Montez

On Sun, Dec 11, 2016 at 9:55 PM, Gary Thomas <gary at mlbassoc.com> wrote:
> On 2016-12-11 16:49, Mont3z Claros wrote:
>>
>> Hi Khem,
>>
>> this layer is:
>>
>> https://layers.openembedded.org/layerindex/branch/master/layer/meta-webkit/
>>
>> I've also tried to use the webkit recipe from poky but I've got the
>> same error. In this case I used a different configuration because poky
>> doesn't have webkitgtk-bin (mini browser). To test that I've tried to
>> build a modified version of meta-web-kiosk
>>  (https://github.com/mont3z/meta-web-kiosk). This is still a work in
>> progress but basically it replaces midori by epiphany.
>>
>> local.conf:
>> MACHINE = "raspberrypi3"
>> DISTRO_FEATURES_append = " x11 gles2"
>>
>> command:
>> bitbake core-image-web-kiosk
>>
>> bblayes.conf:
>> BBLAYERS ?= " \
>>   /home/mont3z/yocto/poky/meta \
>>   /home/mont3z/yocto/poky/meta-poky \
>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>   /home/mont3z/yocto/meta-raspberrypi \
>>   /home/mont3z/yocto/meta-web-kiosk \
>> "
>>
>> I also found this discussion about rpi2. I'll try to run some of those
>> configurations:
>> https://github.com/Igalia/meta-webkit/issues/1
>
>
> I built webkit for rpi3 just fine (yesterday 2016-12-11) using just
>   poky: e38775a1d82e6dc60fc96cf243ecb94be964d9b2
>   meta-raspberrypi: 44d41bf3e94c4c8fe5ad5a3650572c8d17ef36c9
> these were the current master as of then.
>
> What version(s) are you trying to use?
>
>
>>
>> On Sat, Dec 10, 2016 at 1:02 PM, Khem Raj <raj.khem at gmail.com> wrote:
>>>
>>> On Sat, Dec 10, 2016 at 7:52 AM, Mont3z Claros <mont3z.claro5 at gmail.com>
>>> wrote:
>>>>
>>>> Hi all,
>>>>
>>>> I don't know what I'm doing wrong but I'm getting an error during
>>>> compilation of webkit for raspberry pi3. Please see below the error
>>>> and my configurations,
>>>>
>>>> Thanks,
>>>> Mont3z
>>>>
>>>> local.conf:
>>>> MACHINE = "raspberrypi3"
>>>> DISTRO_FEATURES_append = " x11 gles2"
>>>> IMAGE_INSTALL_append = " webkitgtk-bin"
>>>>
>>>> Error:
>>>> | ERROR: oe_runmake failed
>>>> | In file included from
>>>>
>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/cairo/GraphicsContext3DCairo.cpp:51:0:
>>>> |
>>>> /home/mont3z/yocto/poky/build/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/webkitgtk/2.14.2-r0/webkitgtk-2.14.2/Source/WebCore/platform/graphics/opengl/Extensions3DOpenGLES.h:109:5:
>>>> error: 'PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC' does not name a
>>>> type
>>>> |      PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC
>>>> m_glFramebufferTexture2DMultisampleIMG;
>>>> |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>> command:
>>>> bitbake core-image-sato
>>>>
>>>> bblayes.conf:
>>>> BBLAYERS ?= " \
>>>>   /home/mont3z/yocto/poky/meta \
>>>>   /home/mont3z/yocto/poky/meta-poky \
>>>>   /home/mont3z/yocto/poky/meta-yocto-bsp \
>>>>   /home/mont3z/yocto/meta-openembedded/meta-oe \
>>>>   /home/mont3z/yocto/meta-webkit \
>>>
>>>
>>>
>>> what does this layer do ?
>>>
>>>>   /home/mont3z/yocto/meta-raspberrypi \
>>>>   "
>
>
>
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



More information about the yocto mailing list