Skip to main content
SP.19
Associate
December 29, 2020
Question

Fatal Error while building the project

  • December 29, 2020
  • 2 replies
  • 3037 views

Hello All,

While building my project, I got 3 errors as shown below. I have no application level errors.

Error Messages:

In file included from ../STM32GENERIC-master/tools/win/src/upload-reset/upload-reset.c:29:0:

c:\st\stm32cubeide_1.4.0\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\include\termios.h:4:10: fatal error: sys/termios.h: No such file or directory

 #include <sys/termios.h>

     ^~~~~~~~~~~~~~~

compilation terminated.

make: *** [STM32GENERIC-master/tools/win/src/upload-reset/subdir.mk:18: STM32GENERIC-master/tools/win/src/upload-reset/upload-reset.o] Error 1

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

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

 For this project, I'm making use of :

  1. STM32F030R8
  2. STM CudeIDE

Please help me resolve this issue as soon as possible and thank you for your help.

0693W000006H2vCQAS.png

This topic has been closed for replies.

2 replies

Khouloud ZEMMELI
ST Employee
December 29, 2020

Hello @SP.19​ 

Could you please share your ioc file to check your problem?

Thanks, Khouloud

SP.19
SP.19Author
Associate
December 29, 2020

Yes ma'am. I have attached the .ioc file here.

Thank you.

Edit: Ma'am, I have attached the file in email. I'm unable to attach it here in the forum.

Khouloud ZEMMELI
ST Employee
December 29, 2020

Please click on the attach file logo as below:

0693W000006H4KnQAK.png

SP.19
SP.19Author
Associate
December 29, 2020

Sorry ma'am. I have attached it here.

Khouloud ZEMMELI
ST Employee
December 30, 2020

I have checked on my side and no issue reproduced, can you please switch to the latest CubeIDE version ?

Thanks, Khouloud