I got FFMpeg repository on my Ubuntu machine, installed it and imported in Eclipse as a project. Anyway, at compile time (the FFMpeg project from eclipse) I get this error:
’F_NOCACHE’ undeclared (first use in this function)
This error is coming from this code line:

fcntl(fd[i], F_NOCACHE, 1);both headers for fcntl are included, according to man pages. Can anyone tell me why I get this error and how to solve it? It seems to me that F_NOCACHE is related only to BSD systems.
Thanks in advance!

Check Solution