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

Protobuf error when make -j build_franka=1 #28

Open
Charlie0257 opened this issue Sep 14, 2024 · 0 comments
Open

Protobuf error when make -j build_franka=1 #28

Charlie0257 opened this issue Sep 14, 2024 · 0 comments

Comments

@Charlie0257
Copy link

@zhuyifengzju Thanks for your great work!

When I try the command make -j build_franka=1 on NUC, the error is following——

/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaGripperStateMessage_Duration::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const':
franka_robot_state.pb.cc:(.text+0x88f): undefined reference to `google::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage_Duration::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const':
franka_robot_state.pb.cc:(.text+0x9df): undefined reference to `google::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaGripperStateMessage::ByteSizeLong() const':
franka_robot_state.pb.cc:(.text+0xb6d): undefined reference to `google::protobuf::internal::ComputeUnknownFieldsSize(google::protobuf::internal::InternalMetadata const&, unsigned long, google::protobuf::internal::CachedSize*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage::ByteSizeLong() const':
franka_robot_state.pb.cc:(.text+0x1d57): undefined reference to `google::protobuf::internal::ComputeUnknownFieldsSize(google::protobuf::internal::InternalMetadata const&, unsigned long, google::protobuf::internal::CachedSize*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaGripperStateMessage::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const':
franka_robot_state.pb.cc:(.text+0x1f96): undefined reference to `google::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage_Errors::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const':
franka_robot_state.pb.cc:(.text+0x267b): undefined reference to `google::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `FrankaRobotStateMessage::_InternalSerialize(unsigned char*, google::protobuf::io::EpsCopyOutputStream*) const':
franka_robot_state.pb.cc:(.text+0x4398): undefined reference to `google::protobuf::internal::WireFormat::InternalSerializeUnknownFieldsToArray(google::protobuf::UnknownFieldSet const&, unsigned char*, google::protobuf::io::EpsCopyOutputStream*)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `char const* google::protobuf::internal::ParseContext::ParseMessage<FrankaRobotStateMessage_Errors>(FrankaRobotStateMessage_Errors*, char const*)':
franka_robot_state.pb.cc:(.text._ZN6google8protobuf8internal12ParseContext12ParseMessageI30FrankaRobotStateMessage_ErrorsEEPKcPT_S6_[_ZN6google8protobuf8internal12ParseContext12ParseMessageI30FrankaRobotStateMessage_ErrorsEEPKcPT_S6_]+0x95): undefined reference to `google::protobuf::internal::ReadSizeFallback(char const*, unsigned int)'
/usr/bin/ld: libshared_protobuf.a(franka_robot_state.pb.cc.o): in function `_GLOBAL__sub_I__FrankaGripperStateMessage_Duration_default_instance_':
franka_robot_state.pb.cc:(.text.startup+0x3a): undefined reference to `google::protobuf::internal::AddDescriptors(google::protobuf::internal::DescriptorTable const*)'
collect2: error: ld returned 1 exit status
make[3]: *** [CMakeFiles/franka-interface.dir/build.make:93: franka-interface] Error 1
make[2]: *** [CMakeFiles/Makefile2:495: CMakeFiles/franka-interface.dir/all] Error 2
make[1]: *** [Makefile:152: all] Error 2
make: *** [Makefile:42: build] Error 2

The whole print info is included in the attached file!
deoxys_error.txt

Thanks for any suggestions!:)
Best,
Charlie

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