# “-fpermissive” and “include ” dont work in linux c compiler

ShiraOzeri 07/30/2017. 1 answers, 115 views

I using Jenkins to Integretion a big project.

When i build the project in jenkins on windows meachine, the build successful.

But, when i build the same project in jenkins on linux meachine, the build failed.

I get a lot of error, like this:

 cc1: warning: command line option '-fpermissive' is valid for C++/ObjC++ but not for C

and problem with the name of the file:

  In file included from /var/lib/jenkins/workspace/mt-android-sdk-new/library/src/main/cpp/iprs_audio/iprs_audio_funcs.h:10:0,
from /var/lib/jenkins/workspace/mt-android-sdk-new/library/src/main/cpp/iprs_audio/iprs_audio_funcs.c:7:
/var/lib/jenkins/workspace/mt-android-sdk-new/library/src/main/cpp/./iprs_audio/iprs_audio.h:15:40: fatal error: iprs_audio/iprs_audio_defs.h: No such file or directory
#include <iprs_audio/iprs_audio_defs.h>
^

The name of the file is: Iprs_audio_defs.h (capital letter)

In windows the difference between letters doesnt matter, but in linux I got this error. I can't rename the files because this is a big project and my responsibility is just Jenkins

Any help?

Dan Albert 08/10/2017.

I can't rename the files because this is a big project and my responsibility is just Jenkins

Unfortunately this is the only option. Linux is case-sensitive.