[meta-freescale] gst-fsl-plugin fails to compile in current master

Xh Xiao xxiao8 at fosiao.com
Tue May 6 05:23:06 PDT 2014


something is indeed wrong when compile sabrelite with imx-lib, I search
3.0.* and 3.10.x kernel and could not find the mentioned pxp header file,
I'm not familiar with this driver, is it in imx6Q ? all google search
points to imx6Solo.

below is the log:

| make[1]: Leaving directory
`/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/hdmi-cec'
| make -C ipu all
| make[1]: Entering directory
`/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/ipu'
| make[1]: Nothing to be done for `all'.
| make[1]: Leaving directory
`/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/ipu'
| make -C pxp all
| make[1]: Entering directory
`/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
--sysroot=/home/xxiao/devel/yocto/buildlite/tmp/sysroots/imx6qsabrelite
-DIMX6Q
-I/home/xxiao/devel/yocto/buildlite/tmp/sysroots/imx6qsabrelite/usr/src/kernel/include/uapi
-I/home/xxiao/devel/yocto/buildlite/tmp/sysroots/imx6qsabrelite/usr/src/kernel/include
-I/home/xxiao/devel/yocto/buildlite/tmp/sysroots/imx6qsabrelite/usr/src/kernel/drivers/mxc/security/rng/include
-I/home/xxiao/devel/yocto/buildlite/tmp/sysroots/imx6qsabrelite/usr/src/kernel/drivers/mxc/security/sahara2/include
-Wall -O2 -fPIC -c pxp_lib.c -o pxp_lib.o
| In file included from pxp_lib.c:26:0:
| pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or
directory
|  #include <linux/pxp_device.h>
|                               ^
| compilation terminated.
| make[1]: *** [pxp_lib.o] Error 1
| make[1]: Leaving directory
`/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/imx-lib-3.10.17-1.0.0/pxp'
| make: *** [pxp] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/xxiao/devel/yocto/buildlite/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx-lib/1_3.10.17-1.0.0-r0/temp/log.do_compile.15488)
ERROR: Task 2348
(/home/xxiao/devel/yocto/sources/meta-fsl-arm/recipes-bsp/imx-lib/
imx-lib_3.10.17-1.0.0.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2053 tasks of which 2046 didn't need to be
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/xxiao/devel/yocto/sources/meta-fsl-arm/recipes-bsp/imx-lib/
imx-lib_3.10.17-1.0.0.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.



On Mon, May 5, 2014 at 10:37 PM, Xh Xiao <xxiao8 at fosiao.com> wrote:

> yeah I saw them in daisy/master now, so my issue is a different one then.
>
> sabrelite is still on 3.0.x kernel correct? which is basically FSL kernel,
> does daisy work with 3.0.x kernel in general?
>
> thanks,
>
>
> On Mon, May 5, 2014 at 10:32 PM, Otavio Salvador <otavio at ossystems.com.br>wrote:
>
>> On Tue, May 6, 2014 at 12:30 AM, Xh Xiao <xxiao8 at fosiao.com> wrote:
>> > I'm seeing compile issues with sabrelite at gstreamer, are the patches in
>> > master-next:
>> >  e39dc2c1dc05f9a25bb1f80a3926d932e99beb8e gst-fsl-plugin: Remove unused
>> > patches
>> > and
>> > 700af12aa8e2fe7b739c246abd5b1cb237b2eb06 gst-fsl-plugin: Fix out of tree
>> > build
>> > ?
>> >
>> > when will they be merged into master?
>>
>> They were already, also in Daisy.
>>
>> > The error I saw is:
>> >  In file included from pxp_lib.c:26:0:
>> > | pxp_lib.h:19:30: fatal error: linux/pxp_device.h: No such file or
>> > directory
>> > |  #include <linux/pxp_device.h>
>> > |                               ^
>> > | compilation terminated.
>>
>> If I recall correct this comes from Linux kernel (from FSL). Please check.
>>
>> --
>> Otavio Salvador                             O.S. Systems
>> http://www.ossystems.com.br        http://code.ossystems.com.br
>> Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140506/8f9afd95/attachment.html>


More information about the meta-freescale mailing list