Problem with 'make wp76xx'

I get the following liblegato error when I try following along with the setup guide:

Any tips on fixing this issue are appreciated.

Did you install toolchain?

Do you compile it in " leaf shell"?

I believe I did install toolchain correctly- its referring to the following link right?

I have a WP76XX module. Additionally, yes, I was compiling in leaf shell.

You can check the toolchain path inside leaf shell by “export | grep WP76XX_TOOLCHAIN”:

Yes, I seem to have the same info here:

To setup the workspace, I used a tarball- is this a valid approach? Also do I have to run the kernel build scripts?
Additionally, these are the following SDKs I imported into my profile:

I did not install the mangoh-red SDK
you can remove it and try to compile the legato framework of swi-wp76_5.0.0 first.

I removed it now, by compiling the legato framework, do you mean the following command?

is it ok???

No, its still giving the same error as before:

I don’t see problem on swi_wp76_4.0.3
Maybe you can give a try on that


Hm yeah 4.0.3 seems to be giving me the same error.

Is the legato.cwe file supposed to be created after running the make wp76xx command? I don’t seem to have it.

Additionally, is it necessary to install the toolchain + other components separately if I already installed the SDKs using leaf and am running these commands using leaf shell?

Does the vscode ‘Build’ command essentially compile the same files similar to what ‘make wp76xx’ does?

Yes, after successfully make wp76xx, you should see the legato.cwe.

There is no need to install the toolchain + other components separately if you already installed the SDKs using leaf

Btw, have you tried to “make clean” before “make wp76xx” ???

Ah I see.
I tried ‘make clean’ and then tried running ‘make wp76xx’ again- now I’m getting an include error:

Are you compiling swi_wp76_4.0.3

Yes, I added swi_wp76_4.0.3 to my profile.

this is my log when compiling swi_wp76_4.0.3, I don’t see problem:
log.txt (186.2 KB)

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes

Are you compiling legato 19.2?

By compiling, you mean simply adding to profile, right?
And should I have legato 19.2 downloaded locally in the same workspace?

swi_wp76_4.0.3 should be already having legato framework 19.2, there is no need to extra download