Hi the community! I have been stuck in a building issue. I was using DS native 17.08.1 Legato framework for WP76. When I source bin/configlegatoenv here’s what showed up:
[ar7] No toolchain found for target ‘ar7’.
[ar86] No toolchain found for target ‘ar86’.
[wp85] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[wp750x] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[wp76xx] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[wp77xx] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[ar758x] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[ar759x] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[em75xx] Toolchain dir[/opt/swi/y17-ext/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi] prefix[arm-poky-linux-gnueabi-]
[virt] No toolchain found for target ‘virt’.
I believe this indicates that the tool-chains for these specific modules are available, am I right? But when I make a system say the mangOH system for WP76, this error always occurs:
undefined reference to `qmi_linux_get_conn_id_by_name_ex’
According to previous posts this seems to be a typical error message when a proper toolchain is missing. How can I make sure that I’m using the right toolchain when mkapp of mksys? Where the framework and toolchain are linked?
for instance, if you want to install the toolchain in $HOME/.legato/sdk/wp76xx/
I have a couple of patches to improve the toolchain experience that I’m trying to finish, especially regarding versioning, so we should have something better for 18.01.
The whole console log of making mangOH Green for wp76 is here log.txt (13.8 KB).
In the original post the toolchains found by configlegatoenv are in the same directory, but in that directory I only installed the one for wp76. Is that normal?
/home/lichen/legato/packages/legato.framework.17.8.1.wp76xx-201710231405/resources/legato/platformAdaptor/qmi/bin/wp76xx/components/le_pa/libComponent_le_pa.so: undefined reference to `qmi_linux_get_conn_id_by_name_ex'
Could you try to remove /opt/swi/y17-ext and then reinstall the wp76 toolchain?
Also, where did you download that toolchain from?
Hi @CoRfr, problem is solved according to your solution by removing y17-ext and reinstalling toolchain. I have a doubt now since it seems that only if folder y17-ext contains the proper toolchain for a certain target module the build process can be successful. Then does that mean only one module can be built against at a time? If I want to change a module to build against shall I remove y17-ext and reinstall toolchain again everytime?
You can have multiple toolchains installed at a time by using legato-spm
By the, we’re working at improving the command-line packaging in the coming releases.