On 11/6/22 18:30, Mistyron via lists.yoctoproject.org wrote:
On 11/6/22 18:16, Khem Raj wrote:
On Sun, Nov 6, 2022 at 5:00 PM Khem Raj <[email protected]> wrote:
On Sun, Nov 6, 2022 at 8:02 AM Mistyron <[email protected]>
wrote:
On 11/6/22 02:26, Anders Montonen wrote:
On 6 Nov 2022, at 9:45, Mistyron <[email protected]> wrote:
Hi,
I'm working with dunfell and want to compile and install the
drivers for the Laird LWB5+ module (available from
https://github.com/LairdCP/meta-laird-cp).
I have included the path to the layer in meta-laird-cp-pre-3.4 in
my `bblayers.conf` and since I need the networkmanager and with
information from their support team (don't trust the README
apparently), I've added `lrd-networkmanager-sterling` to the
`IMAGE_INSTALL` list in `sample-image-cp-lwb5plus.bb`. When I
invoke `$ bitbake sample-image-cp-lwb5plus`, I keep getting:
|
/usr/src/debug/lrd-networkmanager-sterling/10.4.0.10-r0/build/../lrd-network-manager-10.4.0.10/src/nmcli/common.c:904:
undefined reference to `rl_echo_signal_char'
even though I've added `readline` to the `DEPENDS` list. Why is
this? I expected the `rl_echo_signal_char` dependency to be
resolved, any hints?
Are you using meta-gplv2? That function doesn’t exist yet in the
version of readline provided by that layer.
I see, yes my project is using "meta-gplv2".
Should removal of that layer help, or would you recommend that I
update
the readline version within it to the latest? (and provide an upstream
patch to: https://github.com/lgirdk/meta-gplv2 ?
you can also look into replacing readline with editline and see if
this would work for your package needs. That will be one less package
needed from meta-gpl2
I should have said libedit and not editline
libedit is the editline library under meta-devtools:
https://git.yoctoproject.org/poky/plain/meta/recipes-devtools/libedit/
I'll give this a shot!
I replaced replaced readline with libedit in
meta-gplv2/recipes-support/gnupg/gnupg_1.4.7.bb, invoked bitbake and got:
|
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/8.3.0/ar:
`u' modifier ignored since `D' is the default (see `U')
| aarch64-poky-linux-libtool: link: aarch64-poky-linux-gcc-ranlib
src/core/.libs/libNetworkManager.a
| aarch64-poky-linux-libtool: link: rm -fr
src/core/.libs/libNetworkManager.lax
| aarch64-poky-linux-libtool: link: ( cd "src/core/.libs" && rm -f
"libNetworkManager.la" && ln -s "../libNetworkManager.la"
"libNetworkManager.la" )
| make[2]: Leaving directory
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/build'
| make[1]: *** [Makefile:18508: all-recursive] Error 1
| make[1]: Leaving directory
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/build'
| make: *** [Makefile:8521: all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/aarch64-poky-linux/lrd-networkmanager-sterling/10.4.0.10-r0/temp/run.do_compile.78849'
failed with exit code 1
ERROR: Task
(/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistylwb5p/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-networkmanager-sterling.bb:do_compile)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 3706 tasks of which 3702 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
/home/yocto/rzv_vlp_v3.0.0/build/../meta-mistylwb5p/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-networkmanager-sterling.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 7 ERROR messages shown, returning a non-zero exit code.
yocto@933e43234703:~/rzv_vlp_v3.0.0/build$
And I have troubles to decode what exactly is causing the error in
libNetworkManager.a - can anyone help me to shed some light onto this?
I'm not sure about how to fix the the `u' modifier problem either nor do
I know what it really means.
--
Ron
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58508): https://lists.yoctoproject.org/g/yocto/message/58508
Mute This Topic: https://lists.yoctoproject.org/mt/94840876/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-