cancel
Showing results for 
Search instead for 
Did you mean: 

Build fail since CubeIDE update to 10.1

BKOSI.1
Associate II

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,

9 REPLIES 9
GLaure
Senior

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
Associate II

See attached file

GLaure
Senior

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
Associate II

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
Senior

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

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

BKOSI.1
Associate II

See attached file

BKOSI.1
Associate II

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
Associate II

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
Associate II

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.