Fail to "make wp76xx"

I have seen a similar post here, but the changes he made do not seem to work for me.

I have tried this with several different Legato Application Framework Releases (18.01.0/17.11.0/17.07.0).

Each time I “make clean” then follow up with “make wp76xx”.

I get an error at:

[467/718] Linking C executable
FAILED: /opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/opt/swi/y17-ext/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -Wl,–build-id -g -o /home/parallels/legato_framework/legato/build/wp76xx/system/app/modemService/staging/read-only/bin/modemDaemon /home/parallels/legato_framework/legato/build/wp76xx/system/app/modemService/obj/modemDaemon/_main.c.o -rdynamic -Wl,–enable-new-dtags,-rpath=“$ORIGIN/…/lib” -L “-Lbuild/wp76xx/system/component/8efd13a42c0ec5062c3b80df14c0bce6/obj” -lComponent_modemDaemon -ljansson -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa_ecall -lComponent_le_pa_ecall “-Lbuild/wp76xx/system/component/93d846c0fa56ef5e63aa50f8850655d5/obj” -lComponent_le_pa_ecall_default -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa -lComponent_le_pa -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/swiQmi -lComponent_swiQmi “-Lbuild/wp76xx/system/component/f9de559c0b1c67ec5a83469fb242d968/obj” -lComponent_le_pa_default “-Lbuild/wp76xx/system/component/8efd13a42c0ec5062c3b80df14c0bce6/obj” -lComponent_modemDaemon -ljansson -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa_ecall -lComponent_le_pa_ecall “-Lbuild/wp76xx/system/component/93d846c0fa56ef5e63aa50f8850655d5/obj” -lComponent_le_pa_ecall_default -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa -lComponent_le_pa -L/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/swiQmi -lComponent_swiQmi “-Lbuild/wp76xx/system/component/f9de559c0b1c67ec5a83469fb242d968/obj” -lComponent_le_pa_default “-L$LEGATO_BUILD/framework/lib” -llegato -lpthread -lrt -ldl -lm -g && splitdebug -d build/wp76xx/debug /home/parallels/legato_framework/legato/build/wp76xx/system/app/modemService/staging/read-only/bin/modemDaemon
/home/parallels/legato_framework/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa/libComponent_le_pa.so: undefined reference to `qmi_linux_get_conn_id_by_name_ex’
collect2: error: ld returned 1 exit status
[467/718] Compiling C source
ninja: build stopped: subcommand failed.
Makefile:437: recipe for target ‘system_wp76xx’ failed
make: *** [system_wp76xx] Error 1

Am I missing a previous step?

Currently I am trying to follow the mangOH Red Getting Started Linux CLI online instructions from mangoh.io

Thanks!

Hi @HDe2OA,

You’re using a wp85 toolchain to build for wp76xx, which won’t work.
You need to get the toolchain from the source (https://source.sierrawireless.com/resources/airprime/software/wp76xx/wp76xx-firmware-release-8-components/) and remove the existing one before installing this new one (which won’t work for wp85).

We are working on some way get multiple toolchains working on a single PC, and on versioning and target compatibility as well.