[meta-freescale] fsl-image-gui-sdk build errors

Sandoval Gonzalez Leonardo-B42214 B42214 at freescale.com
Tue Apr 16 08:43:14 PDT 2013


Hi Prasant,

I also got into the error you posted.  I switched to master (the error is only present on danny) and build the same image (fsl-image-gui-sdk) and the building issue did not show up. I am not sure which commit on master fixed the issue. Anyway, in case you want to the patch for danny, let me know.

Leo
________________________________________
From: meta-freescale-bounces at yoctoproject.org [meta-freescale-bounces at yoctoproject.org] on behalf of Prasant J [pj0585 at gmail.com]
Sent: Wednesday, February 27, 2013 5:00 AM
To: Otavio Salvador
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] fsl-image-gui-sdk build errors

On Tue, Feb 26, 2013 at 5:39 PM, Otavio Salvador
<otavio at ossystems.com.br> wrote:
> On Tue, Feb 26, 2013 at 9:01 AM, Prasant J <pj0585 at gmail.com> wrote:
>> Hi,
>>
>> I'm using Ubuntu 12.04 32 bit host (running on virtualbox) and have
>> already built fsl-image-gui.
>> Now I want to build fsl-image-gui-sdk.
>>
>> I get the following errors while compiling cogl-1.8.2:
>>
>> | arm-poky-linux-gnueabi-libtool: compile:  arm-poky-linux-gnueabi-gcc
>> -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon
>> -mtune=cortex-a9
>> --sysroot=/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd
>> -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I./tesselator -I./winsys
>> -I./driver/ -DG_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
>> -DG_LOG_DOMAIN=\"Cogl\" -DCLUTTER_COMPILATION
>> -DCOGL_GL_LIBNAME=\"libGL.so.1\" -DCOGL_GLES1_LIBNAME=\"\"
>> -DCOGL_GLES2_LIBNAME=\"\" -DCOGL_LOCALEDIR=\"/usr/share/locale\"
>> -pthread -I/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/gdk-pixbuf-2.0
>> -I/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/libpng12
>> -I/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/glib-2.0
>> -I/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/lib/glib-2.0/include
>> -I/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/libdrm
>> -DCOGL_ENABLE_DEBUG -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -O2
>> -pipe -g -feliminate-unused-debug-types -c ./driver/gl/cogl-gl.c
>> -fPIC -DPIC -o .libs/cogl-gl.o
>> | In file included from ./cogl-framebuffer-private.h:38:0,
>> |                  from ./winsys/cogl-winsys-private.h:29,
>> |                  from ./cogl-context-private.h:29,
>> |                  from ./driver/gl/cogl-gl.c:34:
>> | /home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/GL/glxext.h:670:24:
>> error: expected declaration specifiers or '...' before '*' token
>> | /home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/sysroots/imx6qsabresd/usr/include/GL/glxext.h:671:67:
>> error: unknown type name 'GLXContextID'
>> | make[4]: *** [cogl-gl.lo] Error 1
>> | make[4]: Leaving directory
>> `/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cogl-1.8.2-r5/cogl-1.8.2/cogl'
>> | make[3]: *** [all-recursive] Error 1
>> | make[3]: Leaving directory
>> `/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cogl-1.8.2-r5/cogl-1.8.2/cogl'
>> | make[2]: *** [all] Error 2
>> | make[2]: Leaving directory
>> `/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cogl-1.8.2-r5/cogl-1.8.2/cogl'
>> | make[1]: *** [all-recursive] Error 1
>> | make[1]: Leaving directory
>> `/home/prasant/imx6-yocto/fsl-community-bsp/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/cogl-1.8.2-r5/cogl-1.8.2'
>> | make: *** [all] Error 2
>> | ERROR: oe_runmake failed
>>
>>
>> Any inputs?
>
> This is a known issue; someone needs to fix cogl to build with Vivante
> libraries for it to work.
>
> --

How can I remove cogl from the sdk build?

If I add this: BBMASK += "cogl-1.8.2-r5.bb"  to conf/local.conf, will
it ignore cogl and continue?

-Pj
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale





More information about the meta-freescale mailing list