Skip to main content
BKOSI.1
Associate III
November 24, 2022
Question

Build fail since CubeIDE update to 10.1

  • November 24, 2022
  • 9 replies
  • 3158 views

Hi,

I'm looking for a support concerning a STM32U585 firmware.

After an update of CubeIDE, build fail with this errror :

09:43:17 **** Build of configuration Debug for project BlackBox ****

make -j8 all 

Middlewares/BlackBox_Manager/Src/main_manager.d:130: *** missing separator. Stop.

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

09:43:17 Build Failed. 1 errors, 0 warnings. (took 124ms)

I didn't change any line since the update.

If someone have an idea about this issue, you are welcome !

BR,

This topic has been closed for replies.

9 replies

GLaure
Associate III
November 24, 2022

This looks like an error in the Makefile. Likely spaces where ther should be tabulators.

Post the content of main_manager.d. (Please not as pdf)

BKOSI.1
BKOSI.1Author
Associate III
November 24, 2022

See attached file

GLaure
Associate III
November 24, 2022

Try to completely delete line 130 and 131 and try again.

There is a mixup between forward and backward slashes and spaces in the paths. But these are only dependencies and the build should work without it.

0693W00000WJQw2QAH.png

BKOSI.1
BKOSI.1Author
Associate III
November 24, 2022

Thank you,

I make all these modifications on several *.d files.

Now I have 2 new errors :

make: *** No rule to make target 'C:\Users\benjamin.kosicki\Documents\Stories#0034 - [INNOV] Regulateur NG\Black Box\Firmware\blackbox-master\STM32U585AIIXQ_FLASH.ld', needed by 'BlackBox.elf'. Stop.

make: *** Waiting for unfinished jobs....

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

13:57:16 Build Failed. 2 errors, 0 warnings. (took 1s.245ms)

GLaure
Associate III
November 24, 2022

Please try to generate the project files into an easier path.

One without '#', '[]' and spaces in it.

BKOSI.1
BKOSI.1Author
Associate III
November 24, 2022

See attached file

BKOSI.1
BKOSI.1Author
Associate III
November 24, 2022

I already try to change the path of the directory.

We have more trouble during build.

I think we have a problem with the workspace

BKOSI.1
BKOSI.1Author
Associate III
November 24, 2022

Now we found this error :

make: *** No rule to make target 'C:\Users\benjamin.kosicki\Documents\Stories#0034 - [INNOV] Regulateur NG\Black Box\Firmware\blackbox-master\STM32U585AIIXQ_FLASH.ld', needed by 'BlackBox.elf'. Stop.

make: *** Waiting for unfinished jobs....

BKOSI.1
BKOSI.1Author
Associate III
November 25, 2022

Thanks you for your support, we found the main issue.

This problem is due to laptop migration, even we transfer the workspace and project, CubeIDE build fail.

I close this topic.