Skip to main content
Adam_J
Visitor II
July 1, 2025
Solved

Error when execute make all in WSL environment

  • July 1, 2025
  • 1 reply
  • 1422 views

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

 

 

Best answer by SRomeo

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

1 reply

SRomeo
SRomeoBest answer
ST Employee
July 1, 2025

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