build HelloWorld Error

$ ./build_native.sh
/cygdrive/e/Android/android-ndk-r4b /cygdrive/e/Android/cocos2d/HelloWorld/android
make: Entering directory `/cygdrive/e/Android/cocos2d/HelloWorld/android’
Gdbserver : [arm-eabi-4.4.0] /cygdrive/e/Android/cocos2d/HelloWorld/android/libs/armeabi/gdbserver
Gdbsetup : /cygdrive/e/Android/cocos2d/HelloWorld/android/libs/armeabi/gdb.setup
Gdbsetup : + source directory /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/helloworld
Gdbsetup : + source directory /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/helloworld
Gdbsetup : + source directory /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/helloworld
Gdbsetup : + source directory /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/helloworld
Compile*+ thumb: cocos2d <= /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp
In file included from /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:26:
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.h:30:18: error: string: No such file or directory
In file included from /cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:26:
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.h:144: error: expected unqualified-id before ‘&’ token
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.h:144: error: expected ‘)’ before ‘&’ token
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.h:144: error: expected ‘;’ before ‘&’ token
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp: In member function ‘bool cocos2d::CCConfiguration::init()’:
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:59: error: ‘checkForGLExtension’ was not declared in this scope
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp: In member function ‘cocos2d::CCGlesVersion cocos2d::CCConfiguration::getGlesVersion()’:
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:90: error: ‘string’ is not a member of ‘std’
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:90: error: expected ‘;’ before ‘strVersion’
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:91: error: ‘strVersion’ was not declared in this scope
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp: At global scope:
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:124: error: ISO C*+ forbids declaration of ‘string’ with no type
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:124: error: expected ‘,’ or ‘…’ before ‘&’ token
/cygdrive/e/Android/cocos2d/HelloWorld/android/jni/…/…/…/cocos2dx/CCConfiguration.cpp:124: error: no ‘bool cocos2d::CCConfiguration::checkForGLExtension(int)’ member function declared in class ‘cocos2d::CCConfiguration’
/cygdrive/e/Android/android-ndk-r4b/build/core/build-binary.mk:172: recipe for target `/cygdrive/e/Android/cocos2d/HelloWorld/android/obj/local/armeabi/objs/cocos2d/CCConfiguration.o’ failed
make: * [/cygdrive/e/Android/cocos2d/HelloWorld/android/obj/local/armeabi/objs/cocos2d/CCConfiguration.o] Error 1
make: Leaving directory `/cygdrive/e/Android/cocos2d/HelloWorld/android’
/cygdrive/e/Android/cocos2d/HelloWorld/android

Why?

I think your ndk version is too old.