HSPでAndroidアプリを作りたくてHSP3Dishを使ってビルドをしたら、
「NDKのビルドに失敗しました」と出てビルドできませんでした。
プログラム初心者なのでわかりやすく回答お願いします。
Console
Android NDK: WARNING:jni/Android.mk:StopWatchBath: non-system libraries in linker flags: -lhsp3lib Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the Android NDK: current module [armeabi-v7a] Compile thumb : StopWatchBath <= hsp_native_app_glue.c [armeabi-v7a] Compile++ thumb: StopWatchBath <= javafunc.cpp [armeabi-v7a] Compile thumb : StopWatchBath <= main.c [armeabi-v7a] Compile++ thumb: StopWatchBath <= hsp3r.cpp jni/hsp3embed/hsp3r.cpp: In member function 'int Hsp3r::Reset(int, int)': jni/hsp3embed/hsp3r.cpp:75:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] dpm_ini( "/data/data/SKfuro.com/lib/libhsp3dish.so",0,-1,-1 ); ^ [armeabi-v7a] Compile++ thumb: StopWatchBath <= hspsource.cpp jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()': jni/hsp3embed/hspsource.cpp:27:15: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] PushStr("END"); ^ [armeabi-v7a] StaticLibrary : libstdc++.a [armeabi-v7a] SharedLibrary : libStopWatchBath.so jni/hsp3/hsp3gr_dish.cpp:691: error: undefined reference to '__srget' jni/hsp3/hsp3gr_dish.cpp:701: error: undefined reference to '__srget' jni/hsp3/hsp3gr_dish.cpp:711: error: undefined reference to '__srget' jni/hsp3/hsp3gr_dish.cpp:713: error: undefined reference to '__srget' collect2.exe: error: ld returned 1 exit status make.exe: *** [obj/local/armeabi-v7a/libStopWatchBath.so] Error 1