#include <sys/mount.h> error

I am trying to build cocos2d-x-2.1.5 , for nacl pepper version 27 NACL_ARCH=i686.
Its fails at “cocos2dx//platform/nacl/CCInstance.cpp, line no 40” for #include <sys/mount.h>.
I search nacl sdk, but its not have ‘mount.h’ file for newlib & pnacl.(however its exist for glibc, but coco2d-x compile for newlib).
If I comment it, then compilation complete successfully.
But if try to run HelloCpp example, we get below error in chrome browser:
9GL ERROR :GL_INVALID_OPERATION : glUseProgram: program not linked 107.108.99.25/:1
247RENDER WARNING: Drawing with no current shader program.

please guide me to solve these 2 problems.

I was able to compile the samples without an issue. When I run the HelloCpp or SimpleGame examples in chrome I also receive the “GL ERROR :GL_INVALID_OPERATION : glUseProgram: program not linked” error message. A few months ago I was able to run the nacl examples without any problems. Can anyone offer any advice?

Edit: I am using v2.2.1