Skip to content
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

Errors about Protobuf While Compiling XRT #8679

Open
Tkomch opened this issue Jan 2, 2025 · 0 comments
Open

Errors about Protobuf While Compiling XRT #8679

Tkomch opened this issue Jan 2, 2025 · 0 comments

Comments

@Tkomch
Copy link

Tkomch commented Jan 2, 2025

I have some errors related to the Protobuf library while compiling the XRT. Below is a snippet of the output:

/usr/bin/ld: ../common_em/libcommon_em.a(rpc_messages.pb.cc.o):(.data.rel+0x3b20): undefined reference to google::protobuf::internal::TcParser::FastF64S1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long)' /usr/bin/ld: ../common_em/libcommon_em.a(rpc_messages.pb.cc.o):(.data.rel+0x3b88): undefined reference to google::protobuf::internal::TcParser::GenericFallback(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long)' /usr/bin/ld: ../common_em/libcommon_em.a(rpc_messages.pb.cc.o):(.data.rel+0x3b90): undefined reference to google::protobuf::internal::TcParser::FastF32S1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long)' /usr/bin/ld: ../common_em/libcommon_em.a(rpc_messages.pb.cc.o):(.data.rel+0x3ba0): undefined reference to google::protobuf::internal::TcParser::FastF64S1(google::protobuf::MessageLite*, char const*, google::protobuf::internal::ParseContext*, google::protobuf::internal::TcFieldData, google::protobuf::internal::TcParseTableBase const*, unsigned long)' collect2: error: ld returned 1 exit status make[2]: *** [runtime_src/core/pcie/emulation/sw_emu/CMakeFiles/xrt_swemu.dir/build.make:100:runtime_src/core/pcie/emulation/sw_emu/libxrt_swemu.so.2.19.0] 错误 1 make[1]: *** [CMakeFiles/Makefile2:2388:runtime_src/core/pcie/emulation/sw_emu/CMakeFiles/xrt_swemu.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... [ 57%] Building CXX object runtime_src/

OS: Linux Mint 22
Kernel version: 6.12.2-061202-generic
Protobuf Version: 3.21.12

if reason of the problem is protobuf version, which version of protobuf should i use?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant