futurewei-cloud / chogori-seastar-rd

Apache License 2.0
6 stars 9 forks source link

multiple definition of `_Unwind_RaiseException' #9

Open BorgesLu opened 3 years ago

BorgesLu commented 3 years ago

when I link the seastar library,the linker throws an error:

/usr/bin/ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/9/libgcc_eh.a(unwind-dw2.o): in function _Unwind_RaiseException': (.text+0x2510): multiple definition of_Unwind_RaiseException'; /usr/local/lib/libseastar.a(exception_hacks.cc.o):/home/kvgroup/lmx/chogori-seastar-rd/build/release/../../include/seastar/core/deleter.hh:121: first defined here

iafuture commented 3 years ago

Hi, How are you building the library? What is the environment setup? Are you following the steps here: https://github.com/futurewei-cloud/chogori-seastar-rd#readme?

The build should work if you follow those steps in a clean environment (e.g. ubuntu-20 container with build-essentials installed)