[yocto] Build error: "u-boot-imx_2017.03.bb:do_compile" failed ( freescale I.MX 6 on Ubuntu 16.04) ?

Jerry Lian jerry.lian at gmail.com
Wed Dec 6 09:13:51 PST 2017


I got an error when trying to build for freescale I.MX6 on Ubuntu
16.04.(see below)
(I just follow the guide from http://freescale.github.io)

Anybody got hints?

Thanks!
Jerry

=======================================================================
................
| tools/libfdt_wrap.c:147:21: fatal error: Python.h: No such file or
directory
| compilation terminated.
| error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
|
/home/jerry/fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/git/tools/Makefile:123:
recipe for target 'tools/_libfdt.so' failed
| make[2]: *** [tools/_libfdt.so] Error 1
|
/home/jerry/fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/git/Makefile:1229:
recipe for target 'tools' failed
| make[1]: *** [tools] Error 2
| make[1]: Leaving directory
'/home/jerry/fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/build/mx6qsabresd_config'
| Makefile:150: recipe for target 'sub-make' failed
| make: *** [sub-make] Error 2
| make: Leaving directory
'/home/jerry/fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/git'
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/jerry/fsl-release-bsp/build-x11/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2017.03-r0/temp/log.do_compile.9339)
ERROR: Task
(/home/jerry/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2017.03.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 4851 tasks of which 3009 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:

/home/jerry/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/u-boot/u-boot-imx_2017.03.bb:
do_compile
..........................
========================================================================
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171206/2f97ae56/attachment.html>


More information about the yocto mailing list