All of lore.kernel.org
 help / color / mirror / Atom feed
* iMX6: How to Include X11 into my image
@ 2012-12-13 11:40 Tarek El-Sherbiny
  2012-12-13 11:47 ` Gary Thomas
  2012-12-13 11:47 ` Otavio Salvador
  0 siblings, 2 replies; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 11:40 UTC (permalink / raw)
  To: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 86 bytes --]

Hi All,

What is the easiest way to add X11 into my local image?

Thanks,
Tarek

[-- Attachment #2: Type: text/html, Size: 139 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 11:40 iMX6: How to Include X11 into my image Tarek El-Sherbiny
@ 2012-12-13 11:47 ` Gary Thomas
  2012-12-13 11:47 ` Otavio Salvador
  1 sibling, 0 replies; 12+ messages in thread
From: Gary Thomas @ 2012-12-13 11:47 UTC (permalink / raw)
  To: meta-freescale

On 2012-12-13 04:40, Tarek El-Sherbiny wrote:
> Hi All,
>
> What is the easiest way to add X11 into my local image?

What image did you build?  It may be simpler to start with one
that has X already included.



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 11:40 iMX6: How to Include X11 into my image Tarek El-Sherbiny
  2012-12-13 11:47 ` Gary Thomas
@ 2012-12-13 11:47 ` Otavio Salvador
  2012-12-13 12:50   ` Tarek El-Sherbiny
  1 sibling, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2012-12-13 11:47 UTC (permalink / raw)
  To: Tarek El-Sherbiny; +Cc: meta-freescale@yoctoproject.org

On Thu, Dec 13, 2012 at 9:40 AM, Tarek El-Sherbiny
<tarek.elsherbiny@gmail.com> wrote:
> What is the easiest way to add X11 into my local image?

It depends how your image is being done. If you are using it base in
core-image, you can use IMAGE_FEATURES (X11 or x11-base) otherwise you
can add packagegroup-core-x11 or packagegroup-core-x11-base.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 11:47 ` Otavio Salvador
@ 2012-12-13 12:50   ` Tarek El-Sherbiny
  2012-12-13 12:59     ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 12:50 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

What is the simplest image that contains X to start with?

Thanks,
Tarek


On Thu, Dec 13, 2012 at 11:47 AM, Otavio Salvador
<otavio@ossystems.com.br>wrote:

> On Thu, Dec 13, 2012 at 9:40 AM, Tarek El-Sherbiny
> <tarek.elsherbiny@gmail.com> wrote:
> > What is the easiest way to add X11 into my local image?
>
> It depends how your image is being done. If you are using it base in
> core-image, you can use IMAGE_FEATURES (X11 or x11-base) otherwise you
> can add packagegroup-core-x11 or packagegroup-core-x11-base.
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>

[-- Attachment #2: Type: text/html, Size: 1383 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 12:50   ` Tarek El-Sherbiny
@ 2012-12-13 12:59     ` Otavio Salvador
  2012-12-13 13:57       ` Tarek El-Sherbiny
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2012-12-13 12:59 UTC (permalink / raw)
  To: Tarek El-Sherbiny; +Cc: meta-freescale@yoctoproject.org

On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny
<tarek.elsherbiny@gmail.com> wrote:
> What is the simplest image that contains X to start with?

core-image-x11

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 12:59     ` Otavio Salvador
@ 2012-12-13 13:57       ` Tarek El-Sherbiny
  2012-12-13 13:58         ` Tarek El-Sherbiny
  2012-12-13 14:05         ` Otavio Salvador
  0 siblings, 2 replies; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 13:57 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4511 bytes --]

Hi Otavio,

I've created the following adh-image-x11.bb:

----------------------------------------------------------------------
include recipes-graphics/images/core-image-x11.bb

IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"


SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# mesa-demos is currently broken when building with other GL library
# so we avoid it by now and tools-testapps includes it.
SOC_EXTRA_IMAGE_FEATURES_mx6 = ""


# Add extra image features
EXTRA_IMAGE_FEATURES += " \
    ${SOC_EXTRA_IMAGE_FEATURES} \
    tools-debug \
    tools-profile \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
    ${SOC_IMAGE_INSTALL} \
    cpufrequtils \
    packagegroup-fsl-gstreamer \
    packagegroup-fsl-tools-testapps \
    packagegroup-fsl-tools-benchmark \
    qt4-plugin-phonon-backend-gstreamer \
    fsl-gui-extrafiles \
    "


export IMAGE_BASENAME = "adh-image-x11"
------------------------------------------------------------------

But I'm getting the following error:


root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
-std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
-I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
-I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
-Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs
-Werror=array-bounds -Werror=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
-I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
-I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
-DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
| In file included from ../include/dixstruct.h:28:0,
|                  from glxserver.h:42,
|                  from indirect_dispatch.c:35:
| ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
[-Wredundant-decls]
| In file included from ../include/dixstruct.h:28:0,
|                  from glxserver.h:42,
|                  from indirect_dispatch_swap.c:35:
| ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
[-Wredundant-decls]
| In file included from indirect_dispatch.c:40:0:
| glapitable.h:458:92: error: unknown type name 'GLchar'
| glapitable.h:460:90: error: unknown type name 'GLchar'
| In file included from indirect_dispatch_swap.c:40:0:
| glapitable.h:458:92: error: unknown type name 'GLchar'
| glapitable.h:460:90: error: unknown type name 'GLchar'
| glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
| glapitable.h:544:55: error: unknown type name
'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
| glapitable.h:544:55: error: unknown type name 'GLintptrARB'
| glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'


What should I do to fix this?

Thanks
Tarek


On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador
<otavio@ossystems.com.br>wrote:

> On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny
> <tarek.elsherbiny@gmail.com> wrote:
> > What is the simplest image that contains X to start with?
>
> core-image-x11
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>

[-- Attachment #2: Type: text/html, Size: 6112 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 13:57       ` Tarek El-Sherbiny
@ 2012-12-13 13:58         ` Tarek El-Sherbiny
  2012-12-13 14:05         ` Otavio Salvador
  1 sibling, 0 replies; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 13:58 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4984 bytes --]

The error is from:

ERROR: Task 3792
(/data/extend_homes/telsherbiny/work/fsl-community-bsp/sources/poky/meta/recipes-graphics/xorg-xserver/
xserver-xorg_1.11.2.bb, do_compile)


On Thu, Dec 13, 2012 at 1:57 PM, Tarek El-Sherbiny <
tarek.elsherbiny@gmail.com> wrote:

> Hi Otavio,
>
> I've created the following adh-image-x11.bb:
>
> ----------------------------------------------------------------------
> include recipes-graphics/images/core-image-x11.bb
>
> IMAGE_FEATURES += "debug-tweaks"
> DISTRO_FEATURES += "pulseaudio"
>
>
> SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
> # mesa-demos is currently broken when building with other GL library
> # so we avoid it by now and tools-testapps includes it.
> SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
>
>
> # Add extra image features
> EXTRA_IMAGE_FEATURES += " \
>     ${SOC_EXTRA_IMAGE_FEATURES} \
>     tools-debug \
>     tools-profile \
> "
>
> SOC_IMAGE_INSTALL = ""
>
> IMAGE_INSTALL += " \
>     ${SOC_IMAGE_INSTALL} \
>     cpufrequtils \
>     packagegroup-fsl-gstreamer \
>     packagegroup-fsl-tools-testapps \
>     packagegroup-fsl-tools-benchmark \
>     qt4-plugin-phonon-backend-gstreamer \
>     fsl-gui-extrafiles \
>     "
>
>
> export IMAGE_BASENAME = "adh-image-x11"
> ------------------------------------------------------------------
>
> But I'm getting the following error:
>
>
> root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
> -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
> -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
> -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
> -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
> -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> -Werror=array-bounds -Werror=write-strings -Werror=address
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
> -I../include -I../include -I../Xext -I../composite -I../damageext
> -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
> -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
> -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
> indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
> | In file included from ../include/dixstruct.h:28:0,
> |                  from glxserver.h:42,
> |                  from indirect_dispatch.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from ../include/dixstruct.h:28:0,
> |                  from glxserver.h:42,
> |                  from indirect_dispatch_swap.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from indirect_dispatch.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | In file included from indirect_dispatch_swap.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name
> 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name 'GLintptrARB'
> | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'
>
>
> What should I do to fix this?
>
> Thanks
> Tarek
>
>
> On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador <otavio@ossystems.com.br
> > wrote:
>
>> On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny
>> <tarek.elsherbiny@gmail.com> wrote:
>> > What is the simplest image that contains X to start with?
>>
>> core-image-x11
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
>> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>>
>
>

[-- Attachment #2: Type: text/html, Size: 6916 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 13:57       ` Tarek El-Sherbiny
  2012-12-13 13:58         ` Tarek El-Sherbiny
@ 2012-12-13 14:05         ` Otavio Salvador
  2012-12-13 14:09           ` Tarek El-Sherbiny
  1 sibling, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2012-12-13 14:05 UTC (permalink / raw)
  To: Tarek El-Sherbiny; +Cc: meta-freescale@yoctoproject.org

On Thu, Dec 13, 2012 at 11:57 AM, Tarek El-Sherbiny
<tarek.elsherbiny@gmail.com> wrote:
> Hi Otavio,
>
> I've created the following adh-image-x11.bb:
>
> ----------------------------------------------------------------------
> include recipes-graphics/images/core-image-x11.bb
>
> IMAGE_FEATURES += "debug-tweaks"
> DISTRO_FEATURES += "pulseaudio"
>
>
> SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
> # mesa-demos is currently broken when building with other GL library
> # so we avoid it by now and tools-testapps includes it.
> SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
>
>
> # Add extra image features
> EXTRA_IMAGE_FEATURES += " \
>     ${SOC_EXTRA_IMAGE_FEATURES} \
>     tools-debug \
>     tools-profile \
> "
>
> SOC_IMAGE_INSTALL = ""
>
> IMAGE_INSTALL += " \
>     ${SOC_IMAGE_INSTALL} \
>     cpufrequtils \
>     packagegroup-fsl-gstreamer \
>     packagegroup-fsl-tools-testapps \
>     packagegroup-fsl-tools-benchmark \
>     qt4-plugin-phonon-backend-gstreamer \
>     fsl-gui-extrafiles \
>     "
>
>
> export IMAGE_BASENAME = "adh-image-x11"
> ------------------------------------------------------------------
>
> But I'm getting the following error:
>
>
> root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
> -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
> -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
> -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
> -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
> -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> -Werror=array-bounds -Werror=write-strings -Werror=address
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing
> -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
> -I../include -I../include -I../Xext -I../composite -I../damageext
> -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
> -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
> -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
> indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
> | In file included from ../include/dixstruct.h:28:0,
> |                  from glxserver.h:42,
> |                  from indirect_dispatch.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from ../include/dixstruct.h:28:0,
> |                  from glxserver.h:42,
> |                  from indirect_dispatch_swap.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from indirect_dispatch.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | In file included from indirect_dispatch_swap.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name
> 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name 'GLintptrARB'
> | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'
>
>
> What should I do to fix this?

Your poky version is 'danny' or master? Use danny.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 14:05         ` Otavio Salvador
@ 2012-12-13 14:09           ` Tarek El-Sherbiny
  2012-12-13 14:25             ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 14:09 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 4937 bytes --]

My poky is master :(

Can I just update it to danny or do I need a fresh repo init       -b danny
?


On Thu, Dec 13, 2012 at 2:05 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> On Thu, Dec 13, 2012 at 11:57 AM, Tarek El-Sherbiny
> <tarek.elsherbiny@gmail.com> wrote:
> > Hi Otavio,
> >
> > I've created the following adh-image-x11.bb:
> >
> > ----------------------------------------------------------------------
> > include recipes-graphics/images/core-image-x11.bb
> >
> > IMAGE_FEATURES += "debug-tweaks"
> > DISTRO_FEATURES += "pulseaudio"
> >
> >
> > SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
> > # mesa-demos is currently broken when building with other GL library
> > # so we avoid it by now and tools-testapps includes it.
> > SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
> >
> >
> > # Add extra image features
> > EXTRA_IMAGE_FEATURES += " \
> >     ${SOC_EXTRA_IMAGE_FEATURES} \
> >     tools-debug \
> >     tools-profile \
> > "
> >
> > SOC_IMAGE_INSTALL = ""
> >
> > IMAGE_INSTALL += " \
> >     ${SOC_IMAGE_INSTALL} \
> >     cpufrequtils \
> >     packagegroup-fsl-gstreamer \
> >     packagegroup-fsl-tools-testapps \
> >     packagegroup-fsl-tools-benchmark \
> >     qt4-plugin-phonon-backend-gstreamer \
> >     fsl-gui-extrafiles \
> >     "
> >
> >
> > export IMAGE_BASENAME = "adh-image-x11"
> > ------------------------------------------------------------------
> >
> > But I'm getting the following error:
> >
> >
> >
> root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> > -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
> > -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
> > -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
> > -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> > -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> > -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
> > -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
> > -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> > -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> > -Werror=array-bounds -Werror=write-strings -Werror=address
> > -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing
> > -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
> > -I../include -I../include -I../Xext -I../composite -I../damageext
> > -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
> > -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
> > -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
> > indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
> > | In file included from ../include/dixstruct.h:28:0,
> > |                  from glxserver.h:42,
> > |                  from indirect_dispatch.c:35:
> > | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> > [-Wredundant-decls]
> > | In file included from ../include/dixstruct.h:28:0,
> > |                  from glxserver.h:42,
> > |                  from indirect_dispatch_swap.c:35:
> > | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> > [-Wredundant-decls]
> > | In file included from indirect_dispatch.c:40:0:
> > | glapitable.h:458:92: error: unknown type name 'GLchar'
> > | glapitable.h:460:90: error: unknown type name 'GLchar'
> > | In file included from indirect_dispatch_swap.c:40:0:
> > | glapitable.h:458:92: error: unknown type name 'GLchar'
> > | glapitable.h:460:90: error: unknown type name 'GLchar'
> > | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> > | glapitable.h:544:55: error: unknown type name
> > 'GLintptrARB'glapitable.h:543:52: error: unknown type name
> 'GLsizeiptrARB'
> > | glapitable.h:544:55: error: unknown type name 'GLintptrARB'
> > | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'
> >
> >
> > What should I do to fix this?
>
> Your poky version is 'danny' or master? Use danny.
>
> --
> Otavio Salvador                             O.S. Systems
> E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
>

[-- Attachment #2: Type: text/html, Size: 6351 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 14:09           ` Tarek El-Sherbiny
@ 2012-12-13 14:25             ` Otavio Salvador
  2012-12-13 14:41               ` Tarek El-Sherbiny
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2012-12-13 14:25 UTC (permalink / raw)
  To: Tarek El-Sherbiny; +Cc: meta-freescale@yoctoproject.org

On Thu, Dec 13, 2012 at 12:09 PM, Tarek El-Sherbiny
<tarek.elsherbiny@gmail.com> wrote:
> My poky is master :(
>
> Can I just update it to danny or do I need a fresh repo init       -b danny
> ?

I'd suggest you to start from scratch.

Are you using fsl-community-bsp? In this case you're using danny in poky.

Please go in sources/poky and do 'git describe' so you can confirm it.

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 14:25             ` Otavio Salvador
@ 2012-12-13 14:41               ` Tarek El-Sherbiny
  2012-12-13 16:03                 ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Tarek El-Sherbiny @ 2012-12-13 14:41 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 221 bytes --]

yes I'm using fsl-community-bsp
git describe = 1.3 , I think it's danny

If so I'm sure why I can't include X ! :(

On Thu, Dec 13, 2012 at 2:25 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:

> git describe

[-- Attachment #2: Type: text/html, Size: 929 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: iMX6: How to Include X11 into my image
  2012-12-13 14:41               ` Tarek El-Sherbiny
@ 2012-12-13 16:03                 ` Otavio Salvador
  0 siblings, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2012-12-13 16:03 UTC (permalink / raw)
  To: Tarek El-Sherbiny; +Cc: meta-freescale@yoctoproject.org

On Thu, Dec 13, 2012 at 12:41 PM, Tarek El-Sherbiny
<tarek.elsherbiny@gmail.com> wrote:
> yes I'm using fsl-community-bsp
> git describe = 1.3 , I think it's danny
>
> If so I'm sure why I can't include X ! :(

Yes danny ...

So you're using the  right combination. Have you done any change? If
so, please send them to me so I can check if something is suspicious.

I am able to build it here so I am curious to identify why you have a
build failure.

Regards,

--
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-12-13 16:03 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13 11:40 iMX6: How to Include X11 into my image Tarek El-Sherbiny
2012-12-13 11:47 ` Gary Thomas
2012-12-13 11:47 ` Otavio Salvador
2012-12-13 12:50   ` Tarek El-Sherbiny
2012-12-13 12:59     ` Otavio Salvador
2012-12-13 13:57       ` Tarek El-Sherbiny
2012-12-13 13:58         ` Tarek El-Sherbiny
2012-12-13 14:05         ` Otavio Salvador
2012-12-13 14:09           ` Tarek El-Sherbiny
2012-12-13 14:25             ` Otavio Salvador
2012-12-13 14:41               ` Tarek El-Sherbiny
2012-12-13 16:03                 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.