nebula版本:v3.0.1
编译环境:centos8
相关的依赖都已经装好,编译报错(文本同截图):
[ 44%] Built target storage_stats_obj
Consolidate compiler generated dependencies of target version_obj
[ 44%] Built target version_obj
Consolidate compiler generated dependencies of target ws_common_obj
[ 44%] Built target ws_common_obj
Consolidate compiler generated dependencies of target nebula-metad
[ 44%] Linking CXX executable ../../bin/nebula-metad
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a(eh_catch.o): In function `__cxa_begin_catch':
(.text.__cxa_begin_catch+0x0): multiple definition of `__cxa_begin_catch'
/root/nebula/build/third-party/install/lib/libfolly.a(ExceptionTracerLib.cpp.o):(.text+0x2030): first defined here
/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a(eh_catch.o): In function `__cxa_end_catch':
(.text.__cxa_end_catch+0x0): multiple definition of `__cxa_end_catch'
/root/nebula/build/third-party/install/lib/libfolly.a(ExceptionTracerLib.cpp.o):(.text+0x1e60): first defined here
/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a(eh_ptr.o): In function `std::rethrow_exception(std::__exception_ptr::exception_ptr)':
(.text._ZSt17rethrow_exceptionNSt15__exception_ptr13exception_ptrE+0x0): multiple definition of `std::rethrow_exception(std::__exception_ptr::exception_ptr)'
/root/nebula/build/third-party/install/lib/libfolly.a(ExceptionTracerLib.cpp.o):(.text+0x1c60): first defined here
/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a(eh_throw.o): In function `__cxa_throw':
(.text.__cxa_throw+0x0): multiple definition of `__cxa_throw'
/root/nebula/build/third-party/install/lib/libfolly.a(ExceptionTracerLib.cpp.o):(.text+0x1990): first defined here
/usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.a(eh_throw.o): In function `__cxa_rethrow':
(.text.__cxa_rethrow+0x0): multiple definition of `__cxa_rethrow'
/root/nebula/build/third-party/install/lib/libfolly.a(ExceptionTracerLib.cpp.o):(.text+0x1b40): first defined here
make[2]: *** [src/daemons/CMakeFiles/nebula-metad.dir/build.make:718: bin/nebula-metad] Error 1
make[2]: *** Deleting file 'bin/nebula-metad'
make[1]: *** [CMakeFiles/Makefile2:6543: src/daemons/CMakeFiles/nebula-metad.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
c++不太了解,想开始尝试下,想问下这是什么原因引起的报错?