1

これが私のビルド環境です

Ubuntu 14.04 LTS
Android NDK r10d
Android SDK API 21 SDK Platporm, build-tools 20

しかし、私が構築するときscons TARGET_OS=android TARGET_ARCH=armeabi

彼らは次のようなビルドで例外をスローします

Archiving out/android/armeabi/release/resource/csdk/security/libocsrm.a
Indexing Archive out/android/armeabi/release/resource/csdk/security/libocsrm.a
Install file: "out/android/armeabi/release/resource/csdk/security/libocsrm.a" as "out/android/armeabi/release/libocsrm.a"
Linking out/android/armeabi/release/resource/csdk/liboctbstack.so
out/android/armeabi/release/resource/csdk/stack/src/ocpayloadparse.os:ocpayloadparse.c:function OCParseStringLL: error: undefined reference to '_cbor_value_dup_string'
out/android/armeabi/release/resource/csdk/stack/src/ocpayloadparse.os:ocpayloadparse.c:function OCParseSingleRepPayload: error: undefined reference to '_cbor_value_dup_string'
out/android/armeabi/release/resource/csdk/stack/src/ocpayloadparse.os:ocpayloadparse.c:function OCParseSingleRepPayload: error: undefined reference to '_cbor_value_dup_string'
out/android/armeabi/release/resource/csdk/stack/src/ocpayloadparse.os:ocpayloadparse.c:function OCParseSingleRepPayload: error: undefined reference to '_cbor_value_dup_string'
collect2: error: ld returned 1 exit status
scons: *** [out/android/armeabi/release/resource/csdk/liboctbstack.so] Error 1
scons: building terminated because of errors.

どうすればいいのかわからないのですが、どうすれば解決できますか?

4

1 に答える 1