Hello @hns80 ,
This issue can be resolved by replacing the "libraries support". Please refer to the following steps:
1. Right-click on this project and select "Properties".

2. Refer to the following screenshot and change "Libraries support" with "newlib no I/O (-specs=nosys.specs)". After the replacement, click "Apply" and then click "OK".

3. Clean the project and then build the project, and it can be successfully compiled.

Hope it can help you.
BRs,
Celeste
-----------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!
-----------------------------------------------------------------------------------------------------------------