cancel
Showing results for 
Search instead for 
Did you mean: 

"make -j4 all" terminated with exit code 2.

FWu.3
Associate III

I have a quick question I got the error while I was building the empty project. It seems like I got nothing in the inc file? How to solve it. Thanks a lot!

make -j4 all 

arm-none-eabi-gcc -o "test.elf" @"objects.list"  -mcpu=cortex-m4 -T"\\MAC\Home\Desktop\Embedded-C\My_workspace\host\test\STM32F446RETX_FLASH.ld" --specs=nosys.specs -Wl,-Map="test.map" -Wl,--gc-sections -static --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -Wl,--start-group -lc -lm -Wl,--end-group

c:\st\stm32cubeide_1.10.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot open linker script file \MAC\Home\Desktop\Embedded-C\My_workspace\host\test\STM32F446RETX_FLASH.ld: No such file or directory

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:63: test.elf] Error 1

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

0693W00000SvHRZQA3.png 

1 ACCEPTED SOLUTION

Accepted Solutions
FWu.3
Associate III

I found the answer. Just to build the workspace in diskC

View solution in original post

1 REPLY 1
FWu.3
Associate III

I found the answer. Just to build the workspace in diskC