cancel
Showing results for 
Search instead for 
Did you mean: 

Error when execute make all in WSL environment

Adam_J
Associate

Hi,

 

I am working on a project generated from AutoDevKitStudio-2.2.1, with few SPC58ECxx applications. Able to generate, build and run using the AutoDevKitStudio, and Makefile is auto generated in the project folder.

I am using DiscoveryPlus development board with SPC58ECxx MCU.

 

When I try to execute the "make all" command in WSL (ubuntu 20.04.6 LTS), it generate error:

Adam_J_2-1751333975224.png

After run "make clean" (remove .dep and build folders successfully) , it generate error:

Adam_J_1-1751333844010.png

PATH already pointing to the correct directory in the generated Makefile:

Adam_J_3-1751334200828.png

ppc-freevle-eabi-gcc.exe is present in the directory above.

 

Is the gcc compiler in the PATH is for window environment? Do we need a different gcc compiler for the linux environment? Kindly advise.

 

Please help me to share the relevant document or sample project which has a working Makefile with this environment.

 

Thanks

AJ

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
SRomeo
ST Employee

Hi Adam,

Actually, if you install AutoDevKit on Ubuntu, you will not be able to use directly the GCC compiler provided with the Windows version of AutoDevKit, because that compiler is built for Windows and cannot run on Linux.

I think that, on Ubuntu, you can use a native installable GCC, which is optimized for Linux.

Regardless, the AutoDevKit app has been developed for Windows, so you should use a Windows machine.
We cannot guarantee full compatibility on Linux based OS and are unable to provide support for that platform.

Please, make sure to install the latest version: AutodevKit 2.6.1
 on a Windows machine.
Best regards,
SR
AutodevKit Team

View solution in original post

1 REPLY 1
SRomeo
ST Employee

Hi Adam,

Actually, if you install AutoDevKit on Ubuntu, you will not be able to use directly the GCC compiler provided with the Windows version of AutoDevKit, because that compiler is built for Windows and cannot run on Linux.

I think that, on Ubuntu, you can use a native installable GCC, which is optimized for Linux.

Regardless, the AutoDevKit app has been developed for Windows, so you should use a Windows machine.
We cannot guarantee full compatibility on Linux based OS and are unable to provide support for that platform.

Please, make sure to install the latest version: AutodevKit 2.6.1
 on a Windows machine.
Best regards,
SR
AutodevKit Team