>> here it stops, when i try to compile Gem from git:
> which compiler (gcc-version) is this?
gcc --version
gcc (GCC) 4.7.0 20120324 (prerelease)
>
> i pushed a change to Files.cpp that would include<unistd.h>, maybe this
> fixes the problem.
> please check (and tell us of success/failure)
Files.cpp problem dissapeared,
but it seems that the same problem is in plugins/recordV4L2/recordV4L2.cpp
i tried to include unistd.h and then it was ok