2 Replies Latest reply on Apr 17, 2014 1:11 PM by FlorianH

    Problems building the yocto image, mesa (wayland) won't compile

    FlorianH

      Hello,

       

      I was trying to build the yocto image from the BSP 1.0.0 package using "bitbake full-image-galileo" (I hava a galileo board) but after solving several issues while doing this, I can't get around this error:

       

      | In file included from platform_wayland.c:41:0:
      | ../../../../src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h: In function 'wl_drm_create_buffer':
      | ../../../../src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h:182:2: error: implicit declaration of function 'wl_proxy_marshal_constructor' [-Werror=implicit-function-declaration]
      | ../../../../src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h:182:5: warning: assignment makes pointer from integer without a cast [enabled by default]
      | In file included from platform_wayland.c:41:0:
      | ../../../../src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h: In function 'wl_drm_create_planar_buffer':
      | ../../../../src/egl/wayland/wayland-drm/wayland-drm-client-protocol.h:193:5: warning: assignment makes pointer from integer without a cast [enabled by default]
      | cc1: some warnings being treated as errors
      | Makefile:542: recipe for target 'platform_wayland.lo' failed
      | make[4]: *** [platform_wayland.lo] Error 1
      | make[4]: Leaving directory '/home/florian/devel/galileo/src/meta-clanton_v1.0.0/yocto_build/tmp/work/i586-poky-linux-uclibc/mesa/2_9.0.2-r9.1/Mesa-9.0.2/src/egl/drivers/dri2'
      | Makefile:486: recipe for target 'all-recursive' failed
      | make[3]: *** [all-recursive] Error 1
      | make[3]: Leaving directory '/home/florian/devel/galileo/src/meta-clanton_v1.0.0/yocto_build/tmp/work/i586-poky-linux-uclibc/mesa/2_9.0.2-r9.1/Mesa-9.0.2/src/egl/drivers'
      | Makefile:485: recipe for target 'all-recursive' failed
      | make[2]: *** [all-recursive] Error 1
      | make[2]: Leaving directory '/home/florian/devel/galileo/src/meta-clanton_v1.0.0/yocto_build/tmp/work/i586-poky-linux-uclibc/mesa/2_9.0.2-r9.1/Mesa-9.0.2/src/egl'
      | Makefile:463: recipe for target 'all-recursive' failed
      | make[1]: *** [all-recursive] Error 1
      | make[1]: Leaving directory '/home/florian/devel/galileo/src/meta-clanton_v1.0.0/yocto_build/tmp/work/i586-poky-linux-uclibc/mesa/2_9.0.2-r9.1/Mesa-9.0.2/src'
      | Makefile:568: recipe for target 'all-recursive' failed
      | make: *** [all-recursive] Error 1
      | ERROR: oe_runmake failed
      | ERROR: Function failed: do_compile (see /home/florian/devel/galileo/src/meta-clanton_v1.0.0/yocto_build/tmp/work/i586-poky-linux-uclibc/mesa/2_9.0.2-r9.1/temp/log.do_compile.4656 for further information)
      
      
      
      

       

      I tried to google this error but I haven't found any solution. There was a deleted pastebin with exactly the same error (after checking googles cache) but I couldn't find where this was posted or if and how that person was able to solve this problem.

       

      I'm running Arch linux so I think the problem is somehow caused by a wrong version of some program I have installed as it was with git or texlive but I have absolutely no clue which one it is this time. Maybe someone of you had the same error and found a solution.

       

      Thank you very much in advance.