Hi, I am trying to set up my environment for building applications using legato for the FX30 LTE Cat 1 modem on windows using WSL, VSCode and Leaf.
I’ve tried various versions of Ubunut and followed the various instruction but the install keeps failing.
The first problem is always the python_ no being available and the only way around seems to be to use
However next I try and install the FX30_Cat1_2.0.0 FW package and it always fails at the point of installing the SDK.
Can someone give me the steps please for setting up the environment including all the additional requirements / packages / tools / dependencies I need to install to get this to work?
The instructions seem to be old, rely on libraries/packages no longer available and don’t work.
It should not be this hard to get this up and running? What am I missing?
February 6, 2023, 11:10am
do these help?
BTW, i would also suggest to install virtual machine to try
Hi, thanks for the reply. I had already actually seen those posts… but they don’t seem to apply (yet) to my problem… I’ll try a proper VM and go from there…
February 6, 2023, 11:54am
you can install ubuntu18:
I seem to have managed to install it on a proper Ubuntu 18 VM… but on the WSL2 I am getting this error…
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x50): multiple definition of `yylloc’; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
I’ve searched high and low for the file so I can set the reference to extern as per various articles online… but can’t find it anywhere. Is it inside the .cache/leaf/files/3ebcbd4-wp76-toolchain_SWI9X07Y_02.37.07.00-linux64.leaf file?
Any idea how I could get around this. It feels like I am almost there with getting this to work…
February 6, 2023, 5:15pm
you can see here for yylloc: (other user makes it work by downgrading GCC version)
first, python-jinja2 package now called python3-jinja2. I can install that manually and then set env var LEAF_IGNORE_UNKNOWN_APT=1 to get past that.
Poky (Yocto Project Reference Distro) SDK installer version 2.5.3
You are about to install the SDK to “/home/wroberts/.leaf/wp77-toolchain_SWI9X06Y_02.36.07.00-linux64”. Proceed[Y/n]? Y
Setting it up…done
The solution was to downgrade gcc/g++ from 11 to 9 using “update-alternatives” to manage multiple version