openharmony2.0往aarch64上移植的库连接问题
想把鸿蒙2.0移植到hi3559av100上,出现了一下连接问题,请大神支招...
ld.lld: error: undefined symbol: vtable for std::range_error
>>> referenced by stdexcept:156 (../../prebuilts/aosp_prebuilt_libs/asdk_libs/ndk/libcxx/include/stdexcept:156)
>>> obj/third_party/abseil-cpp/absl/base/internal/absl_throw_delegate/throw_delegate.o:(std::range_error::range_error(char const*))
the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
ld.lld: error: undefined symbol: vtable for std::range_error
>>> referenced by stdexcept:156 (../../prebuilts/aosp_prebuilt_libs/asdk_libs/ndk/libcxx/include/stdexcept:156)
>>> obj/third_party/abseil-cpp/absl/base/internal/absl_throw_delegate/throw_delegate.o:(std::range_error::range_error(char const*))
the vtable symbol may be undefined because the class is missing its key function (see https://lld.llvm.org/missingkeyfunction)
ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
鸿蒙目前不支持64位啊
oh no~~
其实64位我替换了很多库,可能是不同的库版本对不上,不知道什么时候有支持。