1 warning generated.
[ 98%] Linking CXX static library libcomm.a
[ 98%] Built target comm
[100%] Building CXX object CMakeFiles/marsxlog.dir/libraries/mars_android_sdk/jni/JNI_OnLoad.cc.o
[100%] Building CXX object CMakeFiles/marsxlog.dir/libraries/mars_xlog_sdk/jni/import.cc.o
[100%] Linking CXX shared library libmarsxlog.so
ld: error: unknown argument '--no-warn-shared-textrel'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [libmarsxlog.so] Error 1
make[2]: *** [CMakeFiles/marsxlog.dir/all] Error 2
make[1]: *** [CMakeFiles/marsxlog.dir/rule] Error 2
make: *** [marsxlog] Error 2
!!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
1条答案
按热度按时间vlurs2pr1#
I'm in the same situation. I've tried using version 1.3.0, which compiles successfully, but when I try to compile on Ubuntu using the master branch, it always fails with the same exception as yours. It's really a pity