-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make时未定义的引用 #2458
Comments
@duishuhaoqi thanks for your question. Could you give the output of |
|
Please give the whole content, the head output such as |
-- The C compiler identification is GNU 4.8.5 |
|
Please check the FAQ documentation before raising an issue*
Please check the FAQ documentation and old issues before raising an issue in case someone has asked the same question that you are asking.
Describe the bug (must be provided)
make时报错:
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::Codec::doGetUncompressedLength(folly::IOBuf const*, folly::Optional) const’中:
(.text+0x238):对‘lzma_stream_buffer_bound’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::Codec::doGetUncompressedLength(folly::IOBuf const*, folly::Optional) const’中:
(.text+0xf4c):对‘lzma_end’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::Codec::doGetUncompressedLength(folly::IOBuf const*, folly::Optional) const’中:
(.text+0x1138):对‘lzma_end’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::Codec::doGetUncompressedLength(folly::IOBuf const*, folly::Optional) const’中:
(.text+0x1848):对‘lzma_end’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::Codec::doGetUncompressedLength(folly::IOBuf const*, folly::Optional) const’中:
(.text+0x1878):对‘lzma_end’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::hasStreamCodec(folly::io::CodecType)’中:
(.text+0x55ae):对‘lzma_code’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::hasStreamCodec(folly::io::CodecType)’中:
(.text+0x562a):对‘lzma_code’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::hasStreamCodec(folly::io::CodecType)’中:
(.text+0x5720):对‘lzma_auto_decoder’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::hasStreamCodec(folly::io::CodecType)’中:
(.text+0x5d87):对‘lzma_easy_encoder’未定义的引用
/home/syy/kg/nebula_test/nebula/build/third-party/install/lib/libfolly.a(Compression.cpp.o):在函数‘folly::io::hasStreamCodec(folly::io::CodecType)’中:
(.text+0x5ebd):对‘lzma_code’未定义的引用
collect2: 错误:ld 返回 1
make[2]: *** [bin/simple_kv_verify] 错误 1
make[1]: *** [src/tools/simple-kv-verify/CMakeFiles/simple_kv_verify.dir/all] 错误 2
make: *** [all] 错误 2
A clear and concise description of what the bug is.
Your Environments (must be provided)
uname -a
Linux master 5.10.10-1.el7.elrepo.x86_64 #1 SMP Sat Jan 23 09:49:22 EST 2021 x86_64 x86_64 x86_64 GNU/Linux
g++ --version
orclang++ --version
g++ (GCC) 7.3.0
lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 16
On-line CPU(s) list: 0-15
Thread(s) per core: 2
Core(s) per socket: 8
a3ffc7d8
)How To Reproduce(must be provided)
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Provide logs and configs, or any other context to trace the problem.
The text was updated successfully, but these errors were encountered: