All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolay Dimitrov <picmaster@mail.bg>
To: Neena Busireddy <neena.busireddy@freescale.com>,
	 Otavio Salvador <otavio@ossystems.com.br>,
	"meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	 Lauren.Post@freescale.com
Subject: Re: libepoxy build error for i.MX6-based boards
Date: Tue, 19 May 2015 18:25:53 +0300	[thread overview]
Message-ID: <555B5601.8000304@mail.bg> (raw)
In-Reply-To: <BN3PR03MB15113F54BD1B53F260FDD43DF5C30@BN3PR03MB1511.namprd03.prod.outlook.com>

Hi Neena,

On 05/19/2015 06:15 PM, Neena Busireddy wrote:
> Hi Otavio,
>
> Hello,
>
> O.S. Systems autobuilder has found the following error:
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | .../build-x11/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:266:2: error: #error "Platform not recognized"
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) |  #error "Platform not recognized"
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) |   ^
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion"
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [glx_generated_dispatch.lo] Error 1
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | cc1: warning: unrecognized command line option "-Wno-int-conversion"
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: *** [gl_generated_dispatch.lo] Error 1
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[3]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src'
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: *** [all] Error 2
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[2]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build/src'
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: *** [all-recursive] Error 1
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make[1]: Leaving directory `.../build-x11/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/libepoxy/1.2-r0/build'
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | make: *** [all] Error 2
>
> x11 fsl-image-machine-test@imx6qsabresd (4/7) | ERROR: oe_runmake failed
>
> If someone can take a look, please do.
>
> This regression is caused by the commit
> 05ea29b4406613ea45bb0cb7aec57c22e55b9969 (xserver-xorg: add
> PACKAGECONFIG for wayland and add xserver-xorg-xwayland) pushed in poky.
>
> We are seeing this error as we don’t have x11 and wayland functional
> together.

Well, they don't have to be functional at the same time.

This fixes the issue, as pointed out by Lauren:


meta-fsl-arm/recipes-graphics/libepoxy/libepoxy_%.bbappend:
-----------------------------------------------------------
CFLAGS_append_mx6 = " -DLINUX"


(Actually, Lauren pointed to a more complete fix than this work-around,
but this is what fixed the master build for me, and I'm happy enough to
not care about Wayland for the moment)

Regards,
Nikolay


  reply	other threads:[~2015-05-19 15:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-18 21:31 libepoxy build error for i.MX6-based boards Otavio Salvador
2015-05-19  2:04 ` Lauren Post
2015-05-19 12:02   ` Otavio Salvador
2015-05-19 15:15 ` Neena Busireddy
2015-05-19 15:25   ` Nikolay Dimitrov [this message]
2015-05-19 15:46     ` Prabhu S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555B5601.8000304@mail.bg \
    --to=picmaster@mail.bg \
    --cc=Lauren.Post@freescale.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=neena.busireddy@freescale.com \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.