Tuesday, April 24th 2018, 6:26pm UTC+2

You are not logged in.

  • Login
  • Register



Date of registration: Jan 26th 2016

Posts: 27


Sunday, December 10th 2017, 8:30pm

[SOLVED] GCC sys/fcntl.h

I want to port my code to SES. it's toolchain is GCC , but I can not compile it using SES.
Because sys/fcntl.h , sys/syslimits.h etc. are missing?
Normally SES is compatible with GCC ARM compiler.
How can I fix it?
ilkay KOZAK


Super Moderator

Date of registration: Jan 2nd 2017

Posts: 954


Monday, December 11th 2017, 9:12am

Hello Ilkay,

Thank you for your inquiry.
Did you make sure you copied all your former project files to the new project?
This sounds like the needed header files are either not copied over or are not included in the project.
To include the folders with the header files go to: Project->Edit Options...->Code->Preprocessor->User Include Directories
There enter the full absolute path to the folder with the header files or the relative path to the em.project file.
If you have multiple folders then enter one per line.

Does this solve your issue?

Best regards,
Please read the forum rules before posting: Forum Rules

Keep in mind, this is not a support forum. Its main purposes is user to user interaction.
Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
Should you be entitled to support contact us per e-mail.
The following contact form can be used for this: https://www.segger.com/about-us/contact-us/



Date of registration: Jan 26th 2016

Posts: 27


Wednesday, December 13th 2017, 6:08pm

Hello Nino,
Now I use external GNU GCC compiler to solve my problem.
Because SES GCC compiler and header files are not compatible with GNU ARM Compiler v6.
Thank you,

ilkay KOZAK