meta-freescale.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
@ 2022-05-06 14:29 Michael Glembotzki
  0 siblings, 0 replies; only message in thread
From: Michael Glembotzki @ 2022-05-06 14:29 UTC (permalink / raw)
  To: meta-freescale

Hi,

I have backported the following recipes from honister to dunfell:
- u-boot-fslc-common_2022.04.inc
- u-boot-fslc_2022.04.bb

u-boot-fslc and also my image that use the u-boot-fslc can be built easily.
$ bitbake u-boot-fslc
$ bitbake <MY_IMAGE_NAME>

When I build the SDK, u-boot-fslc fails to compile outside of Yocto. My SDK is still missing things.
$ bitbake <MY_IMAGE_NAME> -c populate_sdk

$ . /opt/poky/2.0.5-dev/environment-setup-aarch64-poky-linux
$ make imx8mp_evk_defconfig
$ make -j16
scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
  154 | # include <Python.h>
      |           ^~~~~~~~~~

With a quick fix setting PYTHON3=/usr/bin/python3 in the u-boot Makefile still throws an error:
aarch64-poky-linux-ld.bfd: cannot find -lgcc
make: *** [Makefile:1801: u-boot] Error 1

Which DEPENDS do I have to add where to compile u-boot-fslc incl. binman?

Best regards
Michael



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-06 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06 14:29 libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory Michael Glembotzki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).