Skip to main content
SP.19
Associate
Dec 29, 2020 8:12 AM UTC
Question

Fatal Error while building the project

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.

5 replies

Khouloud ZEMMELI
ST Employee
Dec 29, 2020 8:23 AM UTC

Hello @SP.19​ 

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

Thanks, Khouloud

SP.19
SP.19Author
Associate
Dec 29, 2020 9:32 AM UTC

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
Dec 29, 2020 10:56 AM UTC

Please click on the attach file logo as below:

0693W000006H4KnQAK.png

SP.19
SP.19Author
Associate
Dec 29, 2020 11:02 AM UTC

Sorry ma'am. I have attached it here.

Khouloud ZEMMELI
ST Employee
Dec 30, 2020 10:10 AM UTC

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

Thanks, Khouloud