Skip to main content
DNeet.1
Associate III
June 1, 2020
Question

I generated a simple project with STM32CubeMX When I compile that project I get: make: *** [Src/subdir.mk:27: Src/main.o] Error 3 "make all" terminated with exit code 2. Build might be incomplete.

  • June 1, 2020
  • 3 replies
  • 899 views

I have the foll. settings:

Properties...C/C++ Build...Tool Chain Editor...Current toolchain: Cross GCC

Properties...C/C++ Build...Environment...PATH: C:\ST\STM32CubeIDE_1.3.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.make.win32_1.1.0.201910081157\tools\bin

This topic has been closed for replies.

3 replies

TDK
June 2, 2020

Should be an error before that telling you why the build failed.

"If you feel a post has answered your question, please click ""Accept as Solution""."
DNeet.1
DNeet.1Author
Associate III
June 2, 2020

21:18:19 **** Incremental Build of configuration Debug for project Lab1 ****

make all

make (e=3): Das System kann den angegebenen Pfad nicht finden.

make: *** [Src/subdir.mk:27: Src/main.o] Error 3

"make all" terminated with exit code 2. Build might be incomplete.

PKVSK.1
Visitor II
September 23, 2021

Request comments on the Error below:

Error-

make: *** [Middlewares/Third_Party/SEGGER/SEGGER/Syscalls/subdir.mk:25: Middlewares/Third_Party/SEGGER/SEGGER/Syscalls/SEGGER_RTT_Syscalls_IAR.o] Error 1