Wednesday, April 25th 2018, 12:45am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

ilkay.kozak

Beginner

Date of registration: Jan 26th 2016

Posts: 27

1

Sunday, December 10th 2017, 8:30pm

[SOLVED] GCC sys/fcntl.h

Hello,
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?
Regards,
ilkay KOZAK

SEGGER - Nino

Super Moderator

Date of registration: Jan 2nd 2017

Posts: 954

2

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,
Nino
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/


ilkay.kozak

Beginner

Date of registration: Jan 26th 2016

Posts: 27

3

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