All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daiane Angolini <daiane.angolini@freescale.com>
To: Vanhauwaert Wouter <W.Vanhauwaert@TELEVIC.com>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: yocto, linux-fslc and xorg
Date: Mon, 16 Sep 2013 08:32:32 -0300	[thread overview]
Message-ID: <5236EC50.4030307@freescale.com> (raw)
In-Reply-To: <E78BBE677EB9144B8F0A0A29674CD5338ED46B1A8A@SRV-VS06.TELEVIC.COM>

On 09/16/2013 03:22 AM, Vanhauwaert Wouter wrote:
> Hello all,
>
> I want to do some tests with the mainline yocto (poky) with the meta-arm-fsl layers and X.
> I want to make use of the latest mainline kernel. I added PREFERRED_PROVIDER_virtual/kernel = "linux-fslc" to my local.conf and do "bitbake core-image-web-kiosk"
>
> Then I'm facing a problem in the build (I'm building it for an imx53qsb):
>
> In file included from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/kgdb.h:16:0,
> |                  from /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/fb.h:4,
> |                  from /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/xserver-xorg-video-imx-11.09.01/src/imx_display.c:33:
> | /opt/git/poky/build/tmp/sysroots/imx53qsb/usr/src/kernel/include/linux/linkage.h:7:25: fatal error: asm/linkage.h: No such file or directory
> |  #include <asm/linkage.h>
> |                          ^
> | compilation terminated.
> | make[2]: *** [imx_display.lo] Error 1
> | make[2]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/build'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /opt/git/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xf86-video-imxfb/11.09.01-r12/temp/log.do_compile.32086)
> ERROR: Task 2827 (/opt/git/poky/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb, do_compile) failed with exit code '1'q
>
> What is happening?

What is happening is that the xf86-video-imxfb_11.09.01 expects the 
kernel headers from kernel 2.6.35_11.09.01 and you only have the kernel 
headers from 3.11, so you face a mismatch.

Are you avalilable to change the xf86-video-imxfb_11.09.01 source code 
in order to get it compatible with both kernels?

Otavio, do you think a bug must be created?


>
> grtz
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>


-- 
Daiane



  reply	other threads:[~2013-09-16 11:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-16  6:22 yocto, linux-fslc and xorg Vanhauwaert Wouter
2013-09-16 11:32 ` Daiane Angolini [this message]
2013-09-16 11:53   ` Vanhauwaert Wouter
2013-09-16 12:06     ` Otavio Salvador
2013-09-16 12:52       ` Fabio Estevam
2013-09-16 13:02         ` Otavio Salvador
2013-09-17  7:17         ` Vanhauwaert Wouter
2013-09-17  7:35           ` Eric Bénard

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=5236EC50.4030307@freescale.com \
    --to=daiane.angolini@freescale.com \
    --cc=W.Vanhauwaert@TELEVIC.com \
    --cc=meta-freescale@yoctoproject.org \
    --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.