On 11/6/22 01:14, Alexander Kanavin wrote:
It may help if you show the complete logs for configure and compile ,
otherwise there is not enough information in your message to diagnose
the issue.
Okay, yes, sorry about that, the compile output for bitbake
sample-image-cp-lwb5plus looks like:
...
4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.o
| MODPOST
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backports-laird/10.
4.0.10-r0/laird-backport-10.4.0.10/Module.symvers
| ERROR: modpost: "crypto_ecdh_encode_key"
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-
module-lwb5p-backports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.ko]
undefined!
| ERROR: modpost: "crypto_ecdh_key_len"
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-mod
ule-lwb5p-backports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/net/bluetooth/bluetooth.ko]
undefined!
| make[6]: ***
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work-shared/smarc-rzv2l/kernel-source/scripts/Makefile.modpost:
124:
/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backports-laird/10.4.0.10-
r0/laird-backport-10.4.0.10/Module.symvers] Error 1
| make[6]: *** Deleting file
'/home/yocto/rzv_vlp_v3.0.0/build/tmp/work/smarc_rzv2l-poky-linux/kernel-module-lwb5p-b
ackports-laird/10.4.0.10-r0/laird-backport-10.4.0.10/Module.symvers'
| make[5]: ***
[/home/yocto/rzv_vlp_v3.0.0/build/tmp/work-shared/smarc-rzv2l/kernel-source/Makefile:1726:
modules] E
rror 2
| make[4]: *** [Makefile:185: __sub-make] Error 2
| make[3]: *** [Makefile.build:13: modules] Error 2
| make[2]: *** [Makefile.real:91: modules] Error 2
| make[1]: *** [Makefile:43: modules] Error 2
| make: *** [Makefile:30: default] 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/smarc_rzv2l-poky-linux/kernel-module-lwb5p-backport
s-laird/10.4.0.10-r0/temp/run.do_compile.235046' failed with exit code 1
ERROR: Task
(/home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-bsp/backports-laird/k
ernel-module-lwb5p-backports-laird.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3878 tasks of which 3876 didn't need to
be rerun and 2 failed.
Summary: 2 tasks failed:
/home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-packages/lrd-networkmanager/lrd-
networkmanager-sterling.bb:do_compile
/home/yocto/rzv_vlp_v3.0.0/build/../meta-mylayer/meta-laird-cp-pre-3.4/recipes-bsp/backports-laird/kernel-modul
e-lwb5p-backports-laird.bb:do_compile
Summary: There were 4 WARNING messages shown.
Summary: There were 4 ERROR messages shown, returning a non-zero exit code.
Where my
meta-mylayer/meta-laird-cp-pre-3.4/recipes-packages/images/sample-image-cp-lwb5plus.bb
looks like:
DESCRIPTION = "Sterling LWB5+ SDIO/UART M.2 (diversity antenna) sample
image"
LICENSE = "MIT"
inherit core-image
export IMAGE_BASENAME = "${PN}"
DEPENDS += "\
readline \
pkgconfig \
"
IMAGE_FEATURES += "\
ssh-server-dropbear \
splash \
"
IMAGE_FEATURES_remove = "\
tools-profile \
tools-debug \
tools-testapps \
"
IMAGE_INSTALL += "\
iproute2 \
rng-tools \
ca-certificates \
tzdata \
alsa-utils \
htop \
ethtool \
iperf3 \
tcpdump \
iw \
kernel-module-lwb5p-backports-laird \
lwb5plus-sdio-div-firmware \
sterling-supplicant-lwb \
lrd-networkmanager-sterling \
"
Alex
On Sun 6. Nov 2022 at 8.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
<http://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?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58496): https://lists.yoctoproject.org/g/yocto/message/58496
Mute This Topic: https://lists.yoctoproject.org/mt/94840876/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-