Hello,

build mingw sdk get follow error:

configure: error: linux/capability.h is required in order to build libcap-ng

$ SDKMACHINE=x86_64-mingw” bitbake my-image -c populate_sdk

We use kernel 5.15
Any idea ?

Best regards
  Johann

> -----Ursprüngliche Nachricht-----
> Von: Alexander Kanavin <[email protected]>
> Gesendet: Dienstag, 15. November 2022 13:06
> An: Johann Obermayr <[email protected]>
> Cc: [email protected]
> Betreff: Re: [yocto] build 2 sdk toolchain
> 
> CAUTION: External E-Mail !
> 
> This is the correct way, yes. You can put SDKMACHINE into local.conf (default
> is 'linux sdk'), or you can specify it on command line (in which case it will
> override the local.conf setting).
> 
> Alex
> 
> On Tue, 15 Nov 2022 at 13:02, Johann Obermayr via lists.yoctoproject.org
> <[email protected]> wrote:
> >
> > Hello,
> >
> >
> >
> > we use kirkstone.
> >
> > We will build
> >
> > Image
> > Toolchain for linux
> > Toolchain for windows
> >
> >
> >
> > Now we can build a image + linux sdk toolchain.
> >
> > That work correct.
> >
> >
> >
> > $ bitbake my-image
> >
> > $ bitbake my-image -c populate_sdk
> >
> >
> >
> > Now we will build a Toolchain for windows
> >
> > We have add meta-mingw
> >
> >
> >
> > $ SDKMACHINE=x86_64-mingw” bitbake my-image -c populate_sdk
> >
> >
> >
> > Is this the correct way ?
> >
> > Or what is a better solution for this.
> >
> >
> >
> > Best regards
> >
> >   Johann
> >
> >
> > 
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58610): https://lists.yoctoproject.org/g/yocto/message/58610
Mute This Topic: https://lists.yoctoproject.org/mt/95040911/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to