我正在尝试从github编译Monero,遇到以下错误。关于如何解决它的任何想法?
我什至降级了gcc,并将g ++降级到6.5
[ 5%] Built target generate_translations_header
[ 13%] Built target libminiupnpc-static
[ 15%] Built target lmdb
[ 16%] Built target easylogging
[ 16%] Building CXX object contrib/epee/src/CMakeFiles/epee.dir/hex.cpp.o
error: unknown warning option '-Wlogical-op'; did you mean '-Wliblto'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=maybe-uninitialized'; did you mean '-Werror=uninitialized'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=cpp' [-Werror,-Wunknown-warning-option]
contrib/epee/src/CMakeFiles/epee.dir/build.make:62: recipe for target 'contrib/epee/src/CMakeFiles/epee.dir/hex.cpp.o' failed
make[2]: *** [contrib/epee/src/CMakeFiles/epee.dir/hex.cpp.o] Error 1
CMakeFiles/Makefile2:404: recipe for target 'contrib/epee/src/CMakeFiles/epee.dir/all' failed
make[1]: *** [contrib/epee/src/CMakeFiles/epee.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
此错误在ubunt 16上引发,它是在我写完之后
make
非常感谢