I get a lot of undefined reference to ... errors when I compile my single c++ source-file using the ndk-build tool. For the record I use NDK r6 on a linux host system.
F
You had to add APP_STL := stlport_static to the Application.mk file, not Android.mk.
APP_STL := stlport_static
Application.mk
Android.mk
EDIT: As far as I can see you haven't linked against stlport static library. So I think you should add something like -lstlport to LOCAL_LDLIBS.
-lstlport
LOCAL_LDLIBS