From: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com>
To: "meta-freescale@lists.yoctoproject.org"
<meta-freescale@lists.yoctoproject.org>
Subject: libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
Date: Fri, 6 May 2022 14:29:34 +0000 [thread overview]
Message-ID: <BEZP281MB1928E8B4161FC9D7F676E93FB9C59@BEZP281MB1928.DEUP281.PROD.OUTLOOK.COM> (raw)
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
reply other threads:[~2022-05-06 14:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=BEZP281MB1928E8B4161FC9D7F676E93FB9C59@BEZP281MB1928.DEUP281.PROD.OUTLOOK.COM \
--to=michael.glembotzki@iris-sensing.com \
--cc=meta-freescale@lists.yoctoproject.org \
/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 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 read-only IMAP folder(s) and NNTP newsgroup(s).