Compiilation error for Legato Af


#1

My try to compile Legato Af for AR758x stuck with error as -

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 -o build/ar758x/system/app/modemService/staging/read-only/bin/modemDaemon build/ar758x/system/app/modemService/obj/modemDaemon/_main.c.o -rdynamic -Wl,–enable-new-dtags,-rpath="$ORIGIN/…/lib" -L “-Lbuild/ar758x/system/component/79b5cdf2910171cd112a84396db83cf9/obj” -lComponent_modemDaemon -ljansson -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/le_pa_ecall -lComponent_le_pa_ecall “-Lbuild/ar758x/system/component/bcfe83977053605208a93edc87cdf679/obj” -lComponent_le_pa_ecall_default -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/le_pa -lComponent_le_pa -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/swiQmi -lComponent_swiQmi “-Lbuild/ar758x/system/component/1c700b710bdf312f036b3fa06f739974/obj” -lComponent_le_pa_default “-Lbuild/ar758x/system/component/79b5cdf2910171cd112a84396db83cf9/obj” -lComponent_modemDaemon -ljansson -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/le_pa_ecall -lComponent_le_pa_ecall “-Lbuild/ar758x/system/component/bcfe83977053605208a93edc87cdf679/obj” -lComponent_le_pa_ecall_default -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/le_pa -lComponent_le_pa -L/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/components/swiQmi -lComponent_swiQmi “-Lbuild/ar758x/system/component/1c700b710bdf312f036b3fa06f739974/obj” -lComponent_le_pa_default “-L$LEGATO_BUILD/framework/lib” -llegato -lpthread -lrt -ldl -lm
/home/user64/workspace/legato/platformAdaptor/qmi/bin/ar758x/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

My workspace is ->

legato$ uname -a
Linux ubuntu64 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Any help in this regards is accepted with big thanks!


#2

Hi,

You’re probably using a WP85 toolchain on your AR758x device.
You need to use the toolchain delivered to your by Sierra to be able to build the framework.