shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
236 stars 63 forks source link

Compile error while compiling glog #102

Closed KinoluKaslana closed 4 years ago

KinoluKaslana commented 4 years ago

Command: ../configure make Error Info:

[754/2620] SOLINK ./libglog.so
FAILED: libglog.so libglog.so.TOC 
python "../build/toolchain/gcc_solink_wrapper.py" --readelf="readelf" --nm="nm" --sofile="./libglog.so" --tocfile="./libglog.so.TOC" --output="./libglog.so" -- ../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,-soname="libglog.so" -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed -fuse-ld=lld -Wl,--color-diagnostics -m64 -Wl,--gdb-index -rdynamic -Wl,-rpath=\$ORIGIN -Werror -o "./libglog.so" @"./libglog.so.rsp"
ld.lld: error: undefined symbol: _Ux86_64_getcontext
>>> referenced by stacktrace_libunwind-inl.h:65 (../third_party/glog/src/src/stacktrace_libunwind-inl.h:65)
>>>               obj/third_party/glog/glog/utilities.o:(google::GetStackTrace(void**, int, int))

ld.lld: error: undefined symbol: _ULx86_64_init_local
>>> referenced by stacktrace_libunwind-inl.h:66 (../third_party/glog/src/src/stacktrace_libunwind-inl.h:66)
>>>               obj/third_party/glog/glog/utilities.o:(google::GetStackTrace(void**, int, int))

ld.lld: error: undefined symbol: _ULx86_64_get_reg
>>> referenced by stacktrace_libunwind-inl.h:70 (../third_party/glog/src/src/stacktrace_libunwind-inl.h:70)
>>>               obj/third_party/glog/glog/utilities.o:(google::GetStackTrace(void**, int, int))

ld.lld: error: undefined symbol: _ULx86_64_step
>>> referenced by stacktrace_libunwind-inl.h:78 (../third_party/glog/src/src/stacktrace_libunwind-inl.h:78)
>>>               obj/third_party/glog/glog/utilities.o:(google::GetStackTrace(void**, int, int))
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[763/2620] CXX obj/third_party/googletest/gtest/gtest.o
ninja: build stopped: subcommand failed.