poky.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: peter.jamrozinski@delve.com
Cc: poky@lists.yoctoproject.org
Subject: Re: [poky] Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk
Date: Tue, 29 Nov 2022 18:17:49 -0800	[thread overview]
Message-ID: <CAMKF1srn8xwaisS+ue_nCYn391tfz9_1YBJQzKJ2+Mz=NEWksg@mail.gmail.com> (raw)
In-Reply-To: <2lN4.1669171844857500614.vHh0@lists.yoctoproject.org>

On Tue, Nov 22, 2022 at 6:50 PM peter.jamrozinski via
lists.yoctoproject.org
<peter.jamrozinski=delve.com@lists.yoctoproject.org> wrote:
>
> Hello,
>
> I'm trying to create a cross-compile toolchain for my local Windows host targeting an I.MX 8M Nano target. I added the layer 'meta-mingw' to my sources and added it to my bblayers.conf file:
>
> # Addition of MinGW layer to allow for Windows X-Compiler generation
> BBLAYERS =+ "/usr/local/dey-3.2/sources/meta-mingw"
>
>
> My local.conf contains:
>
> SDKMACHINE = "x86_64-mingw32"
> SDK_ARCHIVE_TYPE = "zip"
>
> I ran 'bitbake <image name> -c populate_sdk' to generate the sdk.
>
> I encountered the following errors:
>
> ERROR: nativesdk-openssl-1.1.1n-r0 do_configure: Execution of '/home/dey/workspace/ccimx8mn-dvk/tmp/work/x86_64-nativesdk-mingw32-w64-mingw32/nativesdk-openssl/1.1.1n-r0/temp/run.do_configure.1376007' failed with exit code 1:
>
> and
>
> configure: error: linux/capability.h is required in order to build libcap-ng.
>
> I've attached the log files from both 'do_config' steps for libcap-ng and openSSL.
>
> I did see the following link that looks like it might help with the openSSL issue, but I'm not sure how I download and apply this patch in my local environment:
>
> https://www.yoctoproject.org/pipermail/yocto/2018-July/041835.html
>
> any help is greatly appreciated.

Try adding something like

DEPENDS += "libcap"

>
> Thank you!
>
> - psj.dev
>
>
> 
>

      reply	other threads:[~2022-11-30  2:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23  2:50 Failing to Create Windows Cross Compile Toolchain/SDK using Meta-MinGW #bitbake #yocto #poky #sdk peter.jamrozinski
2022-11-30  2:17 ` Khem Raj [this message]

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='CAMKF1srn8xwaisS+ue_nCYn391tfz9_1YBJQzKJ2+Mz=NEWksg@mail.gmail.com' \
    --to=raj.khem@gmail.com \
    --cc=peter.jamrozinski@delve.com \
    --cc=poky@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).