On Thu, 2023-07-06 at 13:12 +0300, Anders Montonen wrote:
> 
> 
> > On 6 Jul 2023, at 12:55, MOHAMMED HASSAN
> > <[email protected]> wrote:
> > 
> > On Thu, Jul 6, 2023 at 02:29 AM, Adrian Freihofer wrote:
> > > Hi Hassan
> > > 
> > > It's a bit hard to guess what you are really doing. The bb is a
> > > fork
> > > from a quite old version when it was still using the autotools.
> > > Now we
> > > use meson.
> > > 
> > > The check for rl_echo_signal_char came into NetworkManager 8
> > > years ago
> > > https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/commit/b69143b5085c58e51ab8077ee5cbe6fafe73e041
> > > .
> > > It's probably not a change on NetworkManager side which came in
> > > recently with your update to 1.22.16.
> > > 
> > > Compiling nmcli with readline works with the bb from meta-
> > > openembedded
> > > and the poky version with a similar age. That's the default.
> > > 
> > > Some ideas:
> > > - Try if the original recipe throws the same error
> > > - Pass the readline parameter to autotools (what we do with newer
> > > versions of the recipe and meson)
> > > - Compile without nmcli and remove the readline dependency. Look
> > > at the
> > > commit history of the networkmanager.bb. There was an autotools
> > > based
> > > recipe which supported compiling without nmcli at some point in
> > > time.
> > Actually I want nmcli recipe in my yocto image file. I am still a
> > beginner with this so i am facing these issues. Alternatively, I
> > was looking at adding wireless-tools to my image file but i dont
> > have its related recipe in my SDK. Do let me know if you have any
> > suggestions.
> 
> Are you using meta-gplv2? Its version of readline is too old for
> NetworkManager.

No, we don't use meta-gplv2.

But we contributed the feature for compiling NetworkManager without
readline to NetworkManager. Recent NetworkManager recipe versions 1.36+
have a packageconfig flag to build it with libedit instead of
libreadline.

Here are all commits:
https://github.com/openembedded/meta-openembedded/commits/master/meta-networking/recipes-connectivity/networkmanager

That's the one which introduces the libedit feature:
https://github.com/openembedded/meta-openembedded/commit/9632eca6d27f29dc229d7a4c6663f97fc036661e

--> Updating at least NetworkManager would help you.

Regards,
Adrian

> 
> -a
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60528): https://lists.yoctoproject.org/g/yocto/message/60528
Mute This Topic: https://lists.yoctoproject.org/mt/99982001/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to